mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-11 08:04:17 -08: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...",
|
||||
"Start of maintenance": "Start of maintenance",
|
||||
"Expected end of maintenance": "Expected end of maintenance",
|
||||
Start: "Start",
|
||||
End: "End",
|
||||
affectedMonitorsDescription: "Select monitors that are affected by current maintenance",
|
||||
atLeastOneMonitor: "Select at least one affected monitor",
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import CopyableInput from "../components/CopyableInput.vue";
|
||||
|
||||
import { useToast } from "vue-toastification";
|
||||
import VueMultiselect from "vue-multiselect";
|
||||
|
@ -96,7 +95,6 @@ const toast = useToast();
|
|||
|
||||
export default {
|
||||
components: {
|
||||
CopyableInput,
|
||||
VueMultiselect,
|
||||
},
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<transition name="slide-fade" appear>
|
||||
<div v-if="maintenance">
|
||||
<h1> {{ maintenance.title }}</h1>
|
||||
<h1>{{ maintenance.title }}</h1>
|
||||
<p class="url">
|
||||
<span>{{ $t("Start") }}: {{ $root.datetimeMaintenance(maintenance.start_date) }}</span>
|
||||
<br>
|
||||
|
@ -18,11 +18,11 @@
|
|||
</div>
|
||||
|
||||
<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>
|
||||
<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 }}
|
||||
</button>
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@
|
|||
<!-- Maintenance -->
|
||||
<template v-if="maintenance.length !== 0">
|
||||
<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"
|
||||
>
|
||||
<h4 class="alert-heading" v-text="maintenanceItem.title" />
|
||||
|
|
Loading…
Reference in a new issue