UI review, stage 4: accessibility, product name, favicon, ESLint

Login: label for/id, autocomplete, inputmode for the 2FA code; clickable
table rows, headers and client links work from the keyboard. One product
name (OpenVPN Controller), own favicon (logo.svg) instead of vite.svg,
footer text fixed. Minimal ESLint config (npm run lint, clean).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ayurishchevandClaude Sonnet 5.5 committed 2026-10-07 13:13:25 +03:00
1 parent 897c82ab88
commit 32d6b0e525
12 files changed
+1133 -20

No files matched your search

+11 -4
View File
@@ -5,7 +5,7 @@
<div class="brand-logo">
<i class="fas fa-shield-alt"></i>
</div>
<h1>OpenVPN Monitor</h1>
<h1>OpenVPN Controller</h1>
<p class="text-muted">Secure Access Control</p>
</div>
@@ -13,28 +13,32 @@
<!-- Standard Login -->
<form v-if="!requires2FA" @submit.prevent="handleLogin">
<div class="mb-4">
<label class="form-label">Username</label>
<label class="form-label" for="loginUsername">Username</label>
<div class="input-group">
<span class="input-group-text"><i class="fas fa-user"></i></span>
<input
id="loginUsername"
type="text"
class="form-control"
v-model="form.username"
placeholder="Enter username"
autocomplete="username"
required
>
</div>
</div>
<div class="mb-4">
<label class="form-label">Password</label>
<label class="form-label" for="loginPassword">Password</label>
<div class="input-group">
<span class="input-group-text"><i class="fas fa-lock"></i></span>
<input
id="loginPassword"
type="password"
class="form-control"
v-model="form.password"
placeholder="Enter password"
autocomplete="current-password"
required
>
</div>
@@ -65,6 +69,9 @@
v-model="otp"
placeholder="000 000"
maxlength="6"
inputmode="numeric"
autocomplete="one-time-code"
aria-label="6-digit authentication code"
required
autofocus
>
@@ -86,7 +93,7 @@
</div>
<div class="login-footer text-center mt-4">
<p class="small text-muted">&copy; 2026 Admin Dashboard</p>
<p class="small text-muted">&copy; 2026 OpenVPN Controller</p>
</div>
</div>
</div>