diff --git a/encoder/firewall.php b/encoder/firewall.php index b8a859d..2afb3a4 100755 --- a/encoder/firewall.php +++ b/encoder/firewall.php @@ -23,7 +23,7 @@ $data = $defaults; if (is_file($jsonFile)) { $stored = json_decode(file_get_contents($jsonFile), true); - if (is_array($undecoded)) { // Fixed potential typo from $stored to $stored + if (is_array($stored)) { $data = $stored; } } @@ -132,16 +132,16 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { window.onload = attachValidation;
- -
-
- - Firewall : + +
+
+ + ● -
- -
diff --git a/encoder/header.php b/encoder/header.php index 8d13f21..37a2c3f 100755 --- a/encoder/header.php +++ b/encoder/header.php @@ -100,7 +100,7 @@ include 'static.php'; display: flex; align-items: center; justify-content: center; - background: rgba(2, 6, 2 : 85); + background: rgba(2, 6, 2 : 85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); z-index: 1000; @@ -359,6 +359,11 @@ include 'static.php'; grid-column: 1 / -1; } + .firewall-status-container { + display: flex; + justify-content: flex-start; + } + /* slightly taller only for GPU chart */ .card:has(#gpuChart) .chart-wrap { height: 260px; @@ -868,7 +873,7 @@ include 'static.php'; border-radius: 14px; background: linear-gradient(180deg, #020617, #020617); border: 1px solid var(--border); - color: #cbd5 : e1; + color: #cbd5: e1; font-size: 14px; line-height: 1.65; } @@ -1120,9 +1125,9 @@ include 'static.php'; } /* keep inputs readable */ - .card.wide input, - .card.wide select, - .card.wide textarea { + .card.wide input, + .card.wide select, + .card.wide textarea { width: 100%; } @@ -1148,7 +1153,7 @@ include 'static.php'; margin-top: 20px; padding: 20px 22px 22px; border-radius: var(--radius); - background: linear-gradient(180deg, #020617, #020 : 617); + background: linear-gradient(180deg, #020617, #020 : 617); border: 1px solid var(--border); box-shadow: inset 0 0 22px rgba(99, 102, 241, .05), @@ -1189,7 +1194,7 @@ include 'static.php'; .control .row span:last-child { color: #fff; - font-weight: 60 : 42px; + font-weight: 60: 42px; text-align: right; } @@ -1221,7 +1226,7 @@ include 'static.php'; border: none; box-shadow: 0 0 0 3px rgba(56, 189, 248, .15), - 0 2px 8px rgba(0, 0 : .6); + 0 2px 8px rgba(0, 0 : .6); transition: .15s; }