Improve styling of alert boxes to match new sidebar styling
This commit is contained in:
parent
d1e10d2313
commit
be585d1403
4 changed files with 17 additions and 34 deletions
|
@ -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 %>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue