svnlog.jsp 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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"
  13. href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css"
  14. type="text/css"></link>
  15. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css"
  16. type="text/css"></link>
  17. <style type="text/css">
  18. .custom-grid-autoheight .x-grid-row,.custom-grid-autoheight .x-grid-row .x-grid-cell,.custom-grid-autoheight .x-grid-cell-inner
  19. {
  20. height: auto !important;
  21. white-space: normal;
  22. }
  23. .info-detail {
  24. float: right;
  25. color: blue;
  26. text-decoration: underline;
  27. cursor: pointer;
  28. }
  29. .x-form-display-field {
  30. color: #2a6496;
  31. font-family: "\5fae\8f6f\96c5\9ed1", sans-serif;
  32. }
  33. .dl-horizontal dt {
  34. float: left;
  35. width: 40px;
  36. overflow: hidden;
  37. clear: left;
  38. text-align: left;
  39. text-overflow: ellipsis;
  40. white-space: nowrap;
  41. }
  42. dt {
  43. font-weight: 700;
  44. }
  45. dt, dd {
  46. line-height: 1.42857143;
  47. }
  48. .dl-horizontal dd {
  49. margin-left: 50px;
  50. }
  51. </style>
  52. <script type="text/javascript"
  53. src="<%=basePath %>resource/ext/ext-all.js"></script>
  54. <script type="text/javascript"
  55. src="<%=basePath %>resource/ux/grid/GridHeaderFilters.js"></script>
  56. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  57. <script type="text/javascript">
  58. // object copy
  59. Ext.Object.copy = function(source) {
  60. if (source) {
  61. var n = {};
  62. for ( var key in source) {
  63. n[key] = source[key];
  64. }
  65. return n;
  66. }
  67. return null;
  68. };
  69. /**
  70. * svn日志
  71. */
  72. Ext.Loader.setConfig({
  73. enabled: true
  74. });//开启动态加载
  75. Ext.application({
  76. name: 'erp',//为应用程序起一个名字,相当于命名空间
  77. appFolder: basePath + 'app',//app文件夹所在路径
  78. controllers : [//声明所用到的控制层
  79. 'ma.SvnLog' ],
  80. launch : function() {
  81. Ext.create('erp.view.ma.SvnLog');//创建视图
  82. }
  83. });
  84. </script>
  85. </head>
  86. <body>
  87. </body>
  88. </html>