reset_password.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {% extends "layout.html" %}
  2. {% block head %}
  3. {{ super() }}
  4. <style type="text/css">
  5. label>span {
  6. color: deepskyblue;
  7. }
  8. .btn,
  9. .content-box,
  10. .form-group>div>div,
  11. .form-control {
  12. border-radius: 0 !important;
  13. }
  14. .form-horizontal > .form-group {
  15. margin: 0;
  16. }
  17. html,body {
  18. height: 100%;
  19. }
  20. .page-box .server-message {
  21. padding: 35px 0;
  22. }
  23. body {
  24. overflow: hidden;
  25. }
  26. </style>
  27. {% endblock head %}
  28. {% block body %}
  29. <script type="text/javascript">
  30. $(document).ready(function() {
  31. $('body').addClass('add-transition');
  32. $('.add-page-transition').on('click', function(){
  33. var transAttr = $(this).attr('data-transition');
  34. $('.add-transition').attr('class', 'add-transition');
  35. $('.add-transition').addClass(transAttr);
  36. });
  37. });
  38. </script>
  39. <div class="center-vertical">
  40. <div class="center-content row wow">
  41. <form id="login_form" class="col-md-4 col-sm-5 col-xs-11 col-lg-3 center-margin" action="/reset_password/{{ token }}" method="post">
  42. <h3 class="text-center pad25B font-primary" style="font-family: 'serif'; opacity: 0.83; font-size: -webkit-xxx-large;">设置新密码</h3>
  43. <div id="login-form" class="content-box bg-default">
  44. <div class="content-box-wrapper pad20A">
  45. <div class="form-group">
  46. <div class="input-group">
  47. <span class="input-group-addon addon-inside bg-gray">
  48. <i class="glyph-icon icon-lock"></i>
  49. </span>
  50. <input type="password" class="form-control" id="password" name="password" placeholder="新密码">
  51. </div>
  52. </div>
  53. <div class="form-group" style="margin-bottom: 10px;">
  54. <button id="login_submit" class="btn btn-block btn-primary">下一步</button>
  55. </div>
  56. </div>
  57. </div>
  58. </form>
  59. </div>
  60. </div>
  61. {% endblock body %}