sysNavigation.jsp 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <%
  4. request.setCharacterEncoding("utf-8");
  5. String path = request.getContextPath();
  6. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  7. %>
  8. <!DOCTYPE html>
  9. <html>
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  12. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-all-gray-sysnavigation.css" type="text/css"></link>
  13. <link rel="stylesheet" href="<%=basePath %>resource/css/main-sysnavigation.css" type="text/css"></link>
  14. <link rel="stylesheet" href="<%=basePath %>resource/css/tree.css" type="text/css"></link>
  15. <link rel="stylesheet" type="text/css" href="<%=basePath %>resource/ux/css/CheckHeader.css" />
  16. <style>
  17. .custom .x-grid-row .x-grid-cell {
  18. color: null;
  19. font: normal 11px tahoma, arial, verdana, sans-serif;
  20. background-color: #f1f1f1;
  21. height: 26px;
  22. line-height: 26px;
  23. border: 1px solid white !important;
  24. }
  25. .x-tree-arrows .x-tree-elbow-plus,.x-tree-arrows .x-tree-elbow-minus,.x-tree-arrows .x-tree-elbow-end-plus,.x-tree-arrows .x-tree-elbow-end-minus
  26. {
  27. background-image: url('../../resource2/resources/ext/resources/themes/images/gray/tree/arrows.gif')
  28. }
  29. .tree-nav-close {
  30. background-image: url('../../resource/images/icon/trash.png');
  31. float:left;
  32. margin-top:-17px;
  33. width:16px;
  34. }
  35. .x-tree-panel .x-grid-row .x-grid-cell-inner {
  36. cursor: default;
  37. }
  38. .x-btn-default-toolbar-small-icon-text-left .x-btn-inner {
  39. line-height: 20px !important;
  40. }
  41. </style>
  42. <script type="text/javascript" src="<%=basePath %>resource/ext/4.2/ext-all.js"></script>
  43. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  44. <script type="text/javascript" src="<%=basePath %>resource/ux/CheckColumn.js"></script>
  45. <script type="text/javascript">
  46. var caller = "SysNavigation";
  47. Ext.Loader.setConfig({
  48. enabled: true
  49. });//开启动态加载
  50. Ext.application({
  51. name: 'erp',//为应用程序起一个名字,相当于命名空间
  52. appFolder: basePath+'app',//app文件夹所在路径
  53. controllers: [//声明所用到的控制层
  54. 'ma.SysNavigation'
  55. ],
  56. launch: function() {
  57. Ext.create('erp.view.ma.SysNavigation');//创建视图
  58. }
  59. });
  60. </script>
  61. </head>
  62. <body >
  63. </body>
  64. </html>