mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-20 05:04:51 -05:00
Fixed remaining lint errors
This commit is contained in:
parent
f78d01d770
commit
11ef22edec
@ -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,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<transition name="slide-fade" appear>
|
<transition name="slide-fade" appear>
|
||||||
<div v-if="maintenance">
|
<div v-if="maintenance">
|
||||||
<h1> {{ maintenance.title }}</h1>
|
<h1>{{ maintenance.title }}</h1>
|
||||||
<p class="url">
|
<p class="url">
|
||||||
<span>{{ $t("Start") }}: {{ $root.datetimeMaintenance(maintenance.start_date) }}</span>
|
<span>{{ $t("Start") }}: {{ $root.datetimeMaintenance(maintenance.start_date) }}</span>
|
||||||
<br>
|
<br>
|
||||||
@ -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 New Issue
Block a user