Improve styling of alert boxes to match new sidebar styling

This commit is contained in:
Tom Hughes 2012-03-21 10:38:12 +00:00
parent d1e10d2313
commit be585d1403
4 changed files with 17 additions and 34 deletions

View file

@ -86,12 +86,12 @@
<% end %>
<% if STATUS == :database_offline or STATUS == :api_offline %>
<div id="alert">
<%= t 'layouts.osm_offline' %>
<div class="sidebar-alert">
<p><%= t 'layouts.osm_offline' %></p>
</div>
<% elsif STATUS == :database_readonly or STATUS == :api_readonly %>
<div id="alert">
<%= t 'layouts.osm_read_only' %>
<div id="sidebar-alert">
<p><%= t 'layouts.osm_read_only' %></p>
</div>
<% end %>