added header image to infoscreen

This commit is contained in:
peter
2017-05-31 23:39:50 +02:00
parent 926431c0a2
commit 29d5c8dac7

View File

@@ -58,11 +58,12 @@
open_time = Time.parse "09:00 am" open_time = Time.parse "09:00 am"
current_time = Time.now current_time = Time.now
if (current_time > open_time) && (current_time < close_time) if (current_time > open_time) && (current_time < close_time)
raw("<div id='footer' style='background: green; height:100px; width:1280px; bottom:1px; position:absolute'>") raw("OPEN")
else else
raw("<div id='footer' style='background: red; height:100px; width:1280px; bottom:1px; position:absolute'>") raw("CLOSED")
end end
%> %>
<div id='footer' style='background: green; height:100px; width:1280px; bottom:1px; position:absolute'>
Servicezeiten:9-15 blabla, service@fet blabla, content von lacki ;) <br> Servicezeiten:9-15 blabla, service@fet blabla, content von lacki ;) <br>
Freitag 9-12 Freitag 9-12
</div> </div>