blob: a79b400f46abeb4d9d95022d78e6b4d0c01d13f7 [file] [log] [blame]
giodd213152024-09-27 11:26:59 +02001{{ define "title" }}dodo: sign in{{ end }}
Giorgi Lekveishvili58cb1482023-12-04 12:33:49 +04002{{ define "main" }}
gioe71b12b2026-07-29 10:02:37 +04003<div class="terminal">
4 <div class="logo" aria-hidden="true">
Davit Tabidzec6c663f2024-07-12 17:35:40 +04005 <span>do</span><span>do:</span>
6 </div>
gioe71b12b2026-07-29 10:02:37 +04007 <h1>Sign in</h1>
8 <form id="login-form" action="{{ .FormAction }}" method="POST">
9 {{ if .GeneralNotice }}
10 <div role="alert">
11 <p>{{ .GeneralNotice }}</p>
12 </div>
13 {{ end }}
14 <label for="login-username">Username</label>
15 <input id="login-username" type="text" name="username" autocomplete="username" autocapitalize="none" spellcheck="false" required />
16 <label for="login-password">Password</label>
17 <input id="login-password" type="password" name="password" autocomplete="current-password" required />
18 <input id="login-csrf-token" type="hidden" name="csrf_token" value="{{ .CSRFToken }}" />
19 <button id="login-submit" class="subbmit-button" type="submit">Sign in</button>
Davit Tabidzec6c663f2024-07-12 17:35:40 +040020 </form>
gioe71b12b2026-07-29 10:02:37 +040021 {{- if .EnableRegistration }}
22 <nav aria-label="Registration">
23 <a href="/register">Create account</a>
Davit Tabidzec6c663f2024-07-12 17:35:40 +040024 </nav>
gioe71b12b2026-07-29 10:02:37 +040025 {{- end }}
Davit Tabidzec6c663f2024-07-12 17:35:40 +040026</div>
Giorgi Lekveishvili58cb1482023-12-04 12:33:49 +040027{{ end }}