projects
/
svn42.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
raspberry kiosk beauty of css (hust)
[svn42.git]
/
raspberry-kiosk
/
kiosk.js
diff --git
a/raspberry-kiosk/kiosk.js
b/raspberry-kiosk/kiosk.js
index
4077087
..
90addfb
100644
(file)
--- a/
raspberry-kiosk/kiosk.js
+++ b/
raspberry-kiosk/kiosk.js
@@
-23,7
+23,7
@@
function writeGooglePlusEvents(data, elem)
}
}
ghtml += '<div class="gpluspost">'
}
}
ghtml += '<div class="gpluspost">'
- ghtml += '<img class="gplusactor" src="'+item.actor.image.url+'"/><p class="gplustimestamp">'+item.updated+'</p>';
+ ghtml += '<img class="gplusactor" src="'+item.actor.image.url+'"/><p class="gplustimestamp">'+item.updated.substring(0,16).replace("T"," ")+'</p>';
ghtml += '<p class="gplustxt">'+notetxt+'</p>';
if (noteimg)
{
ghtml += '<p class="gplustxt">'+notetxt+'</p>';
if (noteimg)
{
@@
-106,7
+106,7
@@
function writeAnwesenheitStatus(data)
{
$.each( data.sensors[s], function(stype, std){
$.each( std, function(swhere, svalue){
{
$.each( data.sensors[s], function(stype, std){
$.each( std, function(swhere, svalue){
- sensorstd+='<td style="background-color:white; height:42px; text-align:center; vertical-align:middle; display:table-cell;"><b>'+stype+'</b><br/>'+swhere+': '+svalue+'</td>';
+ sensorstd+='<td class="sensorstatus"><b>'+stype+'</b><br/>'+swhere+': '+svalue+'</td>';
});
});
}
});
});
}