change maintenance mode to green and modify the icon in the agent table when agent is in maintenance mode

This commit is contained in:
sadnub
2021-04-15 19:15:02 -04:00
parent 369cf17eb2
commit 6b95fc6f1d
3 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
<q-btn class="q-mr-sm" dense flat push icon="refresh" @click="refreshSummary" />
<span>
<b>{{ summary.hostname }}</b>
<span v-if="summary.maintenance_mode"> &bull; <q-badge color="warning"> Maintenance Mode </q-badge> </span>
<span v-if="summary.maintenance_mode"> &bull; <q-badge color="green"> Maintenance Mode </q-badge> </span>
&bull; {{ summary.operating_system }} &bull; Agent v{{ summary.version }}
</span>
<hr />