main.jsp 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <!doctype html>
  3. <html>
  4. <head>
  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. <%@ include file="common/head.jsp"%>
  11. <base href=" <%=basePath%>" />
  12. <script src="res/js/plugins/metisMenu/jquery.metisMenu.js"></script>
  13. <script src="res/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
  14. <script src="res/js/content.js" type="text/javascript"></script>
  15. <script src="res/js/hplus.js"></script>
  16. <script type="text/javascript" src="res/js/contabs.js"></script>
  17. <script type="text/javascript">
  18. //修改密码
  19. function changePwd(){
  20. $.openDlg({
  21. url:'user/transfer.cs?action=setPwd',
  22. title:'修改密码',
  23. width:'40%',
  24. height:'50%',
  25. });
  26. }
  27. $(function(){
  28. var attr=${user.attr1};
  29. if(attr=='0'){
  30. layer.open({
  31. type: 2,
  32. area: ['40%','50%'],
  33. fixed: false, //不固定
  34. resize: true,
  35. maxmin: true,
  36. shade: 0.6,
  37. title:'修改密码',
  38. content: 'user/transfer.cs?action=setPwd2',
  39. closeBtn:0,
  40. });
  41. }
  42. });
  43. </script>
  44. </head>
  45. <body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
  46. <div id="wrapper">
  47. <!--左侧导航开始-->
  48. <nav class="navbar-default navbar-static-side" role="navigation" >
  49. <div class="nav-close"><i class="fa fa-times-circle"></i>
  50. </div>
  51. <div class="sidebar-collapse">
  52. <ul class="nav" id="side-menu">
  53. <li class="nav-header">
  54. <div class="dropdown profile-element">
  55. <span><img alt="东旭营销平台后台管理" class="img-circle" src="res/img/DXlogo.png" /></span>
  56. <a data-toggle="dropdown" class="dropdown-toggle" href="#">
  57. <span class="clear">
  58. <span class="block m-t-xs"><strong class="font-bold">${user.name}</strong></span>
  59. <span class="text-muted text-xs block">${roleName} <b class="caret"></b></span>
  60. </span>
  61. </a>
  62. <ul class="dropdown-menu animated fadeInRight m-t-xs">
  63. <li><a class="J_menuItem" href="javascript:void(0);" onclick="changePwd();">修改密码</a>
  64. </li>
  65. <li class="divider"></li>
  66. <li><a href="mgr/logout.cs">安全退出</a>
  67. </li>
  68. </ul>
  69. </div>
  70. <div class="logo-element">H+
  71. </div>
  72. </li>
  73. <c:forEach items="${permissions }" var="p">
  74. <c:if test="${p.pid == 0 }">
  75. <li>
  76. <a href="#">
  77. <i class="fa fa fa-bar-chart-o"></i>
  78. <span class="nav-label">${p.menu_name }</span>
  79. <span class="fa arrow"></span>
  80. </a>
  81. <ul class="nav nav-second-level">
  82. <c:forEach items="${permissions }" var="p2">
  83. <c:if test="${p2.pid == p.menu_id}">
  84. <li> <a class="J_menuItem" href="${p2.url}?menuCode=${p2.menu_code}" code="${p2.menu_code }" >${p2.menu_name }</a> </li>
  85. </c:if>
  86. </c:forEach>
  87. </ul>
  88. </li>
  89. </c:if>
  90. </c:forEach>
  91. </ul>
  92. </div>
  93. </nav>
  94. <!--左侧导航结束-->
  95. <!--右侧部分开始-->
  96. <div id="page-wrapper" class="gray-bg dashbard-1">
  97. <div class="row border-bottom">
  98. <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
  99. <div class="navbar-header"><a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="javascript:return false;"><i class="fa fa-bars"></i> </a>
  100. </div>
  101. <ul class="nav navbar-top-links navbar-right">
  102. <li class="dropdown hidden-xs">
  103. <a class="right-sidebar-toggle" aria-expanded="false">
  104. <i class="fa fa-tasks"></i> 主题
  105. </a>
  106. </li>
  107. </ul>
  108. </nav>
  109. </div>
  110. <div class="row content-tabs">
  111. <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i>
  112. </button>
  113. <nav class="page-tabs J_menuTabs">
  114. <div class="page-tabs-content">
  115. <a href="javascript:void(0);" class="active J_menuTab" data-id="index_v1.jsp">首页</a>
  116. </div>
  117. </nav>
  118. <button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i>
  119. </button>
  120. <div class="btn-group roll-nav roll-right">
  121. <button class="dropdown J_tabClose" data-toggle="dropdown">关闭操作<span class="caret"></span>
  122. </button>
  123. <ul role="menu" class="dropdown-menu dropdown-menu-right">
  124. <li class="J_tabShowActive"><a>定位当前选项卡</a>
  125. </li>
  126. <li class="divider"></li>
  127. <li class="J_tabCloseAll"><a>关闭全部选项卡</a>
  128. </li>
  129. <li class="J_tabCloseOther"><a>关闭其他选项卡</a>
  130. </li>
  131. </ul>
  132. </div>
  133. <a href="mgr/logout.cs" class="roll-nav roll-right J_tabExit"><i class="fa fa fa-sign-out"></i> 退出</a>
  134. </div>
  135. <div class="row J_mainContent" id="content-main">
  136. <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="index_v1.jsp" frameborder="0" data-id="index_v1.jsp" seamless></iframe>
  137. </div>
  138. <div class="footer">
  139. <div class="pull-middle">&copy; 2018 <a href="http://www.aifengkeji.vip" target="_blank"></a>
  140. <!-- <div class="pull-right">&copy; 2014-2015 <a href="#" target="_blank">zihan's blog</a> -->
  141. </div>
  142. </div>
  143. </div>
  144. <!--右侧部分结束-->
  145. <!--右侧边栏开始-->
  146. <div id="right-sidebar">
  147. <div class="sidebar-container">
  148. <ul class="nav nav-tabs navs-3">
  149. <li class="active">
  150. <a data-toggle="tab" href="#tab-1">
  151. <i class="fa fa-gear"></i> 主题
  152. </a>
  153. </li>
  154. <%--<li class=""><a data-toggle="tab" href="#tab-2">
  155. 通知
  156. </a>
  157. </li>
  158. <li><a data-toggle="tab" href="#tab-3">
  159. 项目进度
  160. </a>
  161. </li>--%>
  162. </ul>
  163. <div class="tab-content">
  164. <div id="tab-1" class="tab-pane active">
  165. <div class="sidebar-title">
  166. <h3> <i class="fa fa-comments-o"></i> 主题设置</h3>
  167. <small><i class="fa fa-tim"></i> 你可以从这里选择和预览主题的布局和样式,这些设置会被保存在本地,下次打开的时候会直接应用这些设置。</small>
  168. </div>
  169. <div class="skin-setttings">
  170. <div class="title">主题设置</div>
  171. <div class="setings-item">
  172. <span>收起左侧菜单</span>
  173. <div class="switch">
  174. <div class="onoffswitch">
  175. <input type="checkbox" name="collapsemenu" class="onoffswitch-checkbox" id="collapsemenu" />
  176. <label class="onoffswitch-label" for="collapsemenu">
  177. <span class="onoffswitch-inner"></span>
  178. <span class="onoffswitch-switch"></span>
  179. </label>
  180. </div>
  181. </div>
  182. </div>
  183. <div class="setings-item">
  184. <span>固定顶部</span>
  185. <div class="switch">
  186. <div class="onoffswitch">
  187. <input type="checkbox" name="fixednavbar" class="onoffswitch-checkbox" id="fixednavbar" />
  188. <label class="onoffswitch-label" for="fixednavbar">
  189. <span class="onoffswitch-inner"></span>
  190. <span class="onoffswitch-switch"></span>
  191. </label>
  192. </div>
  193. </div>
  194. </div>
  195. <div class="setings-item">
  196. <span>
  197. 固定宽度
  198. </span>
  199. <div class="switch">
  200. <div class="onoffswitch">
  201. <input type="checkbox" name="boxedlayout" class="onoffswitch-checkbox" id="boxedlayout">
  202. <label class="onoffswitch-label" for="boxedlayout">
  203. <span class="onoffswitch-inner"></span>
  204. <span class="onoffswitch-switch"></span>
  205. </label>
  206. </div>
  207. </div>
  208. </div>
  209. <div class="title">皮肤选择</div>
  210. <div class="setings-item default-skin nb">
  211. <span class="skin-name ">
  212. <a href="#" class="s-skin-0">
  213. 默认皮肤
  214. </a>
  215. </span>
  216. </div>
  217. <div class="setings-item blue-skin nb">
  218. <span class="skin-name ">
  219. <a href="#" class="s-skin-1">
  220. 蓝色主题
  221. </a>
  222. </span>
  223. </div>
  224. <div class="setings-item yellow-skin nb">
  225. <span class="skin-name ">
  226. <a href="#" class="s-skin-3">
  227. 黄色/紫色主题
  228. </a>
  229. </span>
  230. </div>
  231. </div>
  232. </div>
  233. </div>
  234. </div>
  235. </div>
  236. <!--右侧边栏结束-->
  237. <!--mini聊天窗口开始-->
  238. <%--<div class="small-chat-box fadeInRight animated" >
  239. <div class="heading" draggable="true">
  240. <small class="chat-date pull-right">
  241. </small>消息提示
  242. </div>
  243. <div class="content" id="notify_msg">
  244. <div class="left">
  245. <div class="author-name">
  246. 通知 <small class="chat-date"> 08:45 </small>
  247. </div>
  248. <div class="chat-message">
  249. <br/>1.所有源码(未压缩、带注释版本);2.说明文档;
  250. <br/><a class="J_menuItem" href="role/list.cs">消息处理</a>
  251. </div>
  252. </div>
  253. </div>
  254. </div>--%>
  255. <%--<div id="small-chat">
  256. <span class="badge badge-warning pull-right">5</span>
  257. <a class="open-small-chat">
  258. <i class="fa fa-comments"></i>
  259. </a>
  260. </div>--%>
  261. <!--mini聊天窗口结束-->
  262. </div>
  263. </body>
  264. </html>