index.jsp 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
  3. <%
  4. String path = request.getContextPath();
  5. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  6. %>
  7. <!DOCTYPE html>
  8. <html>
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  11. <!-- 避免IE使用兼容模式 -->
  12. <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
  13. <meta name="renderer" content="webkit">
  14. <meta name="keywords" content='easyui,jui,jquery easyui,easyui demo,easyui中文'/>
  15. <meta name="description" content='车闸管理系统'/>
  16. <title>车闸管理系统</title>
  17. <!-- 浏览器标签图片 -->
  18. <link rel="shortcut icon" href="../image/2.png"/>
  19. <!-- TopJUI框架样式 -->
  20. <link type="text/css" href="../topjui/css/topjui.core.min.css" rel="stylesheet">
  21. <link type="text/css" href="../topjui/themes/default/topjui.blue.css" rel="stylesheet" id="dynamicTheme"/>
  22. <!-- FontAwesome字体图标 -->
  23. <link type="text/css" href="../static/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
  24. <!-- jQuery相关引用 -->
  25. <script type="text/javascript" src="../static/plugins/jquery/jquery.min.js"></script>
  26. <script type="text/javascript" src="../static/plugins/jquery/jquery.cookie.js"></script>
  27. <!-- TopJUI框架配置 -->
  28. <script type="text/javascript" src="../static/public/js/topjui.config.js"></script>
  29. <!-- TopJUI框架核心 -->
  30. <script type="text/javascript" src="../topjui/js/topjui.core.min.js"></script>
  31. <!-- TopJUI中文支持 -->
  32. <script type="text/javascript" src="../topjui/js/locale/topjui.lang.zh_CN.js"></script>
  33. <!-- 首页js -->
  34. <script type="text/javascript" src="../static/public/js/topjui.index.js" charset="utf-8"></script>
  35. </head>
  36. <body>
  37. <script>
  38. function helpdocument(){
  39. var date=new Date();
  40. var url="<%=request.getContextPath()%>/helpdocument/help.doc";
  41. window.location.href=url;
  42. }
  43. function connection() {
  44. var opts = {
  45. id: 'pwdDialog',
  46. title: '扫一扫加微信',
  47. width: 450,
  48. height: 455,
  49. href: 'connection.html',
  50. };
  51. $('#' + opts.id).iDialog('openDialog', opts);
  52. };
  53. function logout(){
  54. $.ajax({
  55. type:"post",
  56. url:"loginloginout.action",
  57. success:function () {
  58. window.location.href="${pageContext.request.contextPath}/carstop/jsp/login.jsp";
  59. },
  60. error:function () {
  61. alert("2");
  62. }
  63. });
  64. }
  65. function updatePwd(){
  66. /*var opts = {
  67. id: 'pDialog',
  68. title: '修密码',
  69. width: 450,
  70. height: 455,
  71. href: 'modifyPassword.html',
  72. };*/
  73. var opts = {
  74. id: 'adminInfo',
  75. title: '修改密码',
  76. iconCls: 'fa fa-binoculars',
  77. href: "adminInfo.html",
  78. height:400,
  79. width:500,
  80. };
  81. $('#' + opts.id).iDialog('openDialog', opts);
  82. }
  83. </script>
  84. <style>
  85. #iframerRight{
  86. width: 50%;
  87. height: 100%;
  88. float: right;
  89. }
  90. #iframeLeft{
  91. width: 50%;
  92. height: 100%;
  93. float: left;
  94. }
  95. </style>
  96. <div id="loading" class="loading-wrap">
  97. <div class="loading-content">
  98. <div class="loading-round"></div>
  99. <div class="loading-dot"></div>
  100. </div>
  101. </div>
  102. <div id="mm" class="submenubutton" style="width: 140px;">
  103. <div id="mm-tabclose" name="6" iconCls="fa fa-refresh">刷新</div>
  104. <div class="menu-sep"></div>
  105. <div id="Div1" name="1" iconCls="fa fa-close">关闭</div>
  106. <div id="mm-tabcloseother" name="3">关闭其他</div>
  107. <div id="mm-tabcloseall" name="2">关闭全部</div>
  108. <div class="menu-sep"></div>
  109. <div id="mm-tabcloseright" name="4">关闭右侧标签</div>
  110. <div id="mm-tabcloseleft" name="5">关闭左侧标签</div>
  111. <div class="menu-sep"></div>
  112. <div id="mm-newwindow" name="7">新窗口中打开</div>
  113. </div>
  114. <div data-toggle="topjui-layout" data-options="id:'index_layout',fit:true">
  115. <div id="north" class="banner" data-options="region:'north',border:false,split:false"
  116. style="height: 50px; padding:0;margin:0; overflow: hidden;">
  117. <table style="float:left;border-spacing:0px;">
  118. <tr>
  119. <td class="webname">
  120. <span class="fa fa-automobile" style="font-size:26px; padding-right:8px;"></span>车闸管理系统
  121. </td>
  122. <td class="collapseMenu" style="text-align: center;cursor: pointer;">
  123. <span class="fa fa-chevron-circle-left" style="font-size: 18px;"></span>
  124. </td>
  125. <td>
  126. <table id="topmenucontent" cellpadding="0" cellspacing="0">
  127. <td id="1" title="生产管理" class="topmenu selected systemName">
  128. <a class="l-btn-text bannerMenu" href="javascript:void(0)">
  129. <p>
  130. <lable class="fa fa-gears"></lable>
  131. </p>
  132. <p><span style="white-space:nowrap;">车闸管理</span></p>
  133. </a>
  134. <a class="l-btn-text bannerMenu" href="javascript:void(0)">
  135. <p>
  136. <lable class="fa fa-tree" style="color: #F7B824;"></lable>
  137. </p>
  138. <p><span style="white-space:nowrap;">友情链接</span></p>
  139. </a>
  140. <a class="l-btn-text bannerMenu" href="javascript:void(0)">
  141. <p>
  142. <lable class="fa fa-home" style="color: #5FB878;"></lable>
  143. </p>
  144. <p><span style="white-space:nowrap;">官方网站</span></p>
  145. </a>
  146. <a class="l-btn-text bannerMenu" href="javascript:void(0)" >
  147. <p>
  148. <lable class="fa fa-wechat"></lable>
  149. </p>
  150. <p><span style="white-space:nowrap;">交流社区</span></p>
  151. </a>
  152. </td>
  153. </table>
  154. </td>
  155. </tr>
  156. </table>
  157. <span style="float: right; padding-right: 10px; height: 50px; line-height: 50px;">
  158. <!-- <a href="javascript:connection()" data-toggle="topjui-menubutton"
  159. data-options="iconCls:'fa fa-user',hasDownArrow:false"
  160. style="color:#fff;">联系我们帮助</a>| -->
  161. <!-- <a href="javascript:void(0)" onclick="logout()" data-toggle="topjui-menubutton"
  162. data-options="iconCls:'fa fa',hasDownArrow:false" style="color:#fff;">查看更新</a>-->
  163. <a href="javascript:void(0)" data-toggle="topjui-menubutton"
  164. data-options="menu:'#con',iconCls:'fa fa-user',hasDownArrow:true"
  165. style="color:#fff;">联系我们帮助</a>|
  166. <div id="con" style="width:37px;">
  167. <div data-options="iconCls:'fa fa-info-circle'" onclick="javascript:connection()">联系我们</div>
  168. <div data-options="iconCls:'fa fa-key'" onclick="javascript:helpdocument()">下载帮助文档</div>
  169. </div>
  170. <a href="javascript:void(0)" id="mb3" data-toggle="topjui-menubutton"
  171. data-options="menu:'#mm3',iconCls:'fa fa-cog',hasDownArrow:true" style="color:#fff;">设置</a>
  172. <div id="mm3" style="width:74px;">
  173. <!-- <div data-options="iconCls:'fa fa-info-circle'" onclick="javascript:modifyPwd(0)">个人信息</div>
  174. <div class="menu-sep"></div> -->
  175. <div data-options="iconCls:'fa fa-key'" onclick="javascript:updatePwd()">修改密码</div>
  176. </div>|
  177. <a href="javascript:void(0)" id="mb2" data-toggle="topjui-menubutton"
  178. data-options="menu:'#mm2',iconCls:'fa fa-tree',hasDownArrow:true" style="color:#fff;">主题</a>|
  179. <div id="mm2" style="width:180px;">
  180. <div data-options="iconCls:'fa fa-tree blue'" onclick="changeTheme('blue')">默认主题</div>
  181. <div data-options="iconCls:'fa fa-tree'" onclick="changeTheme('black')">黑色主题</div>
  182. <div data-options="iconCls:'fa fa-tree'" onclick="changeTheme('blacklight')">黑色主题-亮</div>
  183. <div data-options="iconCls:'fa fa-tree red'" onclick="changeTheme('red')">红色主题</div>
  184. <div data-options="iconCls:'fa fa-tree red'" onclick="changeTheme('redlight')">红色主题-亮</div>
  185. <div data-options="iconCls:'fa fa-tree green'" onclick="changeTheme('green')">绿色主题</div>
  186. <div data-options="iconCls:'fa fa-tree green'" onclick="changeTheme('greenlight')">绿色主题-亮</div>
  187. <div data-options="iconCls:'fa fa-tree purple'" onclick="changeTheme('purple')">紫色主题</div>
  188. <div data-options="iconCls:'fa fa-tree purple'" onclick="changeTheme('purplelight')">紫色主题-亮</div>
  189. <div data-options="iconCls:'fa fa-tree blue'" onclick="changeTheme('blue')">蓝色主题</div>
  190. <div data-options="iconCls:'fa fa-tree blue'" onclick="changeTheme('bluelight')">蓝色主题-亮</div>
  191. <div data-options="iconCls:'fa fa-tree orange'" onclick="changeTheme('yellow')">橙色主题</div>
  192. <div data-options="iconCls:'fa fa-tree orange'" onclick="changeTheme('yellowlight')">橙色主题-亮</div>
  193. </div>
  194. <a href="javascript:void(0)" onclick="logout()" data-toggle="topjui-menubutton"
  195. data-options="iconCls:'fa fa-sign-out',hasDownArrow:false" style="color:#fff;">注销</a>
  196. </span>
  197. </div>
  198. <div id="west"
  199. data-options="region:'west',split:true,width:230,border:false,headerCls:'border_right',bodyCls:'border_right'"
  200. title="" iconCls="fa fa-dashboard">
  201. <div id="RightAccordion" class="topjui-accordion"></div>
  202. </div>
  203. <div id="center" data-options="region:'center',border:false" style="overflow:hidden;">
  204. <div id="index_tabs" style="width:100%;height:100%">
  205. <div title="系统首页" iconCls="fa fa-home" data-options="border:true,iframe:true,
  206. content:'<iframe src=\'../jsp/new/center.jsp\' scrolling=\'auto\' frameborder=\'0\' style=\'width:100%;height:100%;\'></iframe>'"></div>
  207. </div>
  208. </div>
  209. <div data-options="region:'south',border:true"
  210. style="text-align:center;height:30px;line-height:30px;border-bottom:0;overflow:hidden;">
  211. <span style="float:left;padding-left:5px;width:30%;text-align: left;">登录用户名:${sessionScope.admin.admin_name }</span>
  212. <span style="padding-right:5px;width:40%">
  213. <a href="http://www.0791youxi.com" target="_blank"></a>
  214. <!-- <a href="http://www.miitbeian.gov.cn" target="_blank"></a> -->
  215. </span>
  216. <span style="float:right;padding-right:5px;width:30%;text-align: right;">版本:v3.3.0</span>
  217. </div>
  218. </div>
  219. <!--[if lte IE 8]>
  220. <div id="ie6-warning">
  221. <p>您正在使用低版本浏览器,在本页面可能会导致部分功能无法使用,建议您升级到
  222. <a href="http://www.microsoft.com/china/windows/internet-explorer/" target="_blank">IE9或以上版本的浏览器</a>
  223. 或使用<a href="http://se.360.cn/" target="_blank">360安全浏览器</a>的极速模式浏览
  224. </p>
  225. </div>
  226. <![endif]-->
  227. </body>
  228. </html>