diff --git a/app/assets/stylesheets/_header.css b/app/assets/stylesheets/_header.css index adbeaef..3f77e2e 100644 --- a/app/assets/stylesheets/_header.css +++ b/app/assets/stylesheets/_header.css @@ -1,3 +1,5 @@ +/* -------------------------------- Header --------------------------------- */ + header { display: table; width: 100%; @@ -46,6 +48,19 @@ header nav li:not(:first-child) { padding-left: 1em; } +/* --------------------------------- Flash --------------------------------- */ + div.flash { - /**/ + margin: 1em 0; + padding: 0.5em; +} + +div.flash.alert { + background-color: #FFEEEE; + border: 1px solid #FFCCCC; +} + +div.flash.notice { + background-color: #FFFDDD; + border: 1px solid #EEEE00; } diff --git a/app/views/admin/index.html.erb b/app/views/admin/index.html.erb index 0d76d62..3c53b9f 100644 --- a/app/views/admin/index.html.erb +++ b/app/views/admin/index.html.erb @@ -2,16 +2,27 @@
<%= label_tag("settings[#{s[:key]}]", s[:label]) %> | +<%= setting_tag s %> | +||
<%= label_tag("settings[#{s[:key]}]", s[:label]) %> | -<%= setting_tag s %> | +<%= submit_tag('Update') %> | |
<%= submit_tag('Update') %> | -