Fix the homepage and proposal views for mobile

This commit is contained in:
Henne Vogelsang 2013-06-26 17:37:29 +02:00 committed by Henne Vogelsang
parent 2a927a42b0
commit 453133a26b
2 changed files with 7 additions and 4 deletions

View file

@ -5,8 +5,9 @@
</div>
<% @conferences.each do |conference| %>
<div class="row-fluid well" style="margin-top: 30px; background: #f5f5f5;">
<div class="row-fluid" style="margin-top: 30px;">
<div clas="span12">
<div class="well">
<div class="row">
<div class="span4 text-center">
<%= image_tag conference.logo(:original) %>
@ -44,7 +45,7 @@
</ul>
</div>
</div>
</div>
</div>
</div>
<% end %>

View file

@ -36,8 +36,7 @@
-else
%iframe{:width=>"560", :height=>"315", :frameborder=>"0", :allowfullscreen=>"true", :src=>"http://www.youtube.com/embed/Eiv4e5ZxTmg?rel=0"}
.row-fluid
.span12
= image_tag @event.submitter.gravatar_url(:size => 200), :class => "img-rounded pull-right"
.span8
%h3
by
= @event.submitter.public_name
@ -48,4 +47,7 @@
= @event.submitter.company
-if @event.submitter.biography
= simple_format(@event.submitter.biography)
.span4
= image_tag @event.submitter.gravatar_url(:size => 200), :class => "img-rounded pull-right", :style => "margin: 8px;"