added header image to infoscreen
This commit is contained in:
@@ -15,45 +15,38 @@
|
|||||||
<% 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=" height:500px; width:860px; padding-top:210px; padding-left:10px; padding-right:10px<%#; display:block%>" data-duration="1000000"><% @toolbar_elements=[];@questions=[] %>
|
<div class="step contentbox" id="step-<%=i%>" style=" height:500px; width:860px; padding-top:210px; padding-left:10px; padding-right:10px<%#; display:block%>" data-duration="1000000"><% @toolbar_elements=[];@questions=[] %>
|
||||||
|
|
||||||
<div class="media" style="width: 960px; height:340px; transform: scale(1.5) translate(120px,50px)" >
|
<div class="media" style="width: 960px; height:340px; transform: scale(1.5) translate(120px,50px)" >
|
||||||
|
<div class="pull-left" href="#" style="max-width:200px;">
|
||||||
|
<% unless n.picture_robust.big_thumb.to_s.empty? %>
|
||||||
|
<p>
|
||||||
|
<br><%= link_to image_tag(n.picture_robust.big_thumb),n.picture_robust.try(:url) %></p>
|
||||||
|
<% end %>
|
||||||
|
<h3>
|
||||||
|
<% if n.has_calentries? %>
|
||||||
|
<div href="#">
|
||||||
|
<%= fa_icon("calendar 2x") %>
|
||||||
|
<%= n.relevant_calentry.text %>
|
||||||
|
</div>
|
||||||
|
<% elsif n.has_meeting? %>
|
||||||
|
<div href="#">
|
||||||
|
<%= fa_icon("calendar 2x") %>
|
||||||
|
<%= n.meeting.calentry.text unless n.meeting.calentry.nil? %>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="pull-left" href="#" style="max-width:200px;">
|
<% end %>
|
||||||
<% unless n.picture_robust.big_thumb.to_s.empty? %>
|
</h3>
|
||||||
<p>
|
|
||||||
<br><%= link_to image_tag(n.picture_robust.big_thumb),n.picture_robust.try(:url) %></p>
|
|
||||||
<% end %>
|
|
||||||
<h3>
|
|
||||||
<% if n.has_calentries? %>
|
|
||||||
<div href="#">
|
|
||||||
<%= fa_icon("calendar 2x") %>
|
|
||||||
<%= n.relevant_calentry.text %>
|
|
||||||
</div>
|
|
||||||
<% elsif n.has_meeting? %>
|
|
||||||
<div href="#">
|
|
||||||
<%= fa_icon("calendar 2x") %>
|
|
||||||
<%= n.meeting.calentry.text unless n.meeting.calentry.nil? %>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% end %>
|
<div class="media-body">
|
||||||
</h3>
|
<h1 itemprop="name">
|
||||||
</div>
|
<%= raw(n.title) %> <%#= link_to fa_icon("edit"), edit_rubrik_neuigkeit_path(n.rubrik, n), remote: true if can? :edit, n %>
|
||||||
|
</h1>
|
||||||
<div class="media-body">
|
<div itemprop="articleBody" style="font-size:large">
|
||||||
<h1 itemprop="name">
|
<%= raw(n.text_infoscreen_words) %>
|
||||||
<%= raw(n.title) %> <%#= link_to fa_icon("edit"), edit_rubrik_neuigkeit_path(n.rubrik, n), remote: true if can? :edit, n %>
|
</div>
|
||||||
</h1>
|
</div>
|
||||||
<div itemprop="articleBody" style="font-size:large">
|
</div>
|
||||||
<%= raw(n.text_infoscreen_words) %>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<% i = i+1 %>
|
<% i = i+1 %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Reference in New Issue
Block a user