You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.1 KiB

  1. {{template "base/head" .}}
  2. <div class="user signin openid">
  3. {{template "user/auth/signin_navbar" .}}
  4. <div class="ui container">
  5. {{template "base/alert" .}}
  6. <h4 class="ui top attached header center">
  7. <i class="fa fa-openid"></i>
  8. OpenID
  9. </h4>
  10. <div class="ui attached segment">
  11. <form class="ui form" action="{{.Link}}" method="post">
  12. {{.CsrfTokenHtml}}
  13. <div class="inline field">
  14. {{.i18n.Tr "auth.openid_signin_desc"}}
  15. </div>
  16. <div class="required inline field {{if .Err_OpenID}}error{{end}}">
  17. <label for="openid">
  18. <i class="fa fa-openid"></i>
  19. OpenID URI
  20. </label>
  21. <input id="openid" name="openid" value="{{.openid}}" autofocus required>
  22. </div>
  23. <div class="inline field">
  24. <label></label>
  25. <div class="ui checkbox">
  26. <label>{{.i18n.Tr "auth.remember_me"}}</label>
  27. <input name="remember" type="checkbox">
  28. </div>
  29. </div>
  30. <div class="inline field">
  31. <label></label>
  32. <button class="ui green button">{{.i18n.Tr "sign_in"}}</button>
  33. </div>
  34. </form>
  35. </div>
  36. </div>
  37. </div>
  38. {{template "base/footer" .}}