chore: enable formatting over the entire codebase in CI (#6655)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Frank Elsinga
2026-01-09 02:10:36 +01:00
committed by GitHub
co-authored by autofix-ci[bot]
parent 6658f2ce41
commit 0f61d7ee1b
422 changed files with 30897 additions and 27377 deletions
+71 -17
View File
@@ -25,33 +25,68 @@
<div class="mb-3">
<label for="proxy-host" class="form-label">{{ $t("Proxy Server") }}</label>
<div class="d-flex">
<input id="proxy-host" v-model="proxy.host" type="text" class="form-control" required :placeholder="$t('Server Address')">
<input v-model="proxy.port" type="number" class="form-control ms-2" style="width: 100px;" required min="1" max="65535" :placeholder="$t('Port')">
<input
id="proxy-host"
v-model="proxy.host"
type="text"
class="form-control"
required
:placeholder="$t('Server Address')"
/>
<input
v-model="proxy.port"
type="number"
class="form-control ms-2"
style="width: 100px"
required
min="1"
max="65535"
:placeholder="$t('Port')"
/>
</div>
</div>
<div class="mb-3">
<div class="form-check form-switch">
<input id="mark-auth" v-model="proxy.auth" class="form-check-input" type="checkbox">
<label for="mark-auth" class="form-check-label">{{ $t("Proxy server has authentication") }}</label>
<input id="mark-auth" v-model="proxy.auth" class="form-check-input" type="checkbox" />
<label for="mark-auth" class="form-check-label">
{{ $t("Proxy server has authentication") }}
</label>
</div>
</div>
<div v-if="proxy.auth" class="mb-3">
<label for="proxy-username" class="form-label">{{ $t("User") }}</label>
<input id="proxy-username" v-model="proxy.username" type="text" class="form-control" required>
<input
id="proxy-username"
v-model="proxy.username"
type="text"
class="form-control"
required
/>
</div>
<div v-if="proxy.auth" class="mb-3">
<label for="proxy-password" class="form-label">{{ $t("Password") }}</label>
<input id="proxy-password" v-model="proxy.password" type="password" class="form-control" required>
<input
id="proxy-password"
v-model="proxy.password"
type="password"
class="form-control"
required
/>
</div>
<div class="mb-3 mt-4">
<hr class="dropdown-divider mb-4">
<hr class="dropdown-divider mb-4" />
<div class="form-check form-switch">
<input id="mark-active" v-model="proxy.active" class="form-check-input" type="checkbox">
<input
id="mark-active"
v-model="proxy.active"
class="form-check-input"
type="checkbox"
/>
<label for="mark-active" class="form-check-label">{{ $t("enabled") }}</label>
</div>
<div class="form-text">
@@ -61,7 +96,12 @@
<br />
<div class="form-check form-switch">
<input id="mark-default" v-model="proxy.default" class="form-check-input" type="checkbox">
<input
id="mark-default"
v-model="proxy.default"
class="form-check-input"
type="checkbox"
/>
<label for="mark-default" class="form-check-label">{{ $t("setAsDefault") }}</label>
</div>
<div class="form-text">
@@ -71,14 +111,27 @@
<br />
<div class="form-check form-switch">
<input id="apply-existing" v-model="proxy.applyExisting" class="form-check-input" type="checkbox">
<label class="form-check-label" for="apply-existing">{{ $t("Apply on all existing monitors") }}</label>
<input
id="apply-existing"
v-model="proxy.applyExisting"
class="form-check-input"
type="checkbox"
/>
<label class="form-check-label" for="apply-existing">
{{ $t("Apply on all existing monitors") }}
</label>
</div>
</div>
</div>
<div class="modal-footer">
<button v-if="id" type="button" class="btn btn-danger" :disabled="processing" @click="deleteConfirm">
<button
v-if="id"
type="button"
class="btn btn-danger"
:disabled="processing"
@click="deleteConfirm"
>
{{ $t("Delete") }}
</button>
<button type="submit" class="btn btn-primary" :disabled="processing">
@@ -106,7 +159,7 @@ export default {
Confirm,
},
props: {},
emits: [ "added" ],
emits: ["added"],
data() {
return {
model: null,
@@ -122,7 +175,7 @@ export default {
active: false,
default: false,
applyExisting: false,
}
},
};
},
mounted() {
@@ -220,7 +273,7 @@ export default {
this.modal.hide();
// Emit added event, doesn't emit edit.
if (! this.id) {
if (!this.id) {
this.$emit("added", res.id);
}
}
@@ -255,7 +308,7 @@ export default {
console.warn("Modal hide failed:", e);
}
}
}
},
},
};
</script>
@@ -264,7 +317,8 @@ export default {
@import "../assets/vars.scss";
.dark {
.modal-dialog .form-text, .modal-dialog p {
.modal-dialog .form-text,
.modal-dialog p {
color: $dark-font-color;
}
}