raumstatus/node/views/index.jade

34 lines
842 B
Plaintext

extend layout
block content
.ink-grid(ng-controller='StatusCtrl')
.column-group.gutters
.large-20.small-100
div(class="status-icon status-icon-{{simple.state}}")
dl
dt aktueller Status:
dd {{simple.state | statustostring}}
dt letzte Abfrage:
dd {{simple.lastchange | date:'dd.MM.yyyy HH:mm:ss'}}
dt aktive Geräte:
dd {{simple.count}}
.large-80.small-100
dl
dt Personen Anwesend:
dd
span(ng-repeat="name in simple.names")
{{name}}
span(ng-show=" ! $last ")
| , <!-- -->