index.html 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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">
  6. <meta name="renderer" content="webkit">
  7. <title>若依管理系统首页</title>
  8. <meta name="keywords" content="若依管理系统首页">
  9. <meta name="description" content="若依管理系统首页">
  10. <!--[if lt IE 9]>
  11. <meta http-equiv="refresh" content="0;ie.html"/>
  12. <![endif]-->
  13. <link th:href="@{favicon.ico}" rel="stylesheet"/>
  14. <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
  15. <link th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
  16. <link th:href="@{/css/animate.css}" rel="stylesheet"/>
  17. <link th:href="@{/css/style.css}" rel="stylesheet"/>
  18. <link th:href="@{/css/skins.css}" rel="stylesheet"/>
  19. <link th:href="@{/ruoyi/css/ry-ui.css?v=3.2.0}" rel="stylesheet"/>
  20. <style type="text/css">
  21. .nav > li:hover .dropdown-menu {display: block;}
  22. #content-main.max { height: calc(100% - 110px); overflow: hidden; width: 100%; height: 100%; left: 0px; position: absolute; top: 0px; z-index: 9998; margin: 0; }
  23. </style>
  24. </head>
  25. <body class="fixed-sidebar full-height-layout gray-bg" style="overflow: hidden" th:classappend="${@config.getKey('sys.index.skinName')}">
  26. <div id="wrapper">
  27. <!--左侧导航开始-->
  28. <nav class="navbar-default navbar-static-side" role="navigation">
  29. <div class="nav-close">
  30. <i class="fa fa-times-circle"></i>
  31. </div>
  32. <div class="sidebar-collapse">
  33. <ul class="nav" id="side-menu">
  34. <li class="logo">
  35. <span class="logo-lg">RuoYi</span>
  36. </li>
  37. <li>
  38. <div class="user-panel">
  39. <a class="menuItem" title="个人中心" th:href="@{/system/user/profile}">
  40. <div class="hide" th:text="个人中心"></div>
  41. <div class="pull-left image">
  42. <img th:src="(${user.avatar} == '') ? @{/img/profile.jpg} : @{/profile/avatar/} + ${user.avatar}" class="img-circle" alt="User Image">
  43. </div>
  44. </a>
  45. <div class="pull-left info">
  46. <p>[[${user.loginName}]]</p>
  47. <a href="#"><i class="fa fa-circle text-success"></i> 在线</a>
  48. <a th:href="@{logout}" style="padding-left:5px;"><i class="fa fa-sign-out text-danger"></i> 注销</a>
  49. </div>
  50. </div>
  51. </li>
  52. <li class="active">
  53. <a href="index.html"><i class="fa fa-home"></i> <span class="nav-label">主页</span> <span class="fa arrow"></span></a>
  54. <ul class="nav nav-second-level">
  55. <li class="active"><a class="menuItem" th:href="@{/system/main}">了解若依</a></li>
  56. </ul>
  57. </li>
  58. <li th:each="menu : ${menus}">
  59. <a href="#">
  60. <i class="fa fa fa-bar-chart-o" th:class="${menu.icon}"></i>
  61. <span class="nav-label" th:text="${menu.menuName}">一级菜单</span>
  62. <span class="fa arrow"></span>
  63. </a>
  64. <ul class="nav nav-second-level collapse">
  65. <li th:each="cmenu : ${menu.children}">
  66. <a th:if="${#lists.isEmpty(cmenu.children)}" class="menuItem" th:utext="${cmenu.menuName}" th:href="@{${cmenu.url}}">二级菜单</a>
  67. <a th:if="${not #lists.isEmpty(cmenu.children)}" href="#">[[${cmenu.menuName}]]<span class="fa arrow"></span></a>
  68. <ul th:if="${not #lists.isEmpty(cmenu.children)}" class="nav nav-third-level">
  69. <li th:each="emenu : ${cmenu.children}"><a class="menuItem" th:text="${emenu.menuName}" th:href="@{${emenu.url}}">三级菜单</a></li>
  70. </ul>
  71. </li>
  72. </ul>
  73. </li>
  74. </ul>
  75. </div>
  76. </nav>
  77. <!--左侧导航结束-->
  78. <!--右侧部分开始-->
  79. <div id="page-wrapper" class="gray-bg dashbard-1">
  80. <div class="row border-bottom">
  81. <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
  82. <div class="navbar-header">
  83. <a class="navbar-minimalize minimalize-styl-2" style="color:#FFF;" href="#" title="收起菜单">
  84. <i class="fa fa-bars"></i>
  85. </a>
  86. </div>
  87. <ul class="nav navbar-top-links navbar-right welcome-message">
  88. <li><a title="全屏显示" id="fullScreen"><i class="fa fa-arrows-alt"></i> 全屏显示</a></li>
  89. <li class="dropdown user-menu">
  90. <a href="javascript:" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">
  91. <img th:src="(${user.avatar} == '') ? @{/img/profile.jpg} : @{/profile/avatar/} + ${user.avatar}" class="user-image">
  92. <span class="hidden-xs">[[${user.userName}]]</span>
  93. </a>
  94. <ul class="dropdown-menu">
  95. <li class="mt5">
  96. <a th:href="@{/system/user/profile}" class="menuItem">
  97. <i class="fa fa-user"></i> 个人中心</a>
  98. </li>
  99. <li>
  100. <a onclick="resetPwd()" class="menuItem">
  101. <i class="fa fa-key"></i> 修改密码</a>
  102. </li>
  103. <li class="divider"></li>
  104. <li>
  105. <a th:href="@{logout}">
  106. <i class="fa fa-sign-out"></i> 退出登录</a>
  107. </li>
  108. </ul>
  109. </li>
  110. </ul>
  111. </nav>
  112. </div>
  113. <div class="row content-tabs">
  114. <button class="roll-nav roll-left tabLeft">
  115. <i class="fa fa-backward"></i>
  116. </button>
  117. <nav class="page-tabs menuTabs">
  118. <div class="page-tabs-content">
  119. <a href="javascript:;" class="active menuTab" data-id="/system/main">首页</a>
  120. </div>
  121. </nav>
  122. <button class="roll-nav roll-right tabRight">
  123. <i class="fa fa-forward"></i>
  124. </button>
  125. <div class="btn-group roll-nav roll-right">
  126. <button class="dropdown J_tabClose" data-toggle="dropdown">
  127. 页签操作<span class="caret"></span>
  128. </button>
  129. <ul role="menu" class="dropdown-menu dropdown-menu-right">
  130. <li><a class="tabCloseCurrent" href="javascript:void();">关闭当前</a></li>
  131. <li><a class="tabCloseOther" href="javascript:void();">关闭其他</a></li>
  132. <li><a class="tabCloseAll" href="javascript:void();">全部关闭</a></li>
  133. <li><a class="tabMaxCurrent" href="javascript:void();">全屏显示</a></li>
  134. </ul>
  135. </div>
  136. <a href="#" class="roll-nav roll-right tabReload"><i class="fa fa-refresh"></i> 刷新</a>
  137. </div>
  138. <a id="ax_close_max" class="ax_close_max" href="#" title="关闭全屏"> <i class="fa fa-times-circle-o"></i> </a>
  139. <div class="row mainContent" id="content-main">
  140. <iframe class="RuoYi_iframe" name="iframe0" width="100%" height="100%" data-id="/system/main"
  141. th:src="@{/system/main}" frameborder="0" seamless></iframe>
  142. </div>
  143. <div class="footer">
  144. <div class="pull-right">© [[${copyrightYear}]] RuoYi Copyright </div>
  145. </div>
  146. </div>
  147. <!--右侧部分结束-->
  148. </div>
  149. <!-- 全局js -->
  150. <script th:src="@{/js/jquery.min.js}"></script>
  151. <script th:src="@{/js/bootstrap.min.js}"></script>
  152. <script th:src="@{/js/plugins/metisMenu/jquery.metisMenu.js}"></script>
  153. <script th:src="@{/js/plugins/slimscroll/jquery.slimscroll.min.js}"></script>
  154. <script th:src="@{/ajax/libs/blockUI/jquery.blockUI.js}"></script>
  155. <script th:src="@{/ajax/libs/layer/layer.min.js}"></script>
  156. <script src="http://tajs.qq.com/stats?sId=62048022"></script>
  157. <script th:src="@{/ruoyi/js/ry-ui.js?v=3.2.0}"></script>
  158. <script th:src="@{/ruoyi/index.js}"></script>
  159. <script th:src="@{/ajax/libs/fullscreen/jquery.fullscreen.js}"></script>
  160. <script th:inline="javascript">
  161. var ctx = [[@{/}]];
  162. /*用户管理-重置密码*/
  163. function resetPwd() {
  164. var url = ctx + 'system/user/profile/resetPwd';
  165. $.modal.open("重置密码", url, '800', '500');
  166. }
  167. </script>
  168. </body>
  169. </html>