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

signin_phone.tmpl 2.2 kB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {{template "base/head" .}}
  2. <div class="user signin">
  3. {{template "user/auth/signin_navbar" .}}
  4. <div class="ui container">
  5. <div class="ui raised very padded text container segment">
  6. <style>
  7. .full.height{background-color: #F9F9F9;}
  8. .ui.left:not(.action){ float:none;}
  9. .ui.left{ float:none;}
  10. .ui.secondary.pointing.menu{ border-bottom:none;}
  11. </style>
  12. {{template "base/alert" .}}
  13. <div class="ui negative message" style="display:none;">
  14. <p></p>
  15. </div>
  16. <div class="ui centered grid">
  17. <div class="sixteen wide mobile ten wide tablet ten wide computer column">
  18. <div class="ui bottom aligned two column grid">
  19. <div class="column">
  20. <h2 class="ui header">
  21. {{if .LinkAccountMode}}
  22. {{.i18n.Tr "auth.oauth_signin_title"}}
  23. {{else}}
  24. {{.i18n.Tr "auth.login_userpass"}}
  25. {{end}}
  26. </h2>
  27. </div>
  28. {{if .ShowRegistrationButton}}
  29. <div class="ui right floated column">
  30. <a href="{{AppSubUrl}}/user/sign_up">{{.i18n.Tr "auth.sign_up_now" | Str2html}}</a>
  31. </div>
  32. {{end}}
  33. </div>
  34. <div class="ui grid">
  35. <div class="column">
  36. <form class="ui form" action="/user/login/phone" method="post">
  37. {{.CsrfTokenHtml}}
  38. {{if .EnablePhone }}
  39. <div class="use-type" usetype="1" autofocus="true">
  40. {{template "user/auth/phone_verify" .}}
  41. </div>
  42. {{end}}
  43. <div class="two fields inline">
  44. <div class="field">
  45. <div class="ui checkbox">
  46. <label>{{.i18n.Tr "auth.remember_me"}}</label>
  47. <input name="remember" type="checkbox">
  48. </div>
  49. </div>
  50. <div class="field" style="padding-right: 0; text-align: right;">
  51. <a href="{{AppSubUrl}}/user/forgot_password?type=phone">{{.i18n.Tr "auth.forgot_password"}}</a>
  52. </div>
  53. </div>
  54. <div class="ui hidden divider"></div>
  55. <div class="center aligned field">
  56. <button class="fluid large ui blue button">
  57. {{.i18n.Tr "sign_in"}}
  58. </button>
  59. </div>
  60. </form>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. {{template "base/footer" .}}