| gio | dd21315 | 2024-09-27 11:26:59 +0200 | [diff] [blame] | 1 | {{ define "title" }}dodo: sign in{{ end }} |
| Giorgi Lekveishvili | 58cb148 | 2023-12-04 12:33:49 +0400 | [diff] [blame] | 2 | {{ define "main" }} |
| gio | e71b12b | 2026-07-29 10:02:37 +0400 | [diff] [blame^] | 3 | <div class="terminal"> |
| 4 | <div class="logo" aria-hidden="true"> |
| Davit Tabidze | c6c663f | 2024-07-12 17:35:40 +0400 | [diff] [blame] | 5 | <span>do</span><span>do:</span> |
| 6 | </div> |
| gio | e71b12b | 2026-07-29 10:02:37 +0400 | [diff] [blame^] | 7 | <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 Tabidze | c6c663f | 2024-07-12 17:35:40 +0400 | [diff] [blame] | 20 | </form> |
| gio | e71b12b | 2026-07-29 10:02:37 +0400 | [diff] [blame^] | 21 | {{- if .EnableRegistration }} |
| 22 | <nav aria-label="Registration"> |
| 23 | <a href="/register">Create account</a> |
| Davit Tabidze | c6c663f | 2024-07-12 17:35:40 +0400 | [diff] [blame] | 24 | </nav> |
| gio | e71b12b | 2026-07-29 10:02:37 +0400 | [diff] [blame^] | 25 | {{- end }} |
| Davit Tabidze | c6c663f | 2024-07-12 17:35:40 +0400 | [diff] [blame] | 26 | </div> |
| Giorgi Lekveishvili | 58cb148 | 2023-12-04 12:33:49 +0400 | [diff] [blame] | 27 | {{ end }} |