active.tmpl 1.0 KB

1234567891011121314151617181920212223
  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>Activate 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. <hr/>
  15. <div class="form-group">
  16. <div class="col-md-offset-4 col-md-6">
  17. <button type="submit" class="btn btn-lg btn-primary">Click here to resend your active e-mail</button>
  18. </div>
  19. </div>
  20. {{end}}
  21. </form>
  22. </div>
  23. {{template "base/footer" .}}