making every nice and shiny
This commit is contained in:
parent
9d969c94d3
commit
56ccca6bc0
|
@ -14,4 +14,9 @@
|
||||||
|
|
||||||
.status-icon-unknown {
|
.status-icon-unknown {
|
||||||
background-image: url("/img/yellow.png");
|
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() {
|
angular.module('roomstateapp.statusfilter', []).filter('statustostring', function() {
|
||||||
return function(input) {
|
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();
|
snmpMac.poll();
|
||||||
ippoll.pollCount();
|
ippoll.pollCount();
|
||||||
ippoll.pollState();
|
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();
|
work();
|
||||||
|
|
||||||
app.set('snmpMac', snmpMac); //TODO: wie kann man das schoener machen? (Modul in die Routes reintun)
|
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
|
.large-80.small-100
|
||||||
p Personen Anwensend:
|
dl
|
||||||
ul
|
dt Personen Anwesend:
|
||||||
li(ng-repeat="name in simple.names")
|
dd
|
||||||
|
span(ng-repeat="name in simple.names")
|
||||||
{{name}}
|
{{name}}
|
||||||
|
|
||||||
|
span(ng-show=" ! $last ")
|
||||||
|
| , <!-- -->
|
||||||
|
|
||||||
|
|
|
@ -17,8 +17,8 @@ html(ng-app="roomstateapp")
|
||||||
header
|
header
|
||||||
h1 chaostreff status
|
h1 chaostreff status
|
||||||
|
|
||||||
.main-content
|
.main-content
|
||||||
block content
|
block content
|
||||||
|
|
||||||
|
|
||||||
footer
|
footer
|
||||||
|
|
Loading…
Reference in New Issue