First-pass conversion of layouts and icons to BS3/FA

Rough around the edges.
This commit is contained in:
Dan Rice 2014-03-29 16:52:16 -04:00
parent 9c083b3175
commit 42e2da8653
13 changed files with 238 additions and 281 deletions

View file

@ -1,9 +1,6 @@
<div id="message_holder">
<% if flash.empty? -%>
<h4 id="flash" class="alert" style="display:none"></h4>
<% else -%>
<% flash.each do |key,value| -%>
<h4 id="flash" class='alert <%= key %>'><%= value %></h4>
<% end -%>
<% flash.each do |key,value| -%>
<div class='alert <%= key.to_s == 'notice' ? 'alert-success' : 'alert-danger' %> alert-dismissable'>
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<%= value %>
</div>
<% end -%>
</div>