mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-23 23:54:07 +01:00
First-pass conversion of layouts and icons to BS3/FA
Rough around the edges.
This commit is contained in:
parent
9c083b3175
commit
42e2da8653
13 changed files with 238 additions and 281 deletions
|
|
@ -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">×</button>
|
||||
<%= value %>
|
||||
</div>
|
||||
<% end -%>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue