From c412c01a657fbac49f611b94b4c88cf63f4fff77 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 18 Jul 2023 11:00:21 +0000 Subject: fix admin table highlight by adding the correct classes --- view/css/mod_admin.css | 17 ----------------- view/theme/redbasic/css/style.css | 4 ---- view/tpl/admin_accounts.tpl | 13 ++++++++----- view/tpl/admin_channels.tpl | 26 ++++++++++++++++---------- 4 files changed, 24 insertions(+), 36 deletions(-) (limited to 'view') diff --git a/view/css/mod_admin.css b/view/css/mod_admin.css index fa8f84d83..ad13c296a 100644 --- a/view/css/mod_admin.css +++ b/view/css/mod_admin.css @@ -54,23 +54,6 @@ margin-right: 1em; } -#adminpage table {width:100%; border-bottom: 1px 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; } - -.checkbox_bulkedit { - width: 1.2em; - height: 1.2em; -} - -.channels_ckbx, .pending_ckbx, .users_ckbx { - margin-top: 0px !important; - margin-left: 0px !important; -} - tr.zebra9 { background-color: #eafaf1; } tr.zebra0 { background-color: #fbeee6; } tr.zebra1 { background-color: #fef9e7; } diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 658a3cf6e..b20977f28 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -924,10 +924,6 @@ a .drop-icons:hover { list-style-type: none; } -#adminpage table tr:hover { - background-color: #BBC7D7; -} - table { border-spacing: 2px; max-width: 100%; diff --git a/view/tpl/admin_accounts.tpl b/view/tpl/admin_accounts.tpl index 78a68a8a1..1f5617f00 100644 --- a/view/tpl/admin_accounts.tpl +++ b/view/tpl/admin_accounts.tpl @@ -7,7 +7,7 @@

{{$h_pending}}

{{if $debug}}
{{$debug}}
{{/if}} {{if $pending}} - +
{{foreach $th_pending as $th}}{{/foreach}} @@ -53,12 +53,13 @@

{{$h_users}}

{{if $users}} -
{{$th}}
+
{{foreach $th_users as $th}}{{/foreach}} + @@ -75,10 +76,12 @@ - + + {{/foreach}} diff --git a/view/tpl/admin_channels.tpl b/view/tpl/admin_channels.tpl index f8584c84a..75db77593 100644 --- a/view/tpl/admin_channels.tpl +++ b/view/tpl/admin_channels.tpl @@ -12,18 +12,20 @@

{{$title}} - {{$page}}

- +
- +

{{$h_channels}}

{{if $channels}} -
{{$th.0}}
{{$u.account_service_class}} + + - - +
+
{{foreach $th_channels as $th}}{{/foreach}} + + @@ -32,11 +34,15 @@ - + + + {{/foreach}} @@ -44,10 +50,10 @@
{{$th.0}}
{{$c.channel_id}} {{$c.channel_name}} {{$c.channel_address}} + + + + - - - +
{{$select_all}}
- - + + -
+ {{else}} NO CHANNELS?!? {{/if}} -- cgit v1.2.3