raumstatus/node/views/index.jade

45 lines
1.1 KiB
Plaintext
Raw Normal View History

2013-10-08 20:13:20 +00:00
extend layout
block content
2013-10-14 19:26:54 +00:00
2013-10-20 22:04:58 +00:00
.ink-grid(ng-controller='StatusCtrl')
2013-10-14 19:26:54 +00:00
.column-group.gutters
.large-20.small-100
2013-10-20 22:04:58 +00:00
div(class="status-icon status-icon-{{simple.state}}")
2013-10-14 19:26:54 +00:00
dl
dt aktueller Status:
2013-10-21 11:39:52 +00:00
dd {{simple.state | statustostring}}
2013-10-14 19:26:54 +00:00
dt letzte Abfrage:
2013-10-21 11:39:52 +00:00
dd {{simple.lastchange | date:'dd.MM.yyyy HH:mm:ss'}}
dt aktive Geräte:
dd {{simple.count}}
2013-10-14 19:26:54 +00:00
.large-80.small-100
h2 Anzahl Geräte:
#graph
h2 Personen anwesend:
span(ng-repeat="name in simple.names")
{{name}}
2013-10-14 19:26:54 +00:00
span(ng-show=" ! $last ")
| , <!-- -->
2013-10-14 19:26:54 +00:00
block scripts
script(type="text/javascript",src="/js/vendor/d3.min.js")
script(type="text/javascript",src="/js/vendor/d3.layout.min.js")
script(type="text/javascript",src="/js/vendor/rickshaw.min.js")
script(type="text/javascript",src="/js/vendor/moment.min.js")
script(type="text/javascript",src="/js/graph.js")