mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-30 11:10:40 +00:00
Fixed remaining lint errors
This commit is contained in:
parent
f78d01d770
commit
11ef22edec
4 changed files with 4 additions and 7 deletions
|
@ -15,7 +15,6 @@ export default {
|
||||||
"Pick Affected Monitors...": "Pick Affected Monitors...",
|
"Pick Affected Monitors...": "Pick Affected Monitors...",
|
||||||
"Start of maintenance": "Start of maintenance",
|
"Start of maintenance": "Start of maintenance",
|
||||||
"Expected end of maintenance": "Expected end of maintenance",
|
"Expected end of maintenance": "Expected end of maintenance",
|
||||||
Start: "Start",
|
|
||||||
End: "End",
|
End: "End",
|
||||||
affectedMonitorsDescription: "Select monitors that are affected by current maintenance",
|
affectedMonitorsDescription: "Select monitors that are affected by current maintenance",
|
||||||
atLeastOneMonitor: "Select at least one affected monitor",
|
atLeastOneMonitor: "Select at least one affected monitor",
|
||||||
|
|
|
@ -87,7 +87,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import CopyableInput from "../components/CopyableInput.vue";
|
|
||||||
|
|
||||||
import { useToast } from "vue-toastification";
|
import { useToast } from "vue-toastification";
|
||||||
import VueMultiselect from "vue-multiselect";
|
import VueMultiselect from "vue-multiselect";
|
||||||
|
@ -96,7 +95,6 @@ const toast = useToast();
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
CopyableInput,
|
|
||||||
VueMultiselect,
|
VueMultiselect,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -18,11 +18,11 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label for="description" class="form-label" style="margin-top: 20px">{{ $t("Description") }}</label>
|
<label for="description" class="form-label" style="margin-top: 20px">{{ $t("Description") }}</label>
|
||||||
<textarea id="description" class="form-control" disabled>{{ maintenance.description }}</textarea>
|
<textarea id="description" v-model="maintenance.description" class="form-control" disabled></textarea>
|
||||||
|
|
||||||
<label for="affected_monitors" class="form-label" style="margin-top: 20px">{{ $t("Affected Monitors") }}</label>
|
<label for="affected_monitors" class="form-label" style="margin-top: 20px">{{ $t("Affected Monitors") }}</label>
|
||||||
<br>
|
<br>
|
||||||
<button v-for="monitor in affectedMonitors" class="btn btn-monitor" style="margin: 5px; cursor: auto; color: white; font-weight: bold">
|
<button v-for="monitor in affectedMonitors" :key="monitor.id" class="btn btn-monitor" style="margin: 5px; cursor: auto; color: white; font-weight: bold">
|
||||||
{{ monitor }}
|
{{ monitor }}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|
|
@ -198,7 +198,7 @@
|
||||||
<!-- Maintenance -->
|
<!-- Maintenance -->
|
||||||
<template v-if="maintenance.length !== 0">
|
<template v-if="maintenance.length !== 0">
|
||||||
<div
|
<div
|
||||||
v-for="maintenanceItem in maintenance" class="shadow-box alert mb-4 p-4 maintenance" role="alert"
|
v-for="maintenanceItem in maintenance" :key="maintenanceItem.id" class="shadow-box alert mb-4 p-4 maintenance" role="alert"
|
||||||
:class="maintenanceClass"
|
:class="maintenanceClass"
|
||||||
>
|
>
|
||||||
<h4 class="alert-heading" v-text="maintenanceItem.title" />
|
<h4 class="alert-heading" v-text="maintenanceItem.title" />
|
||||||
|
|
Loading…
Reference in a new issue