From: Leo-Andres Hofmann Date: Thu, 18 Feb 2021 14:30:12 +0000 (+0100) Subject: zoneconf.cgi: Modify CSS to allow additional rows X-Git-Tag: v2.25-core155~68 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e6eba884bb757f094b25091e5589973da09a94f;p=ipfire-2.x.git zoneconf.cgi: Modify CSS to allow additional rows Simplify borders, load more colors from header and add dividers Signed-off-by: Leo-Andres Hofmann Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/zoneconf.cgi b/html/cgi-bin/zoneconf.cgi index bf46ab0c70..13543d2446 100644 --- a/html/cgi-bin/zoneconf.cgi +++ b/html/cgi-bin/zoneconf.cgi @@ -32,39 +32,59 @@ my $extraHead = < td:first-child { width: 11em; } + #zoneconf tr.nic-row > td:first-child { + background-color: darkgray; + } + #zoneconf tr.nic-row { + border-bottom: 0.5px solid $Header::bordercolour; + } /* alternating row background color */ + #zoneconf tr { + background-color: $Header::table2colour; + } #zoneconf tr:nth-child(2n+3) { - background-color: #F0F0F0; + background-color: $Header::table1colour; } + /* special cell colors */ #zoneconf td.green { background-color: $Header::colourgreen; } @@ -83,8 +103,6 @@ my $extraHead = < - + END ; @@ -359,7 +377,7 @@ foreach (@zones) { } print <$uc
+
\n"; - print "\t\t\n"; + print "\t\n"; + print "\t\t\n"; # Iterate through all zones and check if the current NIC is assigned to it foreach (@zones) {
$uc
$nic
$mac
$nic
$mac