2016-08-26 01:33:41 +05:30
|
|
|
{{ template "header.html" . }}
|
|
|
|
|
2016-12-02 01:48:12 +05:30
|
|
|
<div class="theme-panel">
|
|
|
|
<h2 class="theme-heading">Log in to Your Account</h2>
|
2016-08-26 01:33:41 +05:30
|
|
|
<form method="post" action="{{ .PostURL }}">
|
2016-12-02 01:48:12 +05:30
|
|
|
<div class="theme-form-row">
|
|
|
|
<div class="theme-form-label">
|
2017-11-07 14:58:21 +05:30
|
|
|
<label for="userid">{{ .UsernamePrompt }}</label>
|
2016-08-26 01:33:41 +05:30
|
|
|
</div>
|
2017-11-07 14:58:21 +05:30
|
|
|
<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-26 01:33:41 +05:30
|
|
|
</div>
|
2016-12-02 01:48:12 +05:30
|
|
|
<div class="theme-form-row">
|
|
|
|
<div class="theme-form-label">
|
2016-08-26 01:33:41 +05:30
|
|
|
<label for="password">Password</label>
|
|
|
|
</div>
|
2016-12-02 01:48:12 +05:30
|
|
|
<input tabindex="2" required id="password" name="password" type="password" class="theme-form-input" placeholder="password" {{ if .Invalid }} autofocus {{ end }}/>
|
2016-08-26 01:33:41 +05:30
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ if .Invalid }}
|
2017-10-10 15:08:14 +05:30
|
|
|
<div id="login-error" class="dex-error-box">
|
2017-11-07 14:58:21 +05:30
|
|
|
Invalid {{ .UsernamePrompt }} and password.
|
2016-08-26 01:33:41 +05:30
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|
2017-10-10 15:08:14 +05:30
|
|
|
<button tabindex="3" id="submit-login" type="submit" class="dex-btn theme-btn--primary">Login</button>
|
2016-08-26 01:33:41 +05:30
|
|
|
|
|
|
|
</form>
|
2017-11-09 20:50:20 +05:30
|
|
|
{{ if .BackLink }}
|
|
|
|
<div class="theme-link-back">
|
2020-11-16 16:59:14 +05:30
|
|
|
<a class="dex-subtle-text" href="{{ .BackLink }}">Select another login method.</a>
|
2017-11-09 20:50:20 +05:30
|
|
|
</div>
|
|
|
|
{{ end }}
|
2016-08-26 01:33:41 +05:30
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ template "footer.html" . }}
|