summaryrefslogtreecommitdiffstats
path: root/templates/login.html
blob: bd288030578829ef71d70a826757cfcfed941882 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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>
                    <button type="submit">Login</button>
                </form>
            </div>
        </div>
    </main>
    <footer></footer>
</body>
</html>