AutoCommit Son Sep 13 00:03:01 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-09-13 00:03:01 +02:00
parent 92667b92e9
commit 97d5427f6d
2 changed files with 27 additions and 10 deletions

View File

@@ -16,6 +16,7 @@
*= require jquery.datetimepicker
*= require jquery.ui.dialog
*= require jquery.ui.autocomplete
*= require jquery.ui.progressbar
*= require jquery.ui.tabs
* require 'bootstrap'
* require 'neuigkeiten'

View File

@@ -13,7 +13,7 @@
<% 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:1024px; height:768px; padding: 50px; display:block" data-duration="1500"><% @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:1024px; height:500px; padding: 50px; display:block" data-duration="10000"><% @toolbar_elements=[];@questions=[] %>
<div class="media">
<% unless n.picture_robust.big_thumb.to_s.empty? %>
<div class="pull-left" href="#">
@@ -27,27 +27,43 @@
</h1>
<div itemprop="articleBody" style="font-size:large">
<%= raw(n.text) %>
</div>
</div>
</div>
<h1>
<% if n.has_calentries? %>
<div class="pull-right" href="#">
<div href="#">
<%= fa_icon("calendar 2x") %>
<%= n.relevant_calentry.text %>
</div>
<% elsif n.has_meeting? %>
<div href="#">
<%= fa_icon("calendar 2x") %>
<%= n.meeting.calentry.text unless n.meeting.calentry.nil? %>
</div>
<% end %>
</div>
</div>
</div>
</h1>
</div>
<% i = i+1 %>
<% end %>
<div class="ui-progressbar ui-widget ui-widget-content ui-corner-all">
<div id="my-progress-bar" class="ui-progressbar-value ui-widget-header ui-corner-left" style="width:0"></div>
</div>
</div>
<script>
$(function () {
$('#jmpress').jmpress();
$('#jmpress').jmpress({
duration: {
barSelector: '#my-progress-bar'
}
});
});
</script>
</body>