This repository has been archived on 2022-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
dex/static/html/send-reset-password.html

38 lines
1.1 KiB
HTML
Raw Normal View History

{{ template "header.html" }}
2015-08-18 05:57:27 +05:30
<div class="panel">
{{ if .EmailSent }}
2015-08-18 05:57:27 +05:30
<h2 class="heading">Thank you, please check your email!</h2>
<div class="explain">
2015-08-18 05:57:27 +05:30
{{ .Email }} has been sent an email with instructions to reset your password.
</div>
2015-08-18 05:57:27 +05:30
{{ else }}
2015-08-18 05:57:27 +05:30
<h2 class="heading">Reset your password </h2>
<div class="explain">We will send you an email with a link to reset your password.</div>
<form id="sendResetPasswordForm" method="POST" action="/send-reset-password">
<div class="form-row">
<div class="input-desc">
<label for="email">Email Address</label>
2015-08-18 05:57:27 +05:30
</div>
<input required id="email" class="input-box" type="text" name="email" placeholder="email" value="" autofocus />
</div>
{{ if .Error }}
<div class="error-box">{{ .Message }}</div>
2015-08-18 05:57:27 +05:30
{{ end }}
<button type="submit" class="btn btn-primary">Send Reset Link</button>
<input type="hidden" name="redirect_uri" value="{{ .RedirectURL }}" />
<input type="hidden" name="client_id" value="{{ .ClientID }}" />
</form>
{{ end }}
</div>
{{ template "footer.html" }}