diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index b1193e21a..3eccb7ac5 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -289,580 +289,580 @@ - - - - - -
- - -
- - - -
-
- - -
-
- - - - - - - - - - - - - - - - -
- - -
- -
- - -
- {{ $t("retriesDescription") }} +
-
- - -
+
+
- -
- - -
- -
- - -
- -

{{ $t("Advanced") }}

- -
- - -
-
-
- -
- - -
- -
- - -
- {{ $t("upsideDownModeDescription") }} -
-
- -
- - -
- {{ $t("gamedigGuessPortDescription") }} -
-
- - -
- - -
- - - - - -
- - -
- - -
- - -
- -
- -
-
- -
-
- - -

{{ $t("Notifications") }}

-

- {{ $t("Not available, please setup.") }} -

- -
- - - - - {{ $t("Default") }} -
- - - - -
-

{{ $t("Proxy") }}

-

+ +

{{ $t("Notifications") }}

+

{{ $t("Not available, please setup.") }}

-
- - -
+
+ -
- - -
- -
- - - - - - - - @@ -903,7 +903,7 @@ const monitorDefaults = { packetSize: 56, expiryNotification: false, maxredirects: 10, - accepted_statuscodes: ["200-299"], + accepted_statuscodes: [ "200-299" ], dns_resolve_type: "A", dns_resolve_server: "1.1.1.1", docker_container: "", @@ -1030,15 +1030,15 @@ export default { }, protoServicePlaceholder() { - return this.$t("Example:", ["Health"]); + return this.$t("Example:", [ "Health" ]); }, protoMethodPlaceholder() { - return this.$t("Example:", ["check"]); + return this.$t("Example:", [ "check" ]); }, protoBufDataPlaceholder() { - return this.$t("Example:", [` + return this.$t("Example:", [ ` syntax = "proto3"; package grpc.health.v1; @@ -1065,7 +1065,7 @@ message HealthCheckResponse { }, bodyPlaceholder() { if (this.monitor && this.monitor.httpBodyEncoding && this.monitor.httpBodyEncoding === "xml") { - return this.$t("Example:", [` + return this.$t("Example:", [ ` @@ -1074,16 +1074,16 @@ message HealthCheckResponse { ` ]); } if (this.monitor && this.monitor.httpBodyEncoding === "form") { - return this.$t("Example:", ["key1=value1&key2=value2"]); + return this.$t("Example:", [ "key1=value1&key2=value2" ]); } - return this.$t("Example:", [` + return this.$t("Example:", [ ` { "key": "value" }` ]); }, headersPlaceholder() { - return this.$t("Example:", [` + return this.$t("Example:", [ ` { "HeaderName": "HeaderValue" }` ]); @@ -1383,7 +1383,7 @@ message HealthCheckResponse { this.monitor.pathName = undefined; this.monitor.screenshot = undefined; - this.monitor.name = this.$t("cloneOf", [this.monitor.name]); + this.monitor.name = this.$t("cloneOf", [ this.monitor.name ]); this.$refs.tagsManager.newTags = this.monitor.tags.map((monitorTag) => { return { id: monitorTag.tag_id, @@ -1470,7 +1470,7 @@ message HealthCheckResponse { this.monitor.body = JSON.stringify(JSON.parse(this.monitor.body), null, 4); } - const monitorTypesWithEncodingAllowed = ["http", "keyword", "json-query"]; + const monitorTypesWithEncodingAllowed = [ "http", "keyword", "json-query" ]; if (this.monitor.type && !monitorTypesWithEncodingAllowed.includes(this.monitor.type)) { this.monitor.httpBodyEncoding = null; } @@ -1619,4 +1619,4 @@ message HealthCheckResponse { textarea { min-height: 200px; } - \ No newline at end of file +