From 3364c2a2d8ab88703c5566a39df13ef1042f8644 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 13 Jun 2011 12:52:29 +0200 Subject: Initial admin page --- view/admin_aside.tpl | 20 ++++++++++++++++++++ view/admin_summary.tpl | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 view/admin_aside.tpl create mode 100644 view/admin_summary.tpl (limited to 'view') diff --git a/view/admin_aside.tpl b/view/admin_aside.tpl new file mode 100644 index 000000000..24aafa775 --- /dev/null +++ b/view/admin_aside.tpl @@ -0,0 +1,20 @@ +

Admin

+ + + +{{ if $admin.plugins_admin }}

Plugins

{{ endif }} + + + +

Logs

+ diff --git a/view/admin_summary.tpl b/view/admin_summary.tpl new file mode 100644 index 000000000..cbd659d07 --- /dev/null +++ b/view/admin_summary.tpl @@ -0,0 +1,33 @@ +

$title - $page

+ +
+
$users.0
+
$users.1
+
+{{ for $accounts as $p }} +
+
$p.0
+
$p.1
+
+{{ endfor }} + +
+
$pending.0
+
$pending.1 +
+ +
+
$version.0
+
$version.1 - $build +
+ + + +
+
$plugins.0
+ + {{ for $plugins.1 as $p }} +
$p
+ {{ endfor }} + +
-- cgit v1.2.3 From 494288ab9f9370bdf4f7b4ab9990b64f05adbd9d Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 13 Jun 2011 12:52:52 +0200 Subject: Add admin page in nav --- view/nav.tpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view') diff --git a/view/nav.tpl b/view/nav.tpl index 7e76811d9..79114749a 100644 --- a/view/nav.tpl +++ b/view/nav.tpl @@ -16,6 +16,8 @@ $langselector $nav.search.1 $nav.directory.1 +{{ if $nav.admin }}$nav.admin.1{{ endif }} + {{ if $nav.network }} $nav.network.1 -- cgit v1.2.3 From a1c59d6011138ca2a0d366d1ea6f6369e679df81 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 13 Jun 2011 12:53:03 +0200 Subject: Fix it strings --- view/it/strings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view') diff --git a/view/it/strings.php b/view/it/strings.php index 75459e23a..32092a3f1 100644 --- a/view/it/strings.php +++ b/view/it/strings.php @@ -123,7 +123,7 @@ $a->strings["Administrator"] = "Amministratore"; $a->strings["Friend/Connection Request"] = "Richieste di Amicizia/Connessione"; $a->strings["Examples: jojo@demo.friendika.com, http://demo.friendika.com/profile/jojo, testuser@identi.ca"] = "Esempi: jojo@demo.friendika.com, http://demo.friendika.com/profile/jojo, testuser@identi.ca"; $a->strings["Please answer the following:"] = "Rispondi al seguente:"; -$a->strings["Does \$name know you?"] = "$name ti conosce?"; +$a->strings["Does \$name know you?"] = "\$name ti conosce?"; $a->strings["Yes"] = "Si"; $a->strings["No"] = "No"; $a->strings["Add a personal note:"] = "Aggiungi una nota personale:"; -- cgit v1.2.3 From ab27f1393e72e8fa6c05db5948413beef9e0367f Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 13 Jun 2011 18:03:06 +0200 Subject: Admin site page --- view/admin_aside.tpl | 2 +- view/admin_site.tpl | 45 +++++++++++++++++++++++++++++++++ view/admin_summary.tpl | 53 +++++++++++++++++++++------------------ view/field.tpl | 4 +++ view/field_checkbox.tpl | 6 +++++ view/field_input.tpl | 6 +++++ view/field_select.tpl | 8 ++++++ view/field_textarea.tpl | 6 +++++ view/theme/duepuntozero/style.css | 52 ++++++++++++++++++++++++++++++++++++++ 9 files changed, 156 insertions(+), 26 deletions(-) create mode 100644 view/admin_site.tpl create mode 100644 view/field.tpl create mode 100644 view/field_checkbox.tpl create mode 100644 view/field_input.tpl create mode 100644 view/field_select.tpl create mode 100644 view/field_textarea.tpl (limited to 'view') diff --git a/view/admin_aside.tpl b/view/admin_aside.tpl index 24aafa775..dd81a6fee 100644 --- a/view/admin_aside.tpl +++ b/view/admin_aside.tpl @@ -1,4 +1,4 @@ -

Admin

+

Admin

    diff --git a/view/admin_site.tpl b/view/admin_site.tpl new file mode 100644 index 000000000..f120461aa --- /dev/null +++ b/view/admin_site.tpl @@ -0,0 +1,45 @@ +
    +

    $title - $page

    + +
    + + {{ inc field_input.tpl with $field=$sitename }}{{ endinc }} + {{ inc field_textarea.tpl with $field=$banner }}{{ endinc }} + {{ inc field_select.tpl with $field=$language }}{{ endinc }} + {{ inc field_select.tpl with $field=$theme }}{{ endinc }} + +
    + +

    Upload

    + {{ inc field_input.tpl with $field=$maximagesize }}{{ endinc }} + +

    Corporate/Edu

    + {{ inc field_input.tpl with $field=$allowed_sites }}{{ endinc }} + {{ inc field_input.tpl with $field=$allowed_email }}{{ endinc }} + {{ inc field_checkbox.tpl with $field=$block_public }}{{ endinc }} + {{ inc field_checkbox.tpl with $field=$force_publish }}{{ endinc }} + {{ inc field_input.tpl with $field=$global_directory }}{{ endinc }} + {{ inc field_input.tpl with $field=$global_search_url }}{{ endinc }} + +
    + +

    Registration

    + {{ inc field_checkbox.tpl with $field=$no_multi_reg }}{{ endinc }} + {{ inc field_checkbox.tpl with $field=$no_openid }}{{ endinc }} + {{ inc field_checkbox.tpl with $field=$no_gravatar }}{{ endinc }} + {{ inc field_checkbox.tpl with $field=$no_regfullname }}{{ endinc }} + {{ inc field_checkbox.tpl with $field=$no_utf }}{{ endinc }} + +
    + +

    Advanced

    + {{ inc field_checkbox.tpl with $field=$rino_enc }}{{ endinc }} + {{ inc field_checkbox.tpl with $field=$verifyssl }}{{ endinc }} + {{ inc field_input.tpl with $field=$proxy }}{{ endinc }} + {{ inc field_input.tpl with $field=$proxyuser }}{{ endinc }} + {{ inc field_input.tpl with $field=$timeout }}{{ endinc }} + +
    + +
    +
    diff --git a/view/admin_summary.tpl b/view/admin_summary.tpl index cbd659d07..59428986a 100644 --- a/view/admin_summary.tpl +++ b/view/admin_summary.tpl @@ -1,33 +1,36 @@ -

    $title - $page

    +
    +

    $title - $page

    -
    -
    $users.0
    -
    $users.1
    -
    -{{ for $accounts as $p }}
    -
    $p.0
    -
    $p.1
    +
    $pending.0
    +
    $pending.1
    -{{ endfor }} -
    -
    $pending.0
    -
    $pending.1 -
    +
    +
    $users.0
    +
    $users.1
    +
    + {{ for $accounts as $p }} +
    +
    $p.0
    +
    $p.1
    +
    + {{ endfor }} -
    -
    $version.0
    -
    $version.1 - $build -
    +
    +
    $plugins.0
    + + {{ for $plugins.1 as $p }} +
    $p
    + {{ endfor }} + +
    +
    +
    $version.0
    +
    $version.1 - $build +
    -
    -
    $plugins.0
    - - {{ for $plugins.1 as $p }} -
    $p
    - {{ endfor }} - -
    + +
    diff --git a/view/field.tpl b/view/field.tpl new file mode 100644 index 000000000..35f5afd39 --- /dev/null +++ b/view/field.tpl @@ -0,0 +1,4 @@ + + {{ if $field.0==select }} + {{ inc field_select.tpl }}{{ endinc }} + {{ endif }} diff --git a/view/field_checkbox.tpl b/view/field_checkbox.tpl new file mode 100644 index 000000000..4a86da7ea --- /dev/null +++ b/view/field_checkbox.tpl @@ -0,0 +1,6 @@ + +
    + + + $field.3 +
    diff --git a/view/field_input.tpl b/view/field_input.tpl new file mode 100644 index 000000000..748d93f3e --- /dev/null +++ b/view/field_input.tpl @@ -0,0 +1,6 @@ + +
    + + + $field.3 +
    diff --git a/view/field_select.tpl b/view/field_select.tpl new file mode 100644 index 000000000..d79eb48e0 --- /dev/null +++ b/view/field_select.tpl @@ -0,0 +1,8 @@ + +
    + + + $field.3 +
    diff --git a/view/field_textarea.tpl b/view/field_textarea.tpl new file mode 100644 index 000000000..2425cdd3b --- /dev/null +++ b/view/field_textarea.tpl @@ -0,0 +1,6 @@ + +
    + + + $field.3 +
    diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 892814804..294a86690 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -2468,6 +2468,58 @@ a.mail-list-link { filter:alpha(opacity=100); } +/** + * ADMIN + */ + +#adminpage dl { + clear: left; + margin-bottom: 2px; + padding-bottom: 2px; + border-bottom: 1px solid black; +} +#adminpage dt { + width: 200px; + float: left; + font-weight: bold; +} +#adminpage dd { + margin-left: 200px; +} + +#adminpage .field { + clear: left; + margin-bottom: 5px; + padding-bottom: 5px; +} + +#adminpage .field label { + float: left; + width: 200px; + font-weight: bold; +} + +#adminpage .field input, +#adminpage .field textarea { + width: 400px; +} +#adminpage .field textarea { height: 100px; } +#adminpage .field_help { + display: block; + margin-left: 200px; + color: #666666; + +} + +#adminpage h3 { + border-bottom: 1px solid #cccccc; +} + +#adminpage .submit { + clear:left; + text-align: right; +} + /** * ICONS -- cgit v1.2.3 From 5882d8d022c14a12ba7b314c96289061bd195ed4 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Tue, 14 Jun 2011 10:35:56 +0200 Subject: Initial plugins admin page --- view/admin_plugins.tpl | 14 ++++++++++++++ view/theme/duepuntozero/style.css | 18 +++++++++++++++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 view/admin_plugins.tpl (limited to 'view') diff --git a/view/admin_plugins.tpl b/view/admin_plugins.tpl new file mode 100644 index 000000000..d29665a06 --- /dev/null +++ b/view/admin_plugins.tpl @@ -0,0 +1,14 @@ +
    +

    $title - $page

    + +
      + {{ for $plugins as $p }} +
    • + + + $p.0 + +
    • + {{ endfor }} +
    +
    diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 294a86690..8799726c7 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -2520,6 +2520,21 @@ a.mail-list-link { text-align: right; } +#adminpage #pluginslist { + margin: 0px; padding: 0px; +} +#adminpage .plugin { + list-style: none; + display: block; + border: 1px solid #888888; + padding: 1em; + margin-bottom: 5px; + clear: left; +} +#adminpage .plugin .toggle { + float:left; + margin-right: 1em; +} /** * ICONS @@ -2557,7 +2572,8 @@ a.mail-list-link { .youtube { background-position: -64px -32px;} .attach { background-position: -80px -32px; } .language { background-position: -96px -32px; } - +.on { background-position: -112px -32px; } +.off { background-position: -128px -32px; } .attachtype { display: block; width: 20px; height: 23px; -- cgit v1.2.3 From 25d1637ec4b980d6ac8daf2f028f0ff579d5c977 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Tue, 14 Jun 2011 11:54:14 +0200 Subject: simple plugin details and log view in admin --- view/admin_logs.tpl | 17 +++++++++++++++++ view/admin_plugins_details.tpl | 7 +++++++ 2 files changed, 24 insertions(+) create mode 100644 view/admin_logs.tpl create mode 100644 view/admin_plugins_details.tpl (limited to 'view') diff --git a/view/admin_logs.tpl b/view/admin_logs.tpl new file mode 100644 index 000000000..f2939a7ac --- /dev/null +++ b/view/admin_logs.tpl @@ -0,0 +1,17 @@ +
    +

    $title - $page

    + +
    + + {{ inc field_checkbox.tpl with $field=$debugging }}{{ endinc }} + {{ inc field_input.tpl with $field=$logfile }}{{ endinc }} + {{ inc field_select.tpl with $field=$loglevel }}{{ endinc }} + +
    + +
    + +

    $logname

    + + +
    diff --git a/view/admin_plugins_details.tpl b/view/admin_plugins_details.tpl new file mode 100644 index 000000000..7e2e95521 --- /dev/null +++ b/view/admin_plugins_details.tpl @@ -0,0 +1,7 @@ +
    +

    $title - $page

    + +

    $plugin

    + +

    $action

    +
    -- cgit v1.2.3 From 283160901fcb5670b48c7897ccce615872cb956e Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Tue, 14 Jun 2011 14:21:00 +0200 Subject: update styles --- view/theme/duepuntozero/style.css | 3 +- view/theme/loozah/style.css | 70 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+), 1 deletion(-) (limited to 'view') diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 563234238..c2fb9700c 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -2545,7 +2545,8 @@ a.mail-list-link { margin-bottom: 5px; clear: left; } -#adminpage .plugin .toggle { +#adminpage .plugin .desc { margin-left: 2.5em;} +#adminpage .toggleplugin { float:left; margin-right: 1em; } diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css index a566acadc..db53cb678 100644 --- a/view/theme/loozah/style.css +++ b/view/theme/loozah/style.css @@ -2497,6 +2497,73 @@ a.mail-list-link { top: 0px; } +/** + * ADMIN + */ + +#adminpage dl { + clear: left; + margin-bottom: 2px; + padding-bottom: 2px; + border-bottom: 1px solid black; +} +#adminpage dt { + width: 200px; + float: left; + font-weight: bold; +} +#adminpage dd { + margin-left: 200px; +} + +#adminpage .field { + clear: left; + margin-bottom: 5px; + padding-bottom: 5px; +} + +#adminpage .field label { + float: left; + width: 200px; + font-weight: bold; +} + +#adminpage .field input, +#adminpage .field textarea { + width: 400px; +} +#adminpage .field textarea { height: 100px; } +#adminpage .field_help { + display: block; + margin-left: 200px; + color: #666666; + +} + +#adminpage h3 { + border-bottom: 1px solid #cccccc; +} + +#adminpage .submit { + clear:left; +} + +#adminpage #pluginslist { + margin: 0px; padding: 0px; +} +#adminpage .plugin { + list-style: none; + display: block; + border: 1px solid #888888; + padding: 1em; + margin-bottom: 5px; + clear: left; +} +#adminpage .plugin .toggle { + float:left; + margin-right: 1em; +} + /** * ICONS */ @@ -2535,6 +2602,9 @@ a.mail-list-link { .language { background-position: -96px -32px; } .prev { background-position: -112px -32px; } .next { background-position: -128px -32px; } +.on { background-position: -144px -32px; } + +.off { background-position: 0px -48px; } .attachtype { display: block; width: 20px; height: 23px; -- cgit v1.2.3 From 00e142e4f753005a8b4003585c6a88548f006315 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Tue, 14 Jun 2011 14:21:43 +0200 Subject: Load plugin info from plugin file. Show README.md or README from plugin dir in plugin details page --- view/admin_plugins.tpl | 7 +++---- view/admin_plugins_details.tpl | 16 ++++++++++++++-- 2 files changed, 17 insertions(+), 6 deletions(-) (limited to 'view') diff --git a/view/admin_plugins.tpl b/view/admin_plugins.tpl index d29665a06..ee0fa67e6 100644 --- a/view/admin_plugins.tpl +++ b/view/admin_plugins.tpl @@ -4,10 +4,9 @@
      {{ for $plugins as $p }}
    • - - - $p.0 - + + $p.2.name - $p.2.version +
      $p.2.description
    • {{ endfor }}
    diff --git a/view/admin_plugins_details.tpl b/view/admin_plugins_details.tpl index 7e2e95521..acb3d2862 100644 --- a/view/admin_plugins_details.tpl +++ b/view/admin_plugins_details.tpl @@ -1,7 +1,19 @@

    $title - $page

    -

    $plugin

    +

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

    +

    $info.description

    +

    + {{ for $info.author as $a }} + $a.name + {{ endfor }} +

    -

    $action

    + + {{ if $readme }} +

    Readme

    +
    + $readme +
    + {{ endif }}
    -- cgit v1.2.3 From b7dc9f8867e783a0db109cce4cb0db90500129eb Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Tue, 14 Jun 2011 15:08:03 +0200 Subject: Update info comments in all plugins --- view/admin_plugins_details.tpl | 6 +++--- view/theme/duepuntozero/style.css | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'view') diff --git a/view/admin_plugins_details.tpl b/view/admin_plugins_details.tpl index acb3d2862..85ee8dfb4 100644 --- a/view/admin_plugins_details.tpl +++ b/view/admin_plugins_details.tpl @@ -3,11 +3,11 @@

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

    $info.description

    -

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

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

    {{ endfor }} -

    + {{ if $readme }} diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index c2fb9700c..78e02681a 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -2550,6 +2550,7 @@ a.mail-list-link { float:left; margin-right: 1em; } +#adminpage .author .icon { float: left;} /** * ICONS -- cgit v1.2.3 From 5f583fb8d6b71f63bf240729c00f9fd2009afd93 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 16 Jun 2011 12:05:35 +0200 Subject: Admin: register policy in site page, initial users page. Aside 'Users' link show pending registrations. --- view/admin_aside.tpl | 15 ++++++++++++++- view/admin_site.tpl | 21 ++++++++++++--------- view/theme/duepuntozero/style.css | 15 +++++++++++++-- 3 files changed, 39 insertions(+), 12 deletions(-) (limited to 'view') diff --git a/view/admin_aside.tpl b/view/admin_aside.tpl index dd81a6fee..ade0c473b 100644 --- a/view/admin_aside.tpl +++ b/view/admin_aside.tpl @@ -1,7 +1,20 @@ +

    Admin

    diff --git a/view/admin_site.tpl b/view/admin_site.tpl index f120461aa..dba29f11c 100644 --- a/view/admin_site.tpl +++ b/view/admin_site.tpl @@ -10,6 +10,18 @@
    +

    Registration

    + {{ inc field_input.tpl with $field=$register_text }}{{ endinc }} + {{ inc field_select.tpl with $field=$register_policy }}{{ endinc }} + + {{ inc field_checkbox.tpl with $field=$no_multi_reg }}{{ endinc }} + {{ inc field_checkbox.tpl with $field=$no_openid }}{{ endinc }} + {{ inc field_checkbox.tpl with $field=$no_gravatar }}{{ endinc }} + {{ inc field_checkbox.tpl with $field=$no_regfullname }}{{ endinc }} + {{ inc field_checkbox.tpl with $field=$no_utf }}{{ endinc }} + +
    +

    Upload

    {{ inc field_input.tpl with $field=$maximagesize }}{{ endinc }} @@ -23,15 +35,6 @@
    -

    Registration

    - {{ inc field_checkbox.tpl with $field=$no_multi_reg }}{{ endinc }} - {{ inc field_checkbox.tpl with $field=$no_openid }}{{ endinc }} - {{ inc field_checkbox.tpl with $field=$no_gravatar }}{{ endinc }} - {{ inc field_checkbox.tpl with $field=$no_regfullname }}{{ endinc }} - {{ inc field_checkbox.tpl with $field=$no_utf }}{{ endinc }} - -
    -

    Advanced

    {{ inc field_checkbox.tpl with $field=$rino_enc }}{{ endinc }} {{ inc field_checkbox.tpl with $field=$verifyssl }}{{ endinc }} diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 78e02681a..206074c92 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -2485,7 +2485,14 @@ a.mail-list-link { /** * ADMIN */ - +#pending-update { + float:right; + color: #ffffff; + font-weight: bold; + background-color: #FF0000; + padding: 0em 0.3em; + +} #adminpage dl { clear: left; margin-bottom: 2px; @@ -2551,7 +2558,9 @@ a.mail-list-link { 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;} /** * ICONS */ @@ -2594,6 +2603,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; -- cgit v1.2.3 From ede011cc32b34b9da797813a0a901847d2a68a7a Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 16 Jun 2011 14:56:43 +0200 Subject: Admin users page. some fix to template processor. --- view/theme/duepuntozero/style.css | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view') diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 206074c92..b94d90618 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -2561,6 +2561,8 @@ a.mail-list-link { #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; } /** * ICONS */ -- cgit v1.2.3 From a652cd5095fcff6ed9c72063ab19107e970e2b8d Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 16 Jun 2011 15:08:50 +0200 Subject: 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 (limited to 'view') diff --git a/view/admin_plugins_details.tpl b/view/admin_plugins_details.tpl index 85ee8dfb4..e2c611b23 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 000000000..952a8992b --- /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 b94d90618..4aad4339f 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 db53cb678..947b76fec 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; -- cgit v1.2.3