added header image to infoscreen

This commit is contained in:
peter
2017-05-31 22:29:42 +02:00
parent 5c5236062b
commit dc4f161ce4

View File

@@ -15,30 +15,29 @@
<% i=1 %> <% i=1 %>
<% @neuigkeiten.each do |n| %> <% @neuigkeiten.each do |n| %>
<div class="step contentbox" id="step-<%=i%>" data-x="<%= i *2000 %>" data-y="<%= Random.rand(0..5)*200 %>" data-rotate="<%= Random.rand(0..18)*10 %>" style="width:1160px; height:650px; <%#padding: 50px; display:block%> padding-top:250px" data-duration="10000"><% @toolbar_elements=[];@questions=[] %> <div class="step contentbox" id="step-<%=i%>" data-x="<%= i *2000 %>" data-y="<%= Random.rand(0..5)*200 %>" data-rotate="<%= Random.rand(0..18)*10 %>" style=" height:400px; padding-top:50px; padding-left:10px; padding-right:10px; display:block" data-duration="10000"><% @toolbar_elements=[];@questions=[] %>
<div class="media" style="width: 660px; height:340px; transform: scale(1.5) translate(120px,50px)" > <div class="media" style="width: 660px; height:340px; transform: scale(1.5) translate(120px,50px)" >
<div class="pull-left" href="#" style="max-width:200px;"> <div class="pull-left" href="#" style="max-width:200px;">
<% unless n.picture_robust.big_thumb.to_s.empty? %> <% unless n.picture_robust.big_thumb.to_s.empty? %>
<p> <p>
<br><%= link_to image_tag(n.picture_robust.big_thumb),n.picture_robust.try(:url) %> <br><%= link_to image_tag(n.picture_robust.big_thumb),n.picture_robust.try(:url) %></p>
</p> <% end %>
<% end %> <h3>
<h3> <% if n.has_calentries? %>
<% if n.has_calentries? %> <div href="#">
<div href="#"> <%= fa_icon("calendar 2x") %>
<%= fa_icon("calendar 2x") %> <%= n.relevant_calentry.text %>
<%= n.relevant_calentry.text %> </div>
</div> <% elsif n.has_meeting? %>
<% elsif n.has_meeting? %> <div href="#">
<div href="#"> <%= fa_icon("calendar 2x") %>
<%= fa_icon("calendar 2x") %> <%= n.meeting.calentry.text unless n.meeting.calentry.nil? %>
<%= n.meeting.calentry.text unless n.meeting.calentry.nil? %> </div>
</div>
<% end %> <% end %>
</h3> </h3>
</div> </div>
<div class="media-body"> <div class="media-body">