From 5fea2066fbe9d935c20c533df6f68cf114a84b78 Mon Sep 17 00:00:00 2001 From: Ahmed AbdelHalim Date: Sun, 7 Sep 2025 19:11:00 +0200 Subject: Fix linting issues --- eslint.config.js | 2 ++ static/css/styles.css | 12 ++++-------- templates/index.html | 2 +- templates/login.html | 2 +- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 3bfc90c..4f720d2 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -10,6 +10,8 @@ export default [ document: "readonly", console: "readonly", fetch: "readonly", + setInterval: "readonly", + clearInterval: "readonly", App: "readonly", Utils: "readonly", ConnectionManager: "readonly", diff --git a/static/css/styles.css b/static/css/styles.css index af767a7..acf0773 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -38,7 +38,7 @@ html { border-color: var(--light-green); } - .login__form input[type=submit] { + .login__form button { color: var(--light-green); } } @@ -48,7 +48,7 @@ html { .header__logout { position: inherit !important; } - .header__logout input[type=submit] { + .header__logout button { width: 100% !important; } } @@ -79,7 +79,7 @@ header { right: 1rem; } -.header__logout input[type=submit] { +.header__logout button { border: 1px solid; padding: 1rem; color: var(--dark-red); @@ -92,10 +92,6 @@ header { min-height: 160px; } -.status__header, -.connections__header { -} - .message { font-family: monospace; font-size: 14px; @@ -164,7 +160,7 @@ header { background-color: inherit; } -.login__form input[type=submit] { +.login__form button { border: 1px solid; padding: 1rem; color: var(--dark-green); diff --git a/templates/index.html b/templates/index.html index 724aa6e..6174020 100644 --- a/templates/index.html +++ b/templates/index.html @@ -14,7 +14,7 @@

Manage WireGuard VPN connections

- +
diff --git a/templates/login.html b/templates/login.html index c26f863..bd28803 100644 --- a/templates/login.html +++ b/templates/login.html @@ -24,7 +24,7 @@
- +
-- cgit v1.2.3