From: Florian Bührle Date: Sat, 11 May 2019 10:20:02 +0000 (+0200) Subject: Replaced tabs with spaces X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fvlan;p=people%2Ffbuehrle%2Fipfire-2.x.git Replaced tabs with spaces --- diff --git a/html/cgi-bin/zoneconf.cgi b/html/cgi-bin/zoneconf.cgi index 14ff22dec..9329805af 100644 --- a/html/cgi-bin/zoneconf.cgi +++ b/html/cgi-bin/zoneconf.cgi @@ -28,76 +28,76 @@ require "${General::swroot}/header.pl"; my $css = < - table { - width: 100%; - } - - tr { - height: 4em; - } - - td:first-child { - width: 1px; - } - - td { - padding: 5px; - padding-left: 10px; - padding-right: 10px; - border: 0.5px solid black; - } - - table { - border-collapse: collapse; - } - - td.h { - background-color: grey; - color: white; - font-weight: 800; - } - - td.green { - background-color: $Header::colourgreen; - } - - td.red { - background-color: $Header::colourred; - } - - td.blue { - background-color: $Header::colourblue; - } - - td.orange { - background-color: $Header::colourorange; - } - - td.topleft { - background-color: white; - border-top-style: none; - border-left-style: none; - } - - td.disabled { - background-color: #cccccc; - } - - td.textcenter { - text-align: center; - } - - #submit-container { - display: flex; - width: 100%; - justify-content: space-between; - padding-top: 20px; - text-align: left; - } - - #submit-container.input { - margin-left: auto; - } + table { + width: 100%; + } + + tr { + height: 4em; + } + + td:first-child { + width: 1px; + } + + td { + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 0.5px solid black; + } + + table { + border-collapse: collapse; + } + + td.h { + background-color: grey; + color: white; + font-weight: 800; + } + + td.green { + background-color: $Header::colourgreen; + } + + td.red { + background-color: $Header::colourred; + } + + td.blue { + background-color: $Header::colourblue; + } + + td.orange { + background-color: $Header::colourorange; + } + + td.topleft { + background-color: white; + border-top-style: none; + border-left-style: none; + } + + td.disabled { + background-color: #cccccc; + } + + td.textcenter { + text-align: center; + } + + #submit-container { + display: flex; + width: 100%; + justify-content: space-between; + padding-top: 20px; + text-align: left; + } + + #submit-container.input { + margin-left: auto; + } button { margin-top: 1em; @@ -244,7 +244,7 @@ if ($cgiparams{"ACTION"} eq $Lang::tr{"save"}) { } if ($vlan_tag < 1 || $vlan_tag > 4095) { next; - } + } my $rnd_mac = &Network::random_mac(); @@ -296,10 +296,10 @@ if ($cgiparams{"ACTION"} eq $Lang::tr{"save"}) { ### START OF TABLE ### print < - - -
+
+ + + "; @@ -428,12 +428,12 @@ END } print < -
- $Lang::tr{"zoneconf warning incorrect configuration"} - -
- +
END ; @@ -319,7 +319,7 @@ foreach (@zones) { if ($dev_name eq "") { # If the zone is not activated, don't show it next; - } + } print "
+
+ $Lang::tr{"zoneconf warning incorrect configuration"} + +
+ END ;