improvements and fixes to windows updates

This commit is contained in:
wh1te909
2020-07-15 05:34:02 +00:00
parent 136fc36205
commit 8a842fe4aa
9 changed files with 151 additions and 71 deletions

View File

@@ -36,7 +36,7 @@
</template>
<template v-slot:header-cell-patchespending="props">
<q-th auto-width :props="props">
<q-icon name="system_update_alt" size="1.5em">
<q-icon name="verified_user" size="1.5em">
<q-tooltip>Patches Pending</q-tooltip>
</q-icon>
</q-th>
@@ -54,6 +54,13 @@
</q-icon>
</q-th>
</template>
<template v-slot:header-cell-needsreboot="props">
<q-th auto-width :props="props">
<q-icon name="fas fa-power-off" size="1.2em">
<q-tooltip>Reboot</q-tooltip>
</q-icon>
</q-th>
</template>
<!-- body slots -->
<template slot="body" slot-scope="props" :props="props">
<q-tr
@@ -250,7 +257,7 @@
<q-td key="hostname" :props="props">{{ props.row.hostname }}</q-td>
<q-td key="description" :props="props">{{ props.row.description }}</q-td>
<q-td :props="props" key="patchespending">
<q-icon v-if="props.row.patches_pending" name="fas fa-power-off" color="primary">
<q-icon v-if="props.row.patches_pending" name="far fa-clock" color="primary">
<q-tooltip>Patches Pending</q-tooltip>
</q-icon>
</q-td>
@@ -285,6 +292,12 @@
<q-tooltip>Agent online</q-tooltip>
</q-icon>
</q-td>
<!-- needs reboot -->
<q-td key="needsreboot">
<q-icon v-if="props.row.needs_reboot" name="fas fa-power-off" color="primary">
<q-tooltip>Reboot required</q-tooltip>
</q-icon>
</q-td>
<q-td key="lastseen" :props="props">{{ props.row.last_seen }}</q-td>
<q-td key="boottime" :props="props">{{ bootTime(props.row.boot_time) }}</q-td>
</q-tr>