added header image to infoscreen

This commit is contained in:
peter
2017-05-31 21:59:47 +02:00
parent 7d008cb599
commit 75e5b8e267
2 changed files with 5 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ class HomeController < ApplicationController
end
def infoscreen
#authorize! :infoscreen, User #disabled for testing, pet
#authorize! :infoscreen, User #disabled for testing, pet 31.5.17
@neuigkeiten = Neuigkeit.accessible_by(current_ability, :show).where(flag_infoscreen: true)
render layout: false
end

View File

@@ -9,13 +9,13 @@
</head>
<body>
<div id ="jmpress">
<img alt="header_animation" scr="/assets/infoscreen_header_provisorisch.png" > <%#header picture/animation %>
<!--<div id ="jmpress">
<% i=1 %>
<% @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;%> padding-top: 50px; display:block" data-duration="10000"><% @toolbar_elements=[];@questions=[] %>
<img alt="header_animation" scr="/assets/infoscreen_header_provisorisch.png" > <%#header picture/animation %>
<div class="media" style="width: 660px; height:340px; transform: scale(1.5) translate(120px,50px)" >
<div class="pull-left" href="#" style="max-width:200px;">
@@ -84,5 +84,5 @@ setTimeout(function(){
}, 100000);
});
</script>
</script> -->
</body>