active.tmpl 1.0 KB

12345678910111213141516171819202122
  1. {{template "base/head" .}}
  2. {{template "base/navbar" .}}
  3. <div id="gogs-body" class="container">
  4. <form action="/user/activate" method="post" class="form-horizontal gogs-card" id="gogs-login-card">
  5. <h3>Active Your Account</h3>
  6. {{if .IsActivatePage}}
  7. {{if .ServiceNotEnabled}}
  8. <p>Sorry, Register Mail Confirmation has been disabled.</p>
  9. {{else}}
  10. <p>New confirmation e-mail has been sent to <b>{{.SignedUser.Email}}</b>, please check your inbox within 3 days.</p>
  11. {{end}}
  12. {{else}}
  13. <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>
  14. <div class="form-group">
  15. <div class="col-md-offset-4 col-md-6">
  16. <button type="submit" class="btn btn-lg btn-primary">Click here to resend your active e-mail</button>
  17. </div>
  18. </div>
  19. {{end}}
  20. </form>
  21. </div>
  22. {{template "base/footer" .}}