Updated Lackis infoscreen layout

This commit is contained in:
Pet
2018-04-12 22:35:10 +02:00
parent 6c91513ff8
commit 829bdb97be

View File

@@ -12,10 +12,11 @@
<body> <body>
<%= content_tag(:iframe,'', width: "100%", height: "100%", name: "targetframe", allowTransparency:"true", scrolling:"no", frameborder:"0", src: "/iframe/infoscreenframe.html") %> <%#header picture/animation %> <%= 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 %> <% i=1 %>
<% @neuigkeiten.each do |n| %> <% @neuigkeiten.each do |n| %>
<div 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; position: absolute; transform-style: preserve-3d; transform: translate(-50%, -50%) translate3d(2000px, 400px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scaleX(1) scaleY(1) scaleZ(1);" data-duration="10000"> <div 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; position: absolute;" data-duration="10000">
<div class="media" style="width:'95%'; height:480px;" > <div class="media" style="width:'95%'; height:480px;" >
<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? %>
@@ -51,6 +52,7 @@
<% i = i+1 %> <% i = i+1 %>
<% end %> <% end %>
</div>
<script> <script>
$(function () { $(function () {