/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. <style type="text/css">
  14. .x-date-menu > ul{
  15. display: inline;
  16. }
  17. .x-date-menu > ul li{
  18. display: inline;
  19. }
  20. .hang {
  21. background: #D1DDEF;
  22. border-top:1px dotted #B5B8C8;
  23. border-bottom:1px dotted #B5B8C8;
  24. }
  25. </style>
  26. <script language="javascript">
  27. Ext.onReady(function(){
  28. Ext.QuickTips.init();
  29. // turn on validation errors beside the field globally
  30. Ext.form.Field.prototype.msgTarget = 'side';
  31. var fp = new Ext.FormPanel({
  32. frame: true,
  33. labelWidth: 110,
  34. width: 600,
  35. renderTo:'form-ct',
  36. bodyStyle: 'padding:0 10px 0;',
  37. items: [{
  38. layout: 'column',
  39. border: false,
  40. defaults: {
  41. columnWidth: '.5',
  42. border: false
  43. },items:[
  44. {
  45. bodyStyle: 'padding-right:5px;',
  46. items:{
  47. xtype:'fieldset',
  48. title: '????',
  49. autoHeight: true,
  50. items: [{
  51. xtype: 'textfield',
  52. value:"",
  53. fieldLabel:'???',
  54. id:'174',
  55. grow:true,growMin:68,growMax:300,
  56. itemCls:'hang',
  57. name: 'user'
  58. },{
  59. xtype: 'textfield',
  60. value:"",
  61. fieldLabel:'??',
  62. id:'175',
  63. grow:true,growMin:68,growMax:300,
  64. name: 'psw'
  65. },{
  66. xtype: 'textfield',
  67. value:"",
  68. fieldLabel:'????',
  69. id:'189',
  70. grow:true,growMin:68,growMax:300,
  71. itemCls:'hang',
  72. name: 'usertype'
  73. },]}},{
  74. bodyStyle: 'padding-right:5px;',
  75. items:{
  76. xtype:'fieldset',
  77. title: '????',
  78. autoHeight: true,
  79. items: [{
  80. xtype: 'textfield',
  81. value:"",
  82. fieldLabel:'????',
  83. id:'190',
  84. grow:true,growMin:68,growMax:300,
  85. name: 'rcfg'
  86. },{
  87. xtype: 'textfield',
  88. value:"",
  89. fieldLabel:'??',
  90. id:'175',
  91. grow:true,growMin:68,growMax:300,
  92. name: 'psw'
  93. },{
  94. xtype: 'textfield',
  95. value:"",
  96. fieldLabel:'????',
  97. id:'189',
  98. grow:true,growMin:68,growMax:300,
  99. itemCls:'hang',
  100. name: 'usertype'
  101. },]}}]},{
  102. xtype:'fieldset',
  103. title: '??????',
  104. autoHeight: true,
  105. items: [{
  106. xtype: 'textfield',
  107. value:"",
  108. fieldLabel:'????',
  109. id:'190',
  110. grow:true,growMin:68,growMax:300,
  111. name: 'rcfg'
  112. },{
  113. xtype: 'textfield',
  114. value:"",
  115. fieldLabel:'??',
  116. id:'175',
  117. grow:true,growMin:68,growMax:300,
  118. name: 'psw'
  119. },{
  120. xtype: 'textfield',
  121. value:"",
  122. fieldLabel:'????',
  123. id:'189',
  124. grow:true,growMin:68,growMax:300,
  125. itemCls:'hang',
  126. name: 'usertype'
  127. },]},{
  128. xtype:'fieldset',
  129. title: '??????',
  130. autoHeight: true,
  131. items: [{
  132. xtype: 'textfield',
  133. value:"",
  134. fieldLabel:'????',
  135. id:'190',
  136. grow:true,growMin:68,growMax:300,
  137. name: 'rcfg'
  138. },{
  139. xtype: 'textfield',
  140. value:"",
  141. fieldLabel:'??',
  142. id:'175',
  143. grow:true,growMin:68,growMax:300,
  144. name: 'psw'
  145. },{
  146. xtype: 'textfield',
  147. value:"",
  148. fieldLabel:'????',
  149. id:'189',
  150. grow:true,growMin:68,growMax:300,
  151. itemCls:'hang',
  152. name: 'usertype'
  153. },]}],
  154. buttons: [{
  155. text: '??',
  156. handler: function(){
  157. if(fp.getForm().isValid()){
  158. Ext.Msg.alert('Submitted Values', 'The following will be sent to the server: <br />'+
  159. fp.getForm().getValues(true).replace(/&/g,', '));
  160. }
  161. }
  162. },{
  163. text: 'Reset',
  164. handler: function(){
  165. fp.getForm().reset();
  166. }
  167. }]
  168. });
  169. });
  170. </script>
  171. </head>
  172. <body>
  173. <div id="form-ct"></div>
  174. </body>
  175. </html>