summaryrefslogtreecommitdiffstats
path: root/templates/user/forgot_passwd.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/forgot_passwd.tmpl')
-rw-r--r--templates/user/forgot_passwd.tmpl32
1 files changed, 0 insertions, 32 deletions
diff --git a/templates/user/forgot_passwd.tmpl b/templates/user/forgot_passwd.tmpl
deleted file mode 100644
index a099ff2744..0000000000
--- a/templates/user/forgot_passwd.tmpl
+++ /dev/null
@@ -1,32 +0,0 @@
-{{template "base/head" .}}
-{{template "base/navbar" .}}
-<div id="body" class="container">
- <form action="/user/forget_password" method="post" class="form-horizontal card" id="login-card">
- {{.CsrfTokenHtml}}
- <h3>Reset Your Password</h3>
- <div class="alert alert-danger form-error{{if .HasError}}{{else}} hidden{{end}}">{{.ErrorMsg}}</div>
- {{if .IsResetSent}}
- <p>A confirmation e-mail has been sent to <b>{{.Email}}</b>, please check your inbox within {{.Hours}} hours.</p>
- <hr/>
- <a href="http://{{Mail2Domain .Email}}" class="btn btn-lg btn-success">Sign in to your e-mail</a>
- {{else if .IsResetRequest}}
- <div class="form-group {{if .Err_Email}}has-error has-feedback{{end}}">
- <label class="col-md-3 control-label">Email: </label>
- <div class="col-md-7">
- <input name="email" class="form-control" placeholder="Type your e-mail address" required="required">
- </div>
- </div>
- <hr/>
- <div class="form-group">
- <div class="col-md-offset-4 col-md-6">
- <button type="submit" class="btn btn-lg btn-primary">Click here to send reset confirmation e-mail</button>
- </div>
- </div>
- {{else if .IsResetDisable}}
- <p>Sorry, mail service is not enabled.</p>
- {{else if .ResendLimited}}
- <p>Sorry, you are sending e-mail too frequently, please wait 3 minutes.</p>
- {{end}}
- </form>
-</div>
-{{template "base/footer" .}} \ No newline at end of file