This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
dex/web/templates/password.html

31 lines
1.1 KiB
HTML
Raw Normal View History

2016-08-25 20:03:41 +00:00
{{ template "header.html" . }}
2016-12-01 20:18:12 +00:00
<div class="theme-panel">
<h2 class="theme-heading">Log in to Your Account</h2>
2016-08-25 20:03:41 +00:00
<form method="post" action="{{ .PostURL }}">
2016-12-01 20:18:12 +00:00
<div class="theme-form-row">
<div class="theme-form-label">
<label for="userid">{{ .UsernamePrompt }}</label>
2016-08-25 20:03:41 +00:00
</div>
<input tabindex="1" required id="login" name="login" type="text" class="theme-form-input" placeholder="{{ .UsernamePrompt | lower }}" {{ if .Username }} value="{{ .Username }}" {{ else }} autofocus {{ end }}/>
2016-08-25 20:03:41 +00:00
</div>
2016-12-01 20:18:12 +00:00
<div class="theme-form-row">
<div class="theme-form-label">
2016-08-25 20:03:41 +00:00
<label for="password">Password</label>
</div>
2016-12-01 20:18:12 +00:00
<input tabindex="2" required id="password" name="password" type="password" class="theme-form-input" placeholder="password" {{ if .Invalid }} autofocus {{ end }}/>
2016-08-25 20:03:41 +00:00
</div>
{{ if .Invalid }}
<div id="login-error" class="dex-error-box">
Invalid {{ .UsernamePrompt }} and password.
2016-08-25 20:03:41 +00:00
</div>
{{ end }}
<button tabindex="3" id="submit-login" type="submit" class="dex-btn theme-btn--primary">Login</button>
2016-08-25 20:03:41 +00:00
</form>
</div>
{{ template "footer.html" . }}