summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eslint.config.js2
-rw-r--r--static/css/styles.css12
-rw-r--r--templates/index.html2
-rw-r--r--templates/login.html2
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 @@
<p class="header__subtitle">Manage WireGuard VPN connections</p>
<div class="header__logout">
<form method="POST" action="/logout">
- <input type="submit" value="Logout">
+ <button type="submit">Logout</button>
</form>
</div>
</header>
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 @@
<form class="login__form" method="POST" action="/login">
<input type="password" name="password" placeholder="Password" required>
- <input type="submit" value="Login">
+ <button type="submit">Login</button>
</form>
</div>
</div>