forked from bofh/fetsite
added header image to infoscreen
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<% i=1 %>
|
||||
<% @neuigkeiten.each do |n| %>
|
||||
|
||||
<div class="step contentbox" id="step-<%=i%>" data-x="<%= i *2000 %>" data-y="<%= Random.rand(0..5)*200 %>" style=" height:600px; width:1220px; padding-left:10px;<%#; display:block%>" data-duration="10000"><% @toolbar_elements=[];@questions=[] %>
|
||||
<div class="step contentbox" id="step-<%=i%>" data-x="<%= i *2000 %>" data-y="<%= Random.rand(0..5)*200 %>" style=" height:640px; width:1220px; padding-left:10px;<%#; display:block%>" data-duration="10000"><% @toolbar_elements=[];@questions=[] %>
|
||||
<div class="media" style="width: 800px; height:380px;" >
|
||||
<div class="pull-left" href="#" style="max-width:200px;">
|
||||
<% unless n.picture_robust.big_thumb.to_s.empty? %>
|
||||
@@ -64,6 +64,19 @@
|
||||
raw("CLOSED")
|
||||
end
|
||||
%>
|
||||
|
||||
<script>
|
||||
var dayOfWeek = (new Date).getDay();
|
||||
var hours = ["Closed", // Sunday
|
||||
"7 AM to 5 PM", // Monday
|
||||
"8 AM to 5 PM", // Tuesday
|
||||
"9 AM to 3 PM", // Wednesday
|
||||
"8 AM to 5 PM", // Thursday
|
||||
"9 AM to 2 PM", // Friday
|
||||
"10 AM to 2 PM"]; // Saturday
|
||||
var todaysHours = hours[dayOfWeek];
|
||||
todaysHours.innerHTML;
|
||||
</script>
|
||||
<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>
|
||||
Freitag 9-12
|
||||
|
||||
Reference in New Issue
Block a user