Added an informational notice (implemented as a flash) to the default layout
This commit is contained in:
parent
aec9449771
commit
7dc399650f
|
@ -51,6 +51,10 @@
|
|||
<hr/><p><%= @flash[:error].to_s %></p><hr/></div>
|
||||
<% end %>
|
||||
|
||||
<% if @flash[:info] %> <div id="info">
|
||||
<hr/><p><%= @flash[:info].to_s %></p><hr/></div>
|
||||
<% end %>
|
||||
|
||||
<%= render 'navigation' unless @web.nil? || @hide_navigation %>
|
||||
<%= @content_for_layout %>
|
||||
|
||||
|
|
|
@ -154,6 +154,12 @@ ol.setup li {
|
|||
width: 450px;
|
||||
}
|
||||
|
||||
#info {
|
||||
color: darkgreen;
|
||||
font-style: italic;
|
||||
width: 450px;
|
||||
}
|
||||
|
||||
#TextileHelp table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue