home.jsp 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <%
  4. String url = request.getRequestURL().toString();
  5. String basePath = url.substring(0, url.length()
  6. - request.getRequestURI().length())
  7. + request.getContextPath() + "/";
  8. %>
  9. <!DOCTYPE html>
  10. <html>
  11. <head>
  12. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  13. <link rel="stylesheet"
  14. href="<%=basePath%>resource/ext/4.2/resources/ext-theme-gray/ext-theme-gray-all.css"
  15. type="text/css"></link>
  16. <link rel="stylesheet"
  17. href="<%=basePath%>resource/css/opensys.css"
  18. type="text/css"></link>
  19. <style type="text/css">
  20. .x-panel-header-default-top {
  21. box-shadow: none;
  22. }
  23. .x-panel-body-default {
  24. background: white;
  25. }
  26. .x-panel-header-default{
  27. background: white;
  28. padding:2px 0px 0px 0px ;
  29. }
  30. .x-panel-header-text-container-default {
  31. padding: 0 2px 0px;
  32. }
  33. .x-panel-header-text-container{
  34. border-bottom: solid 6px #DFE2E2;
  35. }
  36. .x-panel-header-text-default{
  37. background: url(<%=basePath%>resource/images/title.png) no-repeat;
  38. border: none;
  39. height: 22px;
  40. width: 108px;
  41. line-height: 22px;
  42. float: left;
  43. margin-left: -5px !important;
  44. text-decoration: none;
  45. border-top-left-radius:12px;
  46. overflow: hidden;
  47. outline: none;
  48. padding-left: 9px;
  49. display: block;
  50. }
  51. .x-toolbar-default{
  52. background: white;
  53. }
  54. .x-toolbar-item {
  55. margin: 0 8px 0 0;
  56. }
  57. .x-btn-default-toolbar-small {
  58. -webkit-border-radius: 3px;
  59. -moz-border-radius: 3px;
  60. -ms-border-radius: 3px;
  61. -o-border-radius: 3px;
  62. border-radius: 3px;
  63. padding: 3px 3px 3px 3px;
  64. border-width: 1px;
  65. border-style: solid;
  66. background-image: none;
  67. background-color: #f5f5f5;
  68. background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#f6f6f6),color-stop(50%,#f5f5f5),color-stop(51%,#e8e8e8),color-stop(100%,#f5f5f5));
  69. background-image: -webkit-linear-gradient(top,#f6f6f6,#f5f5f5 50%,#e8e8e8 51%,#f5f5f5);
  70. background-image: -moz-linear-gradient(top,#f6f6f6,#f5f5f5 50%,#e8e8e8 51%,#f5f5f5);
  71. background-image: -o-linear-gradient(top,#f6f6f6,#f5f5f5 50%,#e8e8e8 51%,#f5f5f5);
  72. background-image: linear-gradient(top,#f6f6f6,#f5f5f5 50%,#e8e8e8 51%,#f5f5f5);
  73. }
  74. .x-btn-default-toolbar-small {
  75. border-color: #e1e1e1;
  76. }
  77. .x-btn {
  78. display: inline-block;
  79. position: relative;
  80. zoom: 1;
  81. outline: 0;
  82. cursor: pointer;
  83. white-space: nowrap;
  84. vertical-align: middle;
  85. text-decoration: none;
  86. }
  87. .x-box-item {
  88. position: absolute!important;
  89. left: 0;
  90. top: 0;
  91. }
  92. .x-btn-default-toolbar-small-over {
  93. background-image: none;
  94. background-color: #ebebeb;
  95. background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ededed), color-stop(50%, #ebebeb), color-stop(51%, #dfdfdf), color-stop(100%, #ebebeb));
  96. background-image: -webkit-linear-gradient(top, #ededed, #ebebeb 50%, #dfdfdf 51%, #ebebeb);
  97. background-image: -moz-linear-gradient(top, #ededed, #ebebeb 50%, #dfdfdf 51%, #ebebeb);
  98. background-image: -o-linear-gradient(top, #ededed, #ebebeb 50%, #dfdfdf 51%, #ebebeb);
  99. background-image: linear-gradient(top, #ededed, #ebebeb 50%, #dfdfdf 51%, #ebebeb);
  100. }
  101. .x-btn-default-toolbar-small-focus {
  102. background-image: none;
  103. background-color: #ebebeb;
  104. background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ededed), color-stop(50%, #ebebeb), color-stop(51%, #dfdfdf), color-stop(100%, #ebebeb));
  105. background-image: -webkit-linear-gradient(top, #ededed, #ebebeb 50%, #dfdfdf 51%, #ebebeb);
  106. background-image: -moz-linear-gradient(top, #ededed, #ebebeb 50%, #dfdfdf 51%, #ebebeb);
  107. background-image: -o-linear-gradient(top, #ededed, #ebebeb 50%, #dfdfdf 51%, #ebebeb);
  108. background-image: linear-gradient(top, #ededed, #ebebeb 50%, #dfdfdf 51%, #ebebeb);
  109. }
  110. .x-border-layout-ct {
  111. background-color:white;
  112. }
  113. </style>
  114. <script type="text/javascript"
  115. src="<%=basePath%>resource/ext/4.2/ext-all.js"></script>
  116. <script type="text/javascript" src="<%=basePath%>resource/i18n/i18n.js"></script>
  117. <script type="text/javascript">
  118. Ext.Loader.setConfig({
  119. enabled: true
  120. });//开启动态加载
  121. Ext.application({
  122. name: 'erp',//为应用程序起一个名字,相当于命名空间
  123. appFolder: basePath+'app',//app文件夹所在路径
  124. controllers: [
  125. 'opensys.Home'
  126. ],
  127. launch: function() {
  128. Ext.create('erp.view.opensys.home.ViewPort');//创建视图
  129. }
  130. });
  131. var enUU = '<%=session.getAttribute("enUU")%>';
  132. var em_code ='<%=session.getAttribute("em_code")%>';
  133. var em_name ='<%=session.getAttribute("em_name")%>';
  134. var cu_name ='<%=session.getAttribute("cu_name")%>';
  135. var em_id ='<%=session.getAttribute("em_id")%>';
  136. var emUU = '<%=session.getAttribute("em_uu")%>';
  137. var cu_code = '<%=session.getAttribute("cu_code")%>';
  138. </script>
  139. </head>
  140. <body>
  141. <div id="legalese" style="display: none;">
  142. <h2>使用条款</h2>
  143. </div>
  144. </body>
  145. </html>