From: Scott Torborg Date: Tue, 3 Nov 2009 01:15:51 +0000 (-1000) Subject: style flash messages more obviously X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=f176ae9c41af71fd4504327a3f1123768b2f29bb;p=bluechips.git style flash messages more obviously --- diff --git a/bluechips/public/css/main.css b/bluechips/public/css/main.css index fe58b99..008d925 100644 --- a/bluechips/public/css/main.css +++ b/bluechips/public/css/main.css @@ -65,6 +65,12 @@ table.list td.amount { #totals th { text-align: right; } +#balance { + margin-bottom: 10px; +} +#balance th { + text-align: left; +} td.labelcol { text-align: right; font-weight: bold; @@ -72,3 +78,13 @@ td.labelcol { tr.user-not-involved { color: #aaa; } +div.flash { + margin: 10px 0; + padding: 0.5em; + font-weight: bold; + background: #fffa98; + border: 1px solid #e6e000; +} +div.flash ul { + margin-bottom: 0; +} diff --git a/bluechips/templates/base.mako b/bluechips/templates/base.mako index 97ae857..73fb664 100644 --- a/bluechips/templates/base.mako +++ b/bluechips/templates/base.mako @@ -7,14 +7,6 @@ ${h.stylesheet_link('/css/main.css')} - <% messages = h.flash.pop_messages() %> - % if messages: - - % endif + % for message in h.flash.pop_messages(): +
${message | n}
+ % endfor
${next.body()}
diff --git a/bluechips/templates/status/index.mako b/bluechips/templates/status/index.mako index f1c21e3..014e7cb 100644 --- a/bluechips/templates/status/index.mako +++ b/bluechips/templates/status/index.mako @@ -8,7 +8,7 @@ % else:

To balance the books, the following transfers need to be made:

- +
From To