login.html 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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.css" th:href="@{/css/style.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.3.0}" 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. <script>
  20. if(window.top!==window.self){alert('未登录或登录超时。请重新登录');window.top.location=window.location};
  21. </script>
  22. </head>
  23. <body class="signin">
  24. <div class="signinpanel">
  25. <div class="row">
  26. <div class="col-sm-7">
  27. <div class="signin-info">
  28. <div class="logopanel m-b">
  29. <h1><img alt="[ 若依 ]" src="../static/ruoyi.png" th:src="@{/ruoyi.png}"></h1>
  30. </div>
  31. <div class="m-b"></div>
  32. <h4>欢迎使用 <strong>若依 后台管理系统</strong></h4>
  33. <ul class="m-b">
  34. <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> SpringBoot</li>
  35. <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Mybatis</li>
  36. <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Shiro</li>
  37. <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Thymeleaf</li>
  38. <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Bootstrap</li>
  39. </ul>
  40. <strong th:if="${@config.getKey('sys.account.registerUser')}">还没有账号? <a th:href="@{/register}">立即注册&raquo;</a></strong>
  41. </div>
  42. </div>
  43. <div class="col-sm-5">
  44. <form id="signupForm" autocomplete="off">
  45. <h4 class="no-margins">登录:</h4>
  46. <p class="m-t-md">你若不离不弃,我必生死相依</p>
  47. <input type="text" name="username" class="form-control uname" placeholder="用户名" value="admin" />
  48. <input type="password" name="password" class="form-control pword" placeholder="密码" value="admin123" />
  49. <div class="row m-t" th:if="${captchaEnabled==true}">
  50. <div class="col-xs-6">
  51. <input type="text" name="validateCode" class="form-control code" placeholder="验证码" maxlength="5" />
  52. </div>
  53. <div class="col-xs-6">
  54. <a href="javascript:void(0);" title="点击更换验证码">
  55. <img th:src="@{captcha/captchaImage(type=${captchaType})}" class="imgcode" width="85%"/>
  56. </a>
  57. </div>
  58. </div>
  59. <div class="checkbox-custom" th:classappend="${captchaEnabled==false} ? 'm-t'">
  60. <input type="checkbox" id="rememberme" name="rememberme"> <label for="rememberme">记住我</label>
  61. </div>
  62. <button class="btn btn-success btn-block" id="btnSubmit" data-loading="正在验证登录,请稍后...">登录</button>
  63. </form>
  64. </div>
  65. </div>
  66. <div class="signup-footer">
  67. <div class="pull-left">
  68. &copy; 2019 All Rights Reserved. RuoYi <br>
  69. </div>
  70. </div>
  71. </div>
  72. <script th:inline="javascript"> var ctx = [[@{/}]]; var captchaType = [[${captchaType}]]; </script>
  73. <!-- 全局js -->
  74. <script src="../static/js/jquery.min.js" th:src="@{/js/jquery.min.js}"></script>
  75. <script src="../static/js/bootstrap.min.js" th:src="@{/js/bootstrap.min.js}"></script>
  76. <!-- 验证插件 -->
  77. <script src="../static/ajax/libs/validate/jquery.validate.min.js" th:src="@{/ajax/libs/validate/jquery.validate.min.js}"></script>
  78. <script src="../static/ajax/libs/validate/messages_zh.min.js" th:src="@{/ajax/libs/validate/messages_zh.min.js}"></script>
  79. <script src="../static/ajax/libs/layer/layer.min.js" th:src="@{/ajax/libs/layer/layer.min.js}"></script>
  80. <script src="../static/ajax/libs/blockUI/jquery.blockUI.js" th:src="@{/ajax/libs/blockUI/jquery.blockUI.js}"></script>
  81. <script src="../static/ruoyi/js/ry-ui.js" th:src="@{/ruoyi/js/ry-ui.js?v=4.3.0}"></script>
  82. <script src="../static/ruoyi/login.js" th:src="@{/ruoyi/login.js}"></script>
  83. </body>
  84. </html>