forked from bofh/fetsite
AutoCommit Mon Sep 14 13:50:05 CEST 2015
This commit is contained in:
@@ -14,25 +14,13 @@
|
|||||||
<% @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:1000px; height:500px; padding: 50px; 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 %>" data-rotate="<%= Random.rand(0..18)*10 %>" style="width:1000px; height:500px; padding: 50px; display:block" data-duration="10000"><% @toolbar_elements=[];@questions=[] %>
|
||||||
<div class="media" style="width: 500px; height:250px; transform: scale(1.5) translate(60px,0)" >
|
<div class="media" style="width: 660px; height:340px; transform: scale(1.5) translate(120px,50px)" >
|
||||||
<% unless n.picture_robust.big_thumb.to_s.empty? %>
|
|
||||||
<div class="pull-left" href="#">
|
<div class="pull-left" href="#">
|
||||||
|
<% 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><br><%= link_to image_tag(n.picture_robust.big_thumb),n.picture_robust.try(:url) %>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
<div class="media-body">
|
|
||||||
<h1 itemprop="name">
|
|
||||||
<%= raw(n.title) %> <%#= link_to fa_icon("edit"), edit_rubrik_neuigkeit_path(n.rubrik, n), remote: true if can? :edit, n %>
|
|
||||||
</h1>
|
|
||||||
<div itemprop="articleBody" style="font-size:large">
|
|
||||||
<%= raw(n.text) %>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<h1>
|
<h1>
|
||||||
<% if n.has_calentries? %>
|
<% if n.has_calentries? %>
|
||||||
<div href="#">
|
<div href="#">
|
||||||
@@ -47,6 +35,21 @@
|
|||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
</h1>
|
</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="media-body">
|
||||||
|
<h1 itemprop="name">
|
||||||
|
<%= raw(n.title) %> <%#= link_to fa_icon("edit"), edit_rubrik_neuigkeit_path(n.rubrik, n), remote: true if can? :edit, n %>
|
||||||
|
</h1>
|
||||||
|
<div itemprop="articleBody" style="font-size:large">
|
||||||
|
<%= raw(n.text) %>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<% i = i+1 %>
|
<% i = i+1 %>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
Rails.application.config.assets.precompile += ['blueimp-gallery-all.js']
|
Rails.application.config.assets.precompile += ['blueimp-gallery-all.js', 'jmpress.js']
|
||||||
|
|||||||
Reference in New Issue
Block a user