aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-19 09:24:02 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-19 09:24:02 -0400
commita2fbb246151ce722a30d932dd73a9ecc76b020e9 (patch)
treea356ce201ddf77a0b9c2511c36781735a4ce515d /templates/user
parentde087c7b4a31cb0643d5432ec9d6b26e208baff2 (diff)
downloadgitea-a2fbb246151ce722a30d932dd73a9ecc76b020e9.tar.gz
gitea-a2fbb246151ce722a30d932dd73a9ecc76b020e9.zip
Add active page
Diffstat (limited to 'templates/user')
-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 0000000000..758516d779
--- /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