making every nice and shiny
This commit is contained in:
parent
9d969c94d3
commit
56ccca6bc0
|
@ -14,4 +14,9 @@
|
|||
|
||||
.status-icon-unknown {
|
||||
background-image: url("/img/yellow.png");
|
||||
}
|
||||
}
|
||||
|
||||
.members {
|
||||
margin-top: 8pt;
|
||||
/*padding: 0;*/
|
||||
}
|
||||
|
|
|
@ -57,7 +57,7 @@ angular.module('roomstateapp.services', []).
|
|||
|
||||
angular.module('roomstateapp.statusfilter', []).filter('statustostring', function() {
|
||||
return function(input) {
|
||||
return input == true ? 'geöffnet' : input == false ? 'geschlossen' : 'unbekannt';
|
||||
return input == true ? 'geöffnet' : input == false ? 'geschlossen' : 'unbekannt';
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
@ -70,9 +70,14 @@ function work() {
|
|||
snmpMac.poll();
|
||||
ippoll.pollCount();
|
||||
ippoll.pollState();
|
||||
// simpleanswer.names.length = 0;
|
||||
// for(var i=0;i<4+Math.random() * 100;i++) {
|
||||
// simpleanswer.names.push("nickname"+i);
|
||||
// }
|
||||
// io.sockets.emit('sdata', { "data": simpleanswer });
|
||||
}
|
||||
|
||||
setInterval(work, 20000);
|
||||
setInterval(work, 10000);
|
||||
work();
|
||||
|
||||
app.set('snmpMac', snmpMac); //TODO: wie kann man das schoener machen? (Modul in die Routes reintun)
|
||||
|
|
|
@ -22,11 +22,12 @@ block content
|
|||
|
||||
|
||||
.large-80.small-100
|
||||
p Personen Anwensend:
|
||||
ul
|
||||
li(ng-repeat="name in simple.names")
|
||||
dl
|
||||
dt Personen Anwesend:
|
||||
dd
|
||||
span(ng-repeat="name in simple.names")
|
||||
{{name}}
|
||||
|
||||
|
||||
|
||||
span(ng-show=" ! $last ")
|
||||
| , <!-- -->
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ html(ng-app="roomstateapp")
|
|||
header
|
||||
h1 chaostreff status
|
||||
|
||||
.main-content
|
||||
block content
|
||||
.main-content
|
||||
block content
|
||||
|
||||
|
||||
footer
|
||||
|
|
Loading…
Reference in New Issue