diff options
| author | Ahmed AbdelHalim <[email protected]> | 2025-09-07 17:50:36 +0200 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2025-09-07 17:50:36 +0200 |
| commit | ff63742a2fa138c230fb2e080708d03ed888c248 (patch) | |
| tree | 10a5061a93cd6a91217d837a0a3a22a0bb17c54e /templates/login.html | |
| parent | 17168a489392847794de0aed15fe395230a38261 (diff) | |
Add basic login and clean up config
Diffstat (limited to 'templates/login.html')
| -rw-r--r-- | templates/login.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/login.html b/templates/login.html new file mode 100644 index 0000000..c26f863 --- /dev/null +++ b/templates/login.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta name="color-scheme" content="dark light"> + + <title>WireGuard Gateway Portal</title> + <link rel="stylesheet" href="/static/css/styles.css"> +</head> +<body> + <header> + <h1 class="header__title">WireGuard Gateway Portal</h1> + <p class="header__subtitle">Manage WireGuard VPN connections</p> + </header> + <main> + <div class="login"> + <div class="login__container"> + {{if .Error}} + <div id="notifications__container" class="notifications__container"> + <div class="message error">{{.Error}}</div> + </div> + {{end}} + + <form class="login__form" method="POST" action="/login"> + <input type="password" name="password" placeholder="Password" required> + <input type="submit" value="Login"> + </form> + </div> + </div> + </main> + <footer></footer> +</body> +</html> |
