本站源代码
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.

37 lines
1.4KB

  1. {{template "base/head" .}}
  2. <div class="user signup">
  3. {{template "user/auth/signup_openid_navbar" .}}
  4. <div class="ui container">
  5. {{template "base/alert" .}}
  6. <h4 class="ui top attached header">
  7. {{.i18n.Tr "auth.openid_connect_title"}}
  8. </h4>
  9. <div class="ui attached segment">
  10. <p>
  11. {{.i18n.Tr "auth.openid_connect_desc"}}
  12. </p>
  13. <form class="ui form" action="{{.Link}}" method="post">
  14. {{.CsrfTokenHtml}}
  15. <div class="required inline field {{if .Err_UserName}}error{{end}}">
  16. <label for="user_name">{{.i18n.Tr "home.uname_holder"}}</label>
  17. <input id="user_name" name="user_name" value="{{.user_name}}" autofocus required>
  18. </div>
  19. <div class="required inline field {{if .Err_Password}}error{{end}}">
  20. <label for="password">{{.i18n.Tr "password"}}</label>
  21. <input id="password" name="password" type="password" value="{{.password}}" autocomplete="off" required>
  22. </div>
  23. <div class="inline field">
  24. <label for="openid">OpenID URI</label>
  25. <input id="openid" value="{{ .OpenID }}" readonly>
  26. </div>
  27. <div class="inline field">
  28. <label></label>
  29. <button class="ui green button">{{.i18n.Tr "auth.openid_connect_submit"}}</button>
  30. <a href="{{AppSubUrl}}/user/forgot_password">{{.i18n.Tr "auth.forgot_password"}}</a>
  31. </div>
  32. </form>
  33. </div>
  34. </div>
  35. </div>
  36. {{template "base/footer" .}}
上海开阖软件有限公司 沪ICP备12045867号-1