Updated Lackis infoscreen layout

This commit is contained in:
Pet
2018-04-12 22:45:00 +02:00
parent 6aecb4b4a8
commit 965db4dec0

View File

@@ -12,11 +12,11 @@
<body>
<%= content_tag(:iframe,'', width: "100%", height: "100%", name: "targetframe", allowTransparency:"true", scrolling:"no", frameborder:"0", src: "/iframe/infoscreenframe.html") %> <%#header picture/animation %>
<div id ="jmpress" style="padding-top: 00px">
<% 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="position:absolute; height:540px; width:1230px display: block; padding: 5px; border: lightgray solid 1px" data-duration="10000">
<div class="step contentbox" id="step-<%=i%>" data-x="<%= i *2000 %>" data-y="<%= Random.rand(0..5)*200 %>" style=" height:540px; width:1230px display: block; padding: 5px; border: lightgray solid 1px" data-duration="10000">
<div class="media" style="width:'95%'; height:480px;" >
<div class="pull-left" href="#" style="max-width:200px;">
<% unless n.picture_robust.big_thumb.to_s.empty? %>
@@ -52,7 +52,7 @@
<% i = i+1 %>
<% end %>
</div>
<script>
$(function () {