forked from bofh/fetsite
added header image to infoscreen
This commit is contained in:
@@ -21,7 +21,7 @@ class HomeController < ApplicationController
|
|||||||
|
|
||||||
end
|
end
|
||||||
def infoscreen
|
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)
|
@neuigkeiten = Neuigkeit.accessible_by(current_ability, :show).where(flag_infoscreen: true)
|
||||||
render layout: false
|
render layout: false
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -9,13 +9,13 @@
|
|||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<img alt="header_animation" scr="/assets/infoscreen_header_provisorisch.png" > <%#header picture/animation %>
|
||||||
<div id ="jmpress">
|
<!--<div id ="jmpress">
|
||||||
<% 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="width:1160px; height:650px; <%#padding: 50px;%> padding-top: 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: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="media" style="width: 660px; height:340px; transform: scale(1.5) translate(120px,50px)" >
|
||||||
|
|
||||||
<div class="pull-left" href="#" style="max-width:200px;">
|
<div class="pull-left" href="#" style="max-width:200px;">
|
||||||
@@ -84,5 +84,5 @@ setTimeout(function(){
|
|||||||
}, 100000);
|
}, 100000);
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script> -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user