sysNavigation.jsp 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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.css" type="text/css"></link>
  13. <link rel="stylesheet" href="<%=basePath %>resource/css/main.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. .x-tree-panel .x-grid-row .x-grid-cell-inner {
  30. cursor: default;
  31. }
  32. </style>
  33. <script type="text/javascript" src="<%=basePath %>resource/ext/4.2/ext-all.js"></script>
  34. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  35. <script type="text/javascript" src="<%=basePath %>resource/ux/CheckColumn.js"></script>
  36. <script type="text/javascript">
  37. var caller = "SysNavigation";
  38. Ext.Loader.setConfig({
  39. enabled: true
  40. });//开启动态加载
  41. Ext.application({
  42. name: 'erp',//为应用程序起一个名字,相当于命名空间
  43. appFolder: basePath+'app',//app文件夹所在路径
  44. controllers: [//声明所用到的控制层
  45. 'ma.SysNavigation'
  46. ],
  47. launch: function() {
  48. Ext.create('erp.view.ma.SysNavigation');//创建视图
  49. }
  50. });
  51. </script>
  52. </head>
  53. <body >
  54. </body>
  55. </html>