diff --git a/frontend/src/views/ShopfloorDashboard.vue b/frontend/src/views/ShopfloorDashboard.vue index 2527e33..d182cb9 100644 --- a/frontend/src/views/ShopfloorDashboard.vue +++ b/frontend/src/views/ShopfloorDashboard.vue @@ -37,8 +37,10 @@ v-for="n in group.items" :key="n.notificationid" class="banner-strip" + :class="{ pending: n.upcoming || n.resolved }" :style="{ backgroundColor: getTypeColor(n.typecolor) }" > + {{ stateLabel(n) }} {{ n.notification }} @@ -47,14 +49,15 @@
{{ group.typename }}
+ +
{{ group.typename }} ({{ group.items.length }}) {{ gridRangeLabel(group) }} @@ -105,7 +132,7 @@ v-for="rec in gridPageItems(group)" :key="`grid-${rec.notificationid}-${rec.employeesso}`" class="recert-tile" - :class="{ 'message-tile': !hasEmployee(rec) }" + :class="{ 'message-tile': !hasEmployee(rec), pending: rec.upcoming || rec.resolved }" :style="{ '--accent': getTypeColor(rec.typecolor) }" >