aboutsummaryrefslogtreecommitdiff
path: root/templates/user/active.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/active.tmpl')
-rw-r--r--templates/user/active.tmpl22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/user/active.tmpl b/templates/user/active.tmpl
new file mode 100644
index 00000000..758516d7
--- /dev/null
+++ b/templates/user/active.tmpl
@@ -0,0 +1,22 @@
+{{template "base/head" .}}
+{{template "base/navbar" .}}
+<div id="gogs-body" class="container">
+ <form action="/user/activate" method="post" class="form-horizontal gogs-card" id="gogs-login-card">
+ <h3>Active Your Account</h3>
+ {{if .IsActivatePage}}
+ {{if .ServiceNotEnabled}}
+ <p>Sorry, Register Mail Confirmation has been disabled.</p>
+ {{else}}
+ <p>New confirmation e-mail has been sent to <b>{{.SignedUser.Email}}</b>, please check your inbox within 3 days.</p>
+ {{end}}
+ {{else}}
+ <p>Hi, {{.SignedUser.Name}}, you have an unconfirmed email address(<b>{{.SignedUser.Email}}</b>). If you haven't received a confirmation e-mail or need to resend a new one, please click botton below.</p>
+ <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 resend your active e-mail</button>
+ </div>
+ </div>
+ {{end}}
+ </form>
+</div>
+{{template "base/footer" .}} \ No newline at end of file