register.html 4.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!DOCTYPE html>
  2. <html lang="zh" xmlns:th="http://www.thymeleaf.org">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
  6. <title>注册若依系统</title>
  7. <meta name="description" content="若依后台管理框架">
  8. <link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
  9. <link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
  10. <link href="../static/css/style.min.css" th:href="@{/css/style.min.css}" rel="stylesheet"/>
  11. <link href="../static/css/login.min.css" th:href="@{/css/login.min.css}" rel="stylesheet"/>
  12. <link href="../static/ruoyi/css/ry-ui.css" th:href="@{/ruoyi/css/ry-ui.css?v=4.7.1}" rel="stylesheet"/>
  13. <!-- 360浏览器急速模式 -->
  14. <meta name="renderer" content="webkit">
  15. <!-- 避免IE使用兼容模式 -->
  16. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  17. <link rel="shortcut icon" href="../static/favicon.ico" th:href="@{favicon.ico}"/>
  18. <style type="text/css">label.error { position:inherit; }</style>
  19. </head>
  20. <body class="signin">
  21. <div class="signinpanel">
  22. <div class="row">
  23. <div class="col-sm-7">
  24. <div class="signin-info">
  25. <div class="logopanel m-b">
  26. <h1><img alt="[ 若依 ]" src="../static/ruoyi.png" th:src="@{/ruoyi.png}"></h1>
  27. </div>
  28. <div class="m-b"></div>
  29. <h4>欢迎使用 <strong>若依 后台管理系统</strong></h4>
  30. <ul class="m-b">
  31. <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> SpringBoot</li>
  32. <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Mybatis</li>
  33. <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Shiro</li>
  34. <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Thymeleaf</li>
  35. <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Bootstrap</li>
  36. </ul>
  37. <strong>已经注册过? <a th:href="@{/login}">直接登录&raquo;</a></strong>
  38. </div>
  39. </div>
  40. <div class="col-sm-5">
  41. <form id="registerForm" autocomplete="off">
  42. <h4 class="no-margins">注册:</h4>
  43. <p class="m-t-md">你若不离不弃,我必生死相依</p>
  44. <input type="text" name="username" class="form-control uname" placeholder="用户名" maxlength="20" />
  45. <input type="password" name="password" class="form-control pword" placeholder="密码" maxlength="20" />
  46. <input type="password" name="confirmPassword" class="form-control pword" placeholder="确认密码" maxlength="20" />
  47. <div class="row m-t" th:if="${captchaEnabled==true}">
  48. <div class="col-xs-6">
  49. <input type="text" name="validateCode" class="form-control code" placeholder="验证码" maxlength="5" >
  50. </div>
  51. <div class="col-xs-6">
  52. <a href="javascript:void(0);" title="点击更换验证码">
  53. <img th:src="@{/captcha/captchaImage(type=${captchaType})}" class="imgcode" width="85%"/>
  54. </a>
  55. </div>
  56. </div>
  57. <div class="checkbox-custom" th:classappend="${captchaEnabled==false} ? 'm-t'">
  58. <input type="checkbox" id="acceptTerm" name="acceptTerm"> <label for="acceptTerm">我已阅读并同意</label>
  59. <a href="https://gitee.com/y_project/RuoYi/blob/master/README.md" target="_blank">使用条款</a>
  60. </div>
  61. <button class="btn btn-success btn-block" id="btnSubmit" data-loading="正在验证注册,请稍候...">注册</button>
  62. </form>
  63. </div>
  64. </div>
  65. <div class="signup-footer">
  66. <div class="pull-left">
  67. &copy; 2018-2021 All Rights Reserved. RuoYi <br>
  68. </div>
  69. </div>
  70. </div>
  71. <script th:inline="javascript"> var ctx = [[@{/}]]; var captchaType = [[${captchaType}]]; </script>
  72. <!-- 全局js -->
  73. <script src="../static/js/jquery.min.js" th:src="@{/js/jquery.min.js}"></script>
  74. <script src="../static/ajax/libs/validate/jquery.validate.min.js" th:src="@{/ajax/libs/validate/jquery.validate.min.js}"></script>
  75. <script src="../static/ajax/libs/layer/layer.min.js" th:src="@{/ajax/libs/layer/layer.min.js}"></script>
  76. <script src="../static/ajax/libs/blockUI/jquery.blockUI.js" th:src="@{/ajax/libs/blockUI/jquery.blockUI.js}"></script>
  77. <script src="../static/ruoyi/js/ry-ui.js" th:src="@{/ruoyi/js/ry-ui.js?v=4.7.1}"></script>
  78. <script src="../static/ruoyi/register.js" th:src="@{/ruoyi/register.js}"></script>
  79. </body>
  80. </html>