_init.jsp 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <%
  4. String path = request.getContextPath();
  5. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  6. %>
  7. <!DOCTYPE html>
  8. <html>
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  11. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-all.css" type="text/css"></link>
  12. <style type="text/css">
  13. body{
  14. background-image: url("<%=basePath%>resource/images/screens/bg_blue.jpg");
  15. }
  16. .prev{
  17. background-image: url('<%=basePath %>resource/images/prev.png');
  18. }
  19. .next{
  20. background-image: url('<%=basePath %>resource/images/next.png');
  21. }
  22. .save{
  23. background-image: url('<%=basePath %>resource/images/drink.png');
  24. }
  25. .stepon{
  26. background: #CECECE url('<%=basePath %>resource/images/grid/header-bg.png') repeat center center !important;
  27. font-size: 13.5px;
  28. -moz-box-shadow:1px 1px 2px rgba(0,0,0,.2);
  29. -webkit-box-shadow:1px 1px 2px rgba(0,0,0,.2);
  30. box-shadow:1px 1px 2px rgba(0,0,0,.2);
  31. -moz-border-radius:5px;
  32. -webkit-border-radius:5px;
  33. border-radius:5px;
  34. width: 150px !important;
  35. height: 22;
  36. text-align: center;
  37. }
  38. .stepon .x-btn-center .x-btn-inner:hover{
  39. color: white;
  40. text-decoration: underline;
  41. cursor: pointer;
  42. }
  43. .stepoff{
  44. font-size: 13px;
  45. -moz-box-shadow:1px 1px 2px rgba(0,0,0,.2);
  46. -webkit-box-shadow:1px 1px 2px rgba(0,0,0,.2);
  47. box-shadow:1px 1px 2px rgba(0,0,0,.2);
  48. -moz-border-radius:5px;
  49. -webkit-border-radius:5px;
  50. border-radius:5px;
  51. width: 150px !important;
  52. height: 22;
  53. text-align: center;
  54. background: #CECECE url('<%=basePath %>resource/ext/resources/themes/images/default/grid/grid-blue-hd.gif') repeat center center!important;
  55. }
  56. </style>
  57. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  58. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  59. <script type="text/javascript" src="<%=basePath %>resource/ux/grid/Export.js"></script>
  60. <script type="text/javascript">
  61. Ext.Loader.setConfig({
  62. enabled: true
  63. });//开启动态加载
  64. Ext.application({
  65. name: 'erp',//为应用程序起一个名字,相当于命名空间
  66. appFolder: basePath+'app',//app文件夹所在路径
  67. controllers: [//声明所用到的控制层
  68. 'common.Init'
  69. ],
  70. launch: function() {
  71. Ext.create('erp.view.common.init.Init');//创建视图
  72. }
  73. });
  74. </script>
  75. </head>
  76. <body >
  77. </body>
  78. </html>