From 516eb2b9eabb5f89cd9c9b569574daca323cba59 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Fri, 20 Apr 2018 14:07:11 +0200 Subject: [PATCH] Frio admin/users template: fix users avatars, table cols width to have more space --- view/theme/frio/css/mod_admin.css | 11 ++++++++++- view/theme/frio/templates/admin/users.tpl | 8 ++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/view/theme/frio/css/mod_admin.css b/view/theme/frio/css/mod_admin.css index 7a8c6f659..cbcd53453 100644 --- a/view/theme/frio/css/mod_admin.css +++ b/view/theme/frio/css/mod_admin.css @@ -1,7 +1,16 @@ #admin-users.adminpage { padding-left:0; padding-right: 0;} #admin-users.adminpage > h1 { padding: 0 15px; } -#users img.icon, #deleted img.icon { height: 24px; } + +#admin-users td { word-break: break-all; } + +#admin-users #users th:first-of-type { width: 1em; } +#admin-users #users th:nth-of-type(2) { width: 40px; } +#admin-users #users th:last-of-type { width: 1em; } + +#admin-users #deleted th:first-of-type { width: 40px; } + +#admin-users #users img.avatar-nano, #deleted img.avatar-nano { height: 24px; width: 24px; } .opened .caret { transform: rotate(180deg); } tr.details td, tr.details th diff --git a/view/theme/frio/templates/admin/users.tpl b/view/theme/frio/templates/admin/users.tpl index 831ee49b6..6e2051aca 100644 --- a/view/theme/frio/templates/admin/users.tpl +++ b/view/theme/frio/templates/admin/users.tpl @@ -55,7 +55,7 @@ -
+
@@ -84,7 +84,7 @@ {{foreach $th_users as $k=>$th}} {{if $k < 2 || $order_users == $th.1 || ($k==5 && !in_array($order_users,[$th_users.2.1, $th_users.3.1, $th_users.4.1])) }} - + {{if $order_users == $th.1}} {{if $order_direction_users == "+"}} @@ -112,7 +112,7 @@   {{/if}} - + {{$u.name}} {{$u.email}} {{if $order_users == $th_users.2.1}} @@ -227,7 +227,7 @@ {{foreach $deleted as $u}} - + {{$u.name}} {{$u.email}} {{$u.deleted}}