PageRenderTime 40ms CodeModel.GetById 19ms app.highlight 15ms RepoModel.GetById 2ms app.codeStats 0ms

/source/gl/user/test.html

http://prosporous.googlecode.com/
HTML | 227 lines | 175 code | 52 blank | 0 comment | 0 complexity | c8b24d440028d68b97ec20f66d095154 MD5 | raw file
  1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2<html>
  3<head>
  4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5<title>????????</title>
  6<link rel="stylesheet" type="text/css" href="/Plug-in/ext/resources/css/ext-all.css" />
  7    <script type="text/javascript" charset="utf-8" src="/Plug-in/ext/adapter/ext/ext-base.js"></script>
  8    <script type="text/javascript" charset="utf-8"  src="/Plug-in/ext/ext-all.js"></script><script type="text/javascript">
  9	Ext.BLANK_IMAGE_URL = '/Plug-in/ext/resources/images/default/s.gif';
 10	</script>
 11<link rel="stylesheet" type="text/css" href="../css/main.css" />
 12<script type="text/javascript" src="/Plug-in/kind/kindeditor.js"></script>
 13
 14<style type="text/css">
 15.x-date-menu > ul{
 16display: inline;
 17}
 18.x-date-menu > ul li{
 19display: inline;
 20}
 21.hang {
 22	background: #D1DDEF;
 23	border-top:1px dotted #B5B8C8;
 24	border-bottom:1px dotted #B5B8C8;
 25}
 26
 27</style>
 28<script language="javascript">
 29Ext.onReady(function(){
 30
 31    Ext.QuickTips.init();
 32    
 33    // turn on validation errors beside the field globally
 34    Ext.form.Field.prototype.msgTarget = 'side';
 35
 36    var fp = new Ext.FormPanel({
 37        frame: true,
 38        labelWidth: 110,
 39        width: 600,
 40        renderTo:'form-ct',
 41        bodyStyle: 'padding:0 10px 0;',
 42        
 43        items: [{
 44								layout: 'column',
 45								border: false,
 46								defaults: {
 47									columnWidth: '.5',
 48									border: false
 49								},items:[
 50								{
 51									bodyStyle: 'padding-right:5px;',
 52									items:{
 53										xtype:'fieldset',
 54										title: '????',
 55										autoHeight: true,
 56										items: [{
 57							xtype: 'textfield',
 58							value:"",
 59							fieldLabel:'???',
 60							id:'174',
 61							grow:true,growMin:68,growMax:300,
 62							
 63							
 64							
 65							itemCls:'hang',
 66							name: 'user'
 67							},{
 68							xtype: 'textfield',
 69							value:"",
 70							fieldLabel:'??',
 71							id:'175',
 72							grow:true,growMin:68,growMax:300,
 73							
 74							
 75							
 76							
 77							name: 'psw'
 78							},{
 79							xtype: 'textfield',
 80							value:"",
 81							fieldLabel:'????',
 82							id:'189',
 83							grow:true,growMin:68,growMax:300,
 84							
 85							
 86							
 87							itemCls:'hang',
 88							name: 'usertype'
 89							},]}},{
 90									bodyStyle: 'padding-right:5px;',
 91									items:{
 92										xtype:'fieldset',
 93										title: '????',
 94										autoHeight: true,
 95										items: [{
 96							xtype: 'textfield',
 97							value:"",
 98							fieldLabel:'????',
 99							id:'190',
100							grow:true,growMin:68,growMax:300,
101							
102							
103							
104							
105							name: 'rcfg'
106							},{
107							xtype: 'textfield',
108							value:"",
109							fieldLabel:'??',
110							id:'175',
111							grow:true,growMin:68,growMax:300,
112							
113							
114							
115							
116							name: 'psw'
117							},{
118							xtype: 'textfield',
119							value:"",
120							fieldLabel:'????',
121							id:'189',
122							grow:true,growMin:68,growMax:300,
123							
124							
125							
126							itemCls:'hang',
127							name: 'usertype'
128							},]}}]},{
129								xtype:'fieldset',
130								title: '??????',
131								autoHeight: true,
132								items: [{
133							xtype: 'textfield',
134							value:"",
135							fieldLabel:'????',
136							id:'190',
137							grow:true,growMin:68,growMax:300,
138							
139							
140							
141							
142							name: 'rcfg'
143							},{
144							xtype: 'textfield',
145							value:"",
146							fieldLabel:'??',
147							id:'175',
148							grow:true,growMin:68,growMax:300,
149							
150							
151							
152							
153							name: 'psw'
154							},{
155							xtype: 'textfield',
156							value:"",
157							fieldLabel:'????',
158							id:'189',
159							grow:true,growMin:68,growMax:300,
160							
161							
162							
163							itemCls:'hang',
164							name: 'usertype'
165							},]},{
166								xtype:'fieldset',
167								title: '??????',
168								autoHeight: true,
169								items: [{
170							xtype: 'textfield',
171							value:"",
172							fieldLabel:'????',
173							id:'190',
174							grow:true,growMin:68,growMax:300,
175							
176							
177							
178							
179							name: 'rcfg'
180							},{
181							xtype: 'textfield',
182							value:"",
183							fieldLabel:'??',
184							id:'175',
185							grow:true,growMin:68,growMax:300,
186							
187							
188							
189							
190							name: 'psw'
191							},{
192							xtype: 'textfield',
193							value:"",
194							fieldLabel:'????',
195							id:'189',
196							grow:true,growMin:68,growMax:300,
197							
198							
199							
200							itemCls:'hang',
201							name: 'usertype'
202							},]}],
203        
204        buttons: [{
205            text: '??',
206            handler: function(){
207               if(fp.getForm().isValid()){
208                    Ext.Msg.alert('Submitted Values', 'The following will be sent to the server: <br />'+ 
209                        fp.getForm().getValues(true).replace(/&/g,', '));
210                }
211            }
212        },{
213            text: 'Reset',
214            handler: function(){
215                fp.getForm().reset();
216            }
217        }]
218    });
219	
220});
221</script>
222</head>
223<body>
224    <div id="form-ct"></div>
225
226</body>
227</html>