From a652cd5095fcff6ed9c72063ab19107e970e2b8d Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 16 Jun 2011 15:08:50 +0200 Subject: [PATCH] admin styles to loozah. missing user admin template --- view/admin_plugins_details.tpl | 4 +- view/admin_users.tpl | 88 +++++++++++++++++++++++++++++++ view/theme/duepuntozero/style.css | 3 +- view/theme/loozah/style.css | 8 +++ 4 files changed, 101 insertions(+), 2 deletions(-) create mode 100644 view/admin_users.tpl diff --git a/view/admin_plugins_details.tpl b/view/admin_plugins_details.tpl index 85ee8dfb40..e2c611b236 100644 --- a/view/admin_plugins_details.tpl +++ b/view/admin_plugins_details.tpl @@ -4,9 +4,11 @@

$info.name - $info.version : $action

$info.description

+

{{ for $info.author as $a }} -

{{ if $a.link }}{{ endif }}$a.name

+ {{ if $a.link }}$a.name{{ else }}$a.name{{ endif }}, {{ endfor }} +

diff --git a/view/admin_users.tpl b/view/admin_users.tpl new file mode 100644 index 0000000000..952a8992b5 --- /dev/null +++ b/view/admin_users.tpl @@ -0,0 +1,88 @@ + +
+

$title - $page

+ +
+ +

$h_pending

+ {{ if $pending }} + + + + {{ for $th_pending as $th }}{{ endfor }} + + + + + + {{ for $pending as $u }} + + + + + + + + {{ endfor }} + +
$th
$u.created$u.name + + +
+ +
+ {{ else }} +

$no_pending

+ {{ endif }} + + + + +

$h_users

+ {{ if $users }} + + + + + {{ for $th_users as $th }}{{ endfor }} + + + + + + {{ for $users as $u }} + + + + + + + + + + + + {{ endfor }} + +
$th
$u.nickname$u.name$u.register_date$u.lastitem_date + + +
+ +
+ {{ else }} + NO USERS?!? + {{ endif }} +
+
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index b94d90618a..4aad4339fe 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -2557,12 +2557,13 @@ a.mail-list-link { float:left; margin-right: 1em; } -#adminpage .author .icon { float: left;} + #adminpage table {width:100%; border-bottom: 1p solid #000000; margin: 5px 0px;} #adminpage table th { text-align: left;} #adminpage td .icon { float: left;} #adminpage table#users img { width: 16px; height: 16px; } #adminpage table tr:hover { background-color: #bbc7d7; } +#adminpage .selectall { text-align: right; } /** * ICONS */ diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css index db53cb6782..947b76fec0 100644 --- a/view/theme/loozah/style.css +++ b/view/theme/loozah/style.css @@ -2564,6 +2564,12 @@ a.mail-list-link { margin-right: 1em; } +#adminpage table {width:100%; border-bottom: 1p solid #000000; margin: 5px 0px;} +#adminpage table th { text-align: left;} +#adminpage td .icon { float: left;} +#adminpage table#users img { width: 16px; height: 16px; } +#adminpage table tr:hover { background-color: #bbc7d7; } +#adminpage .selectall { text-align: right; } /** * ICONS */ @@ -2606,6 +2612,8 @@ a.mail-list-link { .off { background-position: 0px -48px; } +.icon.dim { opacity: 0.3;filter:alpha(opacity=30); } + .attachtype { display: block; width: 20px; height: 23px; float: left;