123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <%@ page language="java" contentType="text/html; charset=utf-8"
- pageEncoding="utf-8"%>
- <%
- String path = request.getContextPath();
- String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
- %>
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-all.css" type="text/css"></link>
- <style type="text/css">
- .custom-button {
- cursor: pointer;
- border-top: 1px solid #96d1f8;
- background-color: #dce9f9;
- background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc),to(#dce9f9) );
- background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9);
- background-image: -moz-linear-gradient(top, #ebf3fc, #dce9f9);
- background-image: -ms-linear-gradient(top, #ebf3fc, #dce9f9);
- background-image: -o-linear-gradient(top, #ebf3fc, #dce9f9);
- background-image: linear-gradient(top, #ebf3fc, #dce9f9);
- text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- font-size: 14px;
- font-family: Georgia, serif;
- vertical-align: middle;
- padding: 3px 5px;
- }
- .custom-button:hover {
- background: #96d1f8;
- color: #ccc;
- }
- .custom-button:active {
- background: #96d1f8;
- }
- </style>
- <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
- <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
- <script type="text/javascript">
- Ext.Loader.setConfig({
- enabled: true
- });//开启动态加载
- Ext.application({
- name: 'erp',//为应用程序起一个名字,相当于命名空间
- appFolder: basePath+'app',//app文件夹所在路径
- controllers: [//声明所用到的控制层
- 'common.Master'
- ],
- launch: function() {
- Ext.create('erp.view.common.init.Master');//创建视图
- }
- });
- </script>
- </head>
- <body>
- </body>
- </html>
|