mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-19 19:47:56 -04:00
Added the ability to choose on which status pages maintenance information should be displayed
This commit is contained in:
parent
b4ffcc5555
commit
31b90d12a4
8 changed files with 216 additions and 29 deletions
|
@ -247,7 +247,7 @@
|
|||
</div>
|
||||
|
||||
<div v-else-if="isMaintenance">
|
||||
<font-awesome-icon icon="wrench" class="statusMaintenance" />
|
||||
<font-awesome-icon icon="wrench" class="status-maintenance" />
|
||||
{{ $t("Maintenance") }}
|
||||
</div>
|
||||
|
||||
|
@ -595,7 +595,7 @@ export default {
|
|||
}
|
||||
|
||||
this.incident = res.data.incident;
|
||||
this.maintenance = res.data.maintenance;
|
||||
this.maintenance = res.data.maintenance || [];
|
||||
this.$root.publicGroupList = res.data.publicGroupList;
|
||||
});
|
||||
|
||||
|
@ -956,7 +956,7 @@ footer {
|
|||
background-color: #0d1117;
|
||||
}
|
||||
|
||||
.statusMaintenance {
|
||||
.status-maintenance {
|
||||
color: $maintenance;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue