From 06de07e31db2355d500486b2ed4589ca39ef6ebb Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 2 Apr 2009 13:16:00 -0600 Subject: [PATCH] Tweak flag management display. --- imp/templates/prefs/flagmanagement.inc | 45 ++++++++++++++++++++++------------ imp/themes/screen.css | 15 ++++++++++++ 2 files changed, 45 insertions(+), 15 deletions(-) diff --git a/imp/templates/prefs/flagmanagement.inc b/imp/templates/prefs/flagmanagement.inc index 4a9d375df..7b243f7ee 100644 --- a/imp/templates/prefs/flagmanagement.inc +++ b/imp/templates/prefs/flagmanagement.inc @@ -19,32 +19,47 @@ IMP::addInlineScript(array( ?> -" /> - +
+ + + + + + + + $val): $hash = hash('md5', $key); $bgid = 'bg_' . $hash; $color = htmlspecialchars($val['b']); $fgcolor = htmlspecialchars($val['f']); $label = htmlspecialchars($val['l']); - $bgstyle = 'background-color:' . $color . ';color:' . $fgcolor; + $bgstyle = 'background-color:' . $color; ?> - + + + - + - - + + - + + +
LabelIconColor
- - - - - + + +
+ + + +
+ + - + -
+" /> diff --git a/imp/themes/screen.css b/imp/themes/screen.css index 8e97b6bd5..2d319826a 100644 --- a/imp/themes/screen.css +++ b/imp/themes/screen.css @@ -279,6 +279,21 @@ div.msgflags.flagForwarded, span.contextImg.flagForwarded { background-image: url("graphics/mail_forwarded.png"); } +/* Flag management (prefs) styles. */ +table.flagmanagement { + padding-bottom: 10px; +} +table.flagmanagement td { + padding-right: 12px; +} +table.flagmanagement thead td { + font-weight: bold; + text-decoration: underline; +} +table.flagmanagement tbody td.flagicon { + text-align: center; +} + .folderunsub { background: #bbb; font-style: italic; -- 2.11.0