From 410baec3db484e8bbe2776c1d974f288c4a70f38 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 14 Jan 2015 20:13:30 -0700 Subject: [PATCH] Improve formatting of blacklist page --- .../basic/blacklist/blacklist.html.php | 38 ++++++++++--------- ingo/themes/default/screen.css | 10 ++++- 2 files changed, 29 insertions(+), 19 deletions(-) diff --git a/ingo/templates/basic/blacklist/blacklist.html.php b/ingo/templates/basic/blacklist/blacklist.html.php index d7198d0e038..4d2cb66755a 100644 --- a/ingo/templates/basic/blacklist/blacklist.html.php +++ b/ingo/templates/basic/blacklist/blacklist.html.php @@ -9,36 +9,40 @@ -
+
hordeHelp('ingo', 'blacklist-action') ?> -
-
- radioButtonTag('action', 'delete', empty($this->folder), array('id' => 'action_delete')) ?> - hordeLabel('action_delete', _("_Delete message completely")) ?> -
+
    +
  • + radioButtonTag('action', 'delete', empty($this->folder), array('id' => 'action_delete')) ?> + hordeLabel('action_delete', _("_Delete message completely")) ?> +
  • flagonly): ?> - radioButtonTag('action', 'mark', $this->folder == Ingo::BLACKLIST_MARKER, array('id' => 'action_mark')) ?> - hordeLabel('action_mark', _("Mar_k message as deleted")) ?> -
    +
  • + radioButtonTag('action', 'mark', $this->folder == Ingo::BLACKLIST_MARKER, array('id' => 'action_mark')) ?> + hordeLabel('action_mark', _("Mar_k message as deleted")) ?> +
  • +
  • - radioButtonTag('action', 'folder', $this->folder && ($this->folder != Ingo::BLACKLIST_MARKER), array('id' => 'action_folder')) ?> - hordeLabel('action_folder', _("_Move message to folder:")) ?> - - folderlist ?> + radioButtonTag('action', 'folder', $this->folder && ($this->folder != Ingo::BLACKLIST_MARKER), array('id' => 'action_folder')) ?> + hordeLabel('action_folder', _("_Move message to folder:")) ?> + + folderlist ?> +
  • +
-
- hordeLabel('blacklist', _("_Enter each address on a new line:")) ?> +
+ hordeLabel('blacklist', _("_Blacklist addresses:")) ?> hordeHelp('ingo', 'blacklist-addresses') ?>
-
+
-
+
" /> " />
diff --git a/ingo/themes/default/screen.css b/ingo/themes/default/screen.css index 29d36e04fe7..50ca1f0e641 100644 --- a/ingo/themes/default/screen.css +++ b/ingo/themes/default/screen.css @@ -66,12 +66,18 @@ table { /* Blacklist page. */ .blacklistAction { - margin-left: 15px; - margin-bottom: 15px; + list-style: none; + margin: 5px 0 8px 15px; } .blacklistAction input { vertical-align: middle; } +.blacklistAction label { + padding-left: 3px; +} +.blacklistDiv { + padding: 5px; +} /* Icons. */ .ingo-rules {