c2127e28fe86c57d23e04f9f66bdf33055804400.svn-base 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. <%@page contentType="text/html" pageEncoding="UTF-8"%>
  2. <%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
  4. <% String path = request.getContextPath();%>
  5. <html xmlns="http://www.w3.org/1999/xhtml">
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  8. <meta http-equiv="X-UA-Compatible" content="IE=9" ></meta>
  9. <title>QUI网页界面集成框架JAVA示例版</title>
  10. <!--框架必需start-->
  11. <link href="<%=path%>/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  12. <link href="<%=path%>/libs/skins/flatBlue/style.css" rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue" positionTarget="positionContent" selInputHeight="32" selButtonWidth="35" defaultSelWidth="200" fileBtnWidth="60" defaultFileInputWidth="200" defaultGridHeaderHeight="34" defaultGridRowHeight="38" defaultFontSize="14" defaultPageSelWidth="55" defaultFilterItemHeight="32" dialogWidthFix="0" defaultSelItemHeight="32" defaultFontFamily="宋体"/>
  13. <link href="<%=path%>/system/layout_flat/skin/style.css" rel="stylesheet" type="text/css" id="skin" skinPath="system/layout_flat/skin/"/>
  14. <script type="text/javascript" src="<%=path%>/libs/js/jquery.js"></script>
  15. <script type="text/javascript" src="<%=path%>/libs/js/language/cn.js"></script>
  16. <script type="text/javascript" src="<%=path%>/libs/js/main.js"></script>
  17. <!--框架必需end-->
  18. <!--引入弹窗组件start-->
  19. <script type="text/javascript" src="<%=path%>/libs/js/popup/drag.js"></script>
  20. <script type="text/javascript" src="<%=path%>/libs/js/popup/dialog.js"></script>
  21. <!--引入弹窗组件end-->
  22. <!--分隔条start-->
  23. <script type="text/javascript" src="<%=path%>/libs/js/nav/spliter.js"></script>
  24. <!--分隔条end-->
  25. <script>
  26. function bookmarksite(title, url){
  27. if (window.sidebar) // firefox
  28. window.sidebar.addPanel(title, url, "");
  29. else
  30. if (window.opera && window.print) { // opera
  31. var elem = document.createElement('a');
  32. elem.setAttribute('href', url);
  33. elem.setAttribute('title', title);
  34. elem.setAttribute('rel', 'sidebar');
  35. elem.click();
  36. }
  37. else
  38. if (document.all)// ie
  39. window.external.AddFavorite(url, title);
  40. }
  41. function exitHandler(){
  42. top.Dialog.confirm("确定要退出系统吗",function(){});
  43. }
  44. function lockScreen(){
  45. top.Dialog.confirm("确定要锁屏吗,锁屏后只有重新输入密码才能解除。",function(){
  46. openLockWindow();
  47. });
  48. }
  49. function openLockWindow(){
  50. var diag = new top.Dialog();
  51. diag.Title = "系统锁屏";
  52. diag.ID = "a1";
  53. diag.URL="<%=path%>/sample/fullform/lock.jsp";
  54. diag.Width=350;
  55. diag.Height=150;
  56. diag.ShowCloseButton=false;
  57. diag.ShowCancelButton=false;
  58. diag.ShowOkButton=false;
  59. diag.ButtonAlign="center";
  60. diag.AllowChangeIndex=false;
  61. diag.show();
  62. diag.addButton("btn1","注销系统",function(){
  63. top.Dialog.confirm("确定要退出系统吗",function(){window.location="<%=path%>/logout.action"});
  64. })
  65. diag.addButton("btn2","确定解锁",function(){
  66. top.document.getElementById("_DialogFrame_a1").contentWindow.validateForm();
  67. })
  68. $.post("<%=path%>/lockScreen.action");
  69. }
  70. function validate(){
  71. <c:if test="${isLockScreen != null && isLockScreen}">
  72. openLockWindow();
  73. </c:if>
  74. }
  75. function changeSkin(themeColor,skinName){
  76. top.Dialog.confirm("确定应用该皮肤吗?",function(){
  77. document.getElementById("sessionSkin").src="<%=path%>/system/layout/skin.jsp?skinName="+skinName+"&themeColor="+themeColor;
  78. })
  79. }
  80. $(function(){
  81. if(broswerFlag!="IE6"){
  82. var cookTip=jQuery.jCookie('closeTip');
  83. if(!cookTip){
  84. $("#lbox").tip({content: "分隔条现在可以左右拖拽啦!<span class='red'><a onclick='closeTip()'>我知道了</a></span>。",distanceY:100,distanceX:10,arrowDirection:"left",width:160,showCloseBtn:true,onClose:function(){
  85. jQuery.jCookie('closeTip',"sure");
  86. }});
  87. }
  88. }
  89. })
  90. function closeTip(){
  91. jQuery.jCookie('closeTip',"sure");
  92. $("#lbox").hideTip();
  93. }
  94. function backHome(){
  95. document.getElementById("frmleft").contentWindow.homeHandler();
  96. }
  97. </script>
  98. </head>
  99. <body onload="validate()">
  100. <div id="mainFrame">
  101. <!--头部与导航start-->
  102. <div id="hbox">
  103. <div id="bs_bannercenter">
  104. <div id="bs_bannerright">
  105. <div id="bs_bannerleft">
  106. <div class="bs_function">
  107. <a href="open.jsp" target="frmright" onclick="backHome()"><span class="icon_home hand">首页</span></a>
  108. <span class="icon_lock hand" onclick="lockScreen()">锁屏</span>
  109. <span class="icon_exit hand" onclick='top.Dialog.confirm("确定要退出系统吗",function(){window.location="<%=path%>/system/login/login_flat.html"});'>退出</span>
  110. </div>
  111. <div class="bs_userinfo">
  112. 欢迎用户 guest 访问测试
  113. </div>
  114. </div>
  115. </div>
  116. </div>
  117. <div id="bs_navcenter">
  118. <div id="bs_navleft">
  119. <div id="bs_navright">
  120. <div class="bs_nav">
  121. <div class="float_left padding_top2 padding_left5 white">
  122. 今天是
  123. <script>
  124. var weekDayLabels = new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六");
  125. var now = allGetServerTime();
  126. var year=now.getFullYear();
  127. var month=now.getMonth()+1;
  128. var day=now.getDate()
  129. var currentime = year+"年"+month+"月"+day+"日 "+weekDayLabels[now.getDay()]
  130. document.write(currentime)
  131. </script>
  132. </div>
  133. <div class="float_left" style="padding:2px 0 0 20px;" id="positionContent"></div>
  134. <div class="float_right padding_top2 padding_right5">
  135. <div class="bs_navleft">
  136. <li class="fontTitle">字号:</li>
  137. <li class="fontChange"><span><a href="javascript:;" setFont="16">大</a></span></li>
  138. <li class="fontChange"><span><a href="javascript:;" setFont="14">中</a></span></li>
  139. <li class="fontChange"><span><a href="javascript:;" setFont="12">小</a></span></li>
  140. <div class="clear"></div>
  141. </div>
  142. <div class="bs_navleft" style="padding-right:10px;">
  143. <li class="fontTitle">字体:</li>
  144. <li class="fontFamily"><span><a href="javascript:;" setFont="宋体">宋</a></span></li>
  145. <li class="fontFamily"><span><a href="javascript:;" setFont="微软雅黑">雅</a></span></li>
  146. <div class="clear"></div>
  147. </div>
  148. <span class="icon_fullscreen hand" id="fullSrceen" hideNav="true">开启全屏</span>
  149. </div>
  150. <div class="clear"></div>
  151. </div>
  152. </div>
  153. </div>
  154. </div>
  155. </div>
  156. <!--头部与导航end-->
  157. <div id="mainLayout" leftWidth="180">
  158. <div position="left">
  159. <div id="lbox">
  160. <div id="lbox_topcenter">
  161. <div id="lbox_topleft">
  162. <div id="lbox_topright">
  163. <div class="lbox_title">
  164. 操作菜单
  165. </div>
  166. </div>
  167. </div>
  168. </div>
  169. <div id="lbox_middlecenter">
  170. <div id="lbox_middleleft">
  171. <div id="lbox_middleright">
  172. <div id="bs_left" style="width:100%;">
  173. <IFRAME height="100%" width="100%" frameBorder=0 id=frmleft name=frmleft src="<%=path%>/system/layout_flat/left.jsp" allowTransparency="true"></IFRAME>
  174. </div>
  175. <!--更改左侧栏的宽度需要修改id="bs_left"的样式-->
  176. </div>
  177. </div>
  178. </div>
  179. <div id="lbox_bottomcenter">
  180. <div id="lbox_bottomleft">
  181. <div id="lbox_bottomright">
  182. <div class="lbox_foot"></div>
  183. </div>
  184. </div>
  185. </div>
  186. </div>
  187. </div>
  188. <div position="center">
  189. <div class="ali01 ver01" width="100%">
  190. <div id="rbox">
  191. <div id="rbox_topcenter">
  192. <div id="rbox_topleft">
  193. <div id="rbox_topright">
  194. </div>
  195. </div>
  196. </div>
  197. <div id="rbox_middlecenter">
  198. <div id="rbox_middleleft">
  199. <div id="rbox_middleright">
  200. <div id="bs_right">
  201. <IFRAME height="100%" width="100%" frameBorder=0 id=frmright name=frmright src="<%=path%>/system/layout_flat/open.jsp" allowTransparency="true"></IFRAME>
  202. </div>
  203. </div>
  204. </div>
  205. </div>
  206. <div id="rbox_bottomcenter" >
  207. <div id="rbox_bottomleft">
  208. <div id="rbox_bottomright">
  209. </div>
  210. </div>
  211. </div>
  212. </div>
  213. </div>
  214. </div>
  215. </div>
  216. <!--尾部区域start-->
  217. <div id="fbox">
  218. <div id="bs_footcenter">
  219. <div id="bs_footleft">
  220. <div id="bs_footright">
  221. 版权所有:<span class="underLine"><a href="http://www.quickui.net" target="_blank">http://www.quickui.net</a></span>
  222. </div>
  223. </div>
  224. </div>
  225. </div>
  226. </div>
  227. <!--尾部区域end-->
  228. <!--窗口任务栏区域start-->
  229. <div id="dialogTask" class="dialogTaskBg" style="display:none;"></div>
  230. <!--窗口任务栏区域end-->
  231. <!--浏览器resize事件修正start-->
  232. <div id="resizeFix"></div>
  233. <!--浏览器resize事件修正end-->
  234. <!--载进度条start-->
  235. <div class="progressBg" id="progress" style="display:none;"><div class="progressBar"></div></div>
  236. <!--载进度条end-->
  237. <iframe id="sessionSkin" src="" width="0" height="0" style="display:none;"></iframe>
  238. </body>
  239. </html>