form_basic.html 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>H+ 后台主题UI框架 - 基本表单</title>
  7. <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
  8. <meta name="description" content="H+是一个完全响应式,基于Bootstrap3最新版本开发的扁平化主题,她采用了主流的左右两栏式布局,使用了Html5+CSS3等现代技术">
  9. <link rel="shortcut icon" href="favicon.ico"> <link href="../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
  10. <link href="../css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
  11. <link href="../css/plugins/iCheck/custom.css" rel="stylesheet">
  12. <link href="../css/animate.min.css" rel="stylesheet">
  13. <link href="../css/style.min.css?v=4.1.0" rel="stylesheet">
  14. </head>
  15. <body class="gray-bg">
  16. <div class="wrapper wrapper-content animated fadeInRight">
  17. <div class="row">
  18. <div class="col-sm-7">
  19. <div class="ibox float-e-margins">
  20. <div class="ibox-title">
  21. <h5>基本表单 <small>简单登录表单示例</small></h5>
  22. <div class="ibox-tools">
  23. <a class="collapse-link">
  24. <i class="fa fa-chevron-up"></i>
  25. </a>
  26. <a class="dropdown-toggle" data-toggle="dropdown" href="form_basic.html#">
  27. <i class="fa fa-wrench"></i>
  28. </a>
  29. <ul class="dropdown-menu dropdown-user">
  30. <li><a href="form_basic.html#">选项1</a>
  31. </li>
  32. <li><a href="form_basic.html#">选项2</a>
  33. </li>
  34. </ul>
  35. <a class="close-link">
  36. <i class="fa fa-times"></i>
  37. </a>
  38. </div>
  39. </div>
  40. <div class="ibox-content">
  41. <div class="row">
  42. <div class="col-sm-6 b-r">
  43. <h3 class="m-t-none m-b">登录</h3>
  44. <p>欢迎登录本站(⊙o⊙)</p>
  45. <form role="form">
  46. <div class="form-group">
  47. <label>用户名</label>
  48. <input type="email" placeholder="请输入您注册的E-mail" class="form-control">
  49. </div>
  50. <div class="form-group">
  51. <label>密码</label>
  52. <input type="password" placeholder="请输入密码" class="form-control">
  53. </div>
  54. <div>
  55. <button class="btn btn-sm btn-primary pull-right m-t-n-xs" type="submit"><strong>登 录</strong>
  56. </button>
  57. <label>
  58. <input type="checkbox" class="i-checks">自动登录</label>
  59. </div>
  60. </form>
  61. </div>
  62. <div class="col-sm-6">
  63. <h4>还不是会员?</h4>
  64. <p>您可以注册一个新账户</p>
  65. <p class="text-center">
  66. <a href="form_basic.html"><i class="fa fa-sign-in big-icon"></i></a>
  67. </p>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. <div class="col-sm-5">
  74. <div class="ibox float-e-margins">
  75. <div class="ibox-title">
  76. <h5>横向表单</h5>
  77. <div class="ibox-tools">
  78. <a class="collapse-link">
  79. <i class="fa fa-chevron-up"></i>
  80. </a>
  81. <a class="dropdown-toggle" data-toggle="dropdown" href="form_basic.html#">
  82. <i class="fa fa-wrench"></i>
  83. </a>
  84. <ul class="dropdown-menu dropdown-user">
  85. <li><a href="form_basic.html#">选项1</a>
  86. </li>
  87. <li><a href="form_basic.html#">选项2</a>
  88. </li>
  89. </ul>
  90. <a class="close-link">
  91. <i class="fa fa-times"></i>
  92. </a>
  93. </div>
  94. </div>
  95. <div class="ibox-content">
  96. <form class="form-horizontal">
  97. <p>欢迎登录本站(⊙o⊙)</p>
  98. <div class="form-group">
  99. <label class="col-sm-3 control-label">用户名:</label>
  100. <div class="col-sm-8">
  101. <input type="email" placeholder="用户名" class="form-control"> <span class="help-block m-b-none">请输入您注册时所填的E-mail</span>
  102. </div>
  103. </div>
  104. <div class="form-group">
  105. <label class="col-sm-3 control-label">密码:</label>
  106. <div class="col-sm-8">
  107. <input type="password" placeholder="密码" class="form-control">
  108. </div>
  109. </div>
  110. <div class="form-group">
  111. <div class="col-sm-offset-3 col-sm-8">
  112. <button class="btn btn-sm btn-white" type="submit">登 录</button>
  113. </div>
  114. </div>
  115. </form>
  116. </div>
  117. </div>
  118. </div>
  119. </div>
  120. <div class="row">
  121. <div class="col-sm-8">
  122. <div class="ibox float-e-margins">
  123. <div class="ibox-title">
  124. <h5>内联表单</h5>
  125. <div class="ibox-tools">
  126. <a class="collapse-link">
  127. <i class="fa fa-chevron-up"></i>
  128. </a>
  129. <a class="dropdown-toggle" data-toggle="dropdown" href="form_basic.html#">
  130. <i class="fa fa-wrench"></i>
  131. </a>
  132. <ul class="dropdown-menu dropdown-user">
  133. <li><a href="form_basic.html#">选项1</a>
  134. </li>
  135. <li><a href="form_basic.html#">选项2</a>
  136. </li>
  137. </ul>
  138. <a class="close-link">
  139. <i class="fa fa-times"></i>
  140. </a>
  141. </div>
  142. </div>
  143. <div class="ibox-content">
  144. <form role="form" class="form-inline">
  145. <div class="form-group">
  146. <label for="exampleInputEmail2" class="sr-only">用户名</label>
  147. <input type="email" placeholder="请输入用户名" id="exampleInputEmail2" class="form-control">
  148. </div>
  149. <div class="form-group">
  150. <label for="exampleInputPassword2" class="sr-only">密码</label>
  151. <input type="password" placeholder="请输入密码" id="exampleInputPassword2" class="form-control">
  152. </div>
  153. <div class="checkbox m-l m-r-xs">
  154. <label class="i-checks">
  155. <input type="checkbox"><i></i> 自动登录</label>
  156. </div>
  157. <button class="btn btn-white" type="submit">登录</button>
  158. </form>
  159. </div>
  160. </div>
  161. </div>
  162. <div class="col-sm-4">
  163. <div class="ibox float-e-margins">
  164. <div class="ibox-title">
  165. <h5>弹出表单 <small>弹出框登录示例</small></h5>
  166. <div class="ibox-tools">
  167. <a class="collapse-link">
  168. <i class="fa fa-chevron-up"></i>
  169. </a>
  170. <a class="dropdown-toggle" data-toggle="dropdown" href="form_basic.html#">
  171. <i class="fa fa-wrench"></i>
  172. </a>
  173. <ul class="dropdown-menu dropdown-user">
  174. <li><a href="form_basic.html#">选项1</a>
  175. </li>
  176. <li><a href="form_basic.html#">选项2</a>
  177. </li>
  178. </ul>
  179. <a class="close-link">
  180. <i class="fa fa-times"></i>
  181. </a>
  182. </div>
  183. </div>
  184. <div class="ibox-content">
  185. <div class="text-center">
  186. <a data-toggle="modal" class="btn btn-primary" href="form_basic.html#modal-form">打开登录窗口</a>
  187. </div>
  188. </div>
  189. </div>
  190. </div>
  191. </div>
  192. <div class="row">
  193. <div class="col-sm-12">
  194. <div class="ibox float-e-margins">
  195. <div class="ibox-title">
  196. <h5>所有表单元素 <small>包括自定义样式的复选和单选按钮</small></h5>
  197. <div class="ibox-tools">
  198. <a class="collapse-link">
  199. <i class="fa fa-chevron-up"></i>
  200. </a>
  201. <a class="dropdown-toggle" data-toggle="dropdown" href="form_basic.html#">
  202. <i class="fa fa-wrench"></i>
  203. </a>
  204. <ul class="dropdown-menu dropdown-user">
  205. <li><a href="form_basic.html#">选项1</a>
  206. </li>
  207. <li><a href="form_basic.html#">选项2</a>
  208. </li>
  209. </ul>
  210. <a class="close-link">
  211. <i class="fa fa-times"></i>
  212. </a>
  213. </div>
  214. </div>
  215. <div class="ibox-content">
  216. <form method="get" class="form-horizontal">
  217. <div class="form-group">
  218. <label class="col-sm-2 control-label">普通</label>
  219. <div class="col-sm-10">
  220. <input type="text" class="form-control">
  221. </div>
  222. </div>
  223. <div class="hr-line-dashed"></div>
  224. <div class="form-group">
  225. <label class="col-sm-2 control-label">带说明信息</label>
  226. <div class="col-sm-10">
  227. <input type="text" class="form-control"> <span class="help-block m-b-none">帮助文本,可能会超过一行,以块级元素显示</span>
  228. </div>
  229. </div>
  230. <div class="hr-line-dashed"></div>
  231. <div class="form-group">
  232. <label class="col-sm-2 control-label">密码</label>
  233. <div class="col-sm-10">
  234. <input type="password" class="form-control" name="password">
  235. </div>
  236. </div>
  237. <div class="hr-line-dashed"></div>
  238. <div class="form-group">
  239. <label class="col-sm-2 control-label">提示</label>
  240. <div class="col-sm-10">
  241. <input type="text" placeholder="提示信息" class="form-control">
  242. </div>
  243. </div>
  244. <div class="hr-line-dashed"></div>
  245. <div class="form-group">
  246. <label class="col-sm-2 control-label">禁用</label>
  247. <div class="col-sm-10">
  248. <input type="text" disabled="" placeholder="已被禁用" class="form-control">
  249. </div>
  250. </div>
  251. <div class="hr-line-dashed"></div>
  252. <div class="form-group">
  253. <label class="col-sm-2 control-label">静态控制</label>
  254. <div class="col-sm-10">
  255. <p class="form-control-static">i@zi-han.net</p>
  256. </div>
  257. </div>
  258. <div class="hr-line-dashed"></div>
  259. <div class="form-group">
  260. <label class="col-sm-2 control-label">复选框&amp;单选框
  261. <br/>
  262. <small class="text-navy">普通Bootstrap元素</small>
  263. </label>
  264. <div class="col-sm-10">
  265. <div class="checkbox">
  266. <label>
  267. <input type="checkbox" value="">选项1</label>
  268. </div>
  269. <div class="radio">
  270. <label>
  271. <input type="radio" checked="" value="option1" id="optionsRadios1" name="optionsRadios">选项1</label>
  272. </div>
  273. <div class="radio">
  274. <label>
  275. <input type="radio" value="option2" id="optionsRadios2" name="optionsRadios">选项2</label>
  276. </div>
  277. </div>
  278. </div>
  279. <div class="hr-line-dashed"></div>
  280. <div class="form-group">
  281. <label class="col-sm-2 control-label">内联复选框</label>
  282. <div class="col-sm-10">
  283. <label class="checkbox-inline">
  284. <input type="checkbox" value="option1" id="inlineCheckbox1">a</label>
  285. <label class="checkbox-inline">
  286. <input type="checkbox" value="option2" id="inlineCheckbox2">b</label>
  287. <label class="checkbox-inline">
  288. <input type="checkbox" value="option3" id="inlineCheckbox3">c</label>
  289. </div>
  290. </div>
  291. <div class="hr-line-dashed"></div>
  292. <div class="form-group">
  293. <label class="col-sm-2 control-label">复选框&amp;单选框
  294. <br/><small class="text-navy">自定义样式</small>
  295. </label>
  296. <div class="col-sm-10">
  297. <div class="checkbox i-checks">
  298. <label>
  299. <input type="checkbox" value=""> <i></i> 选项1</label>
  300. </div>
  301. <div class="checkbox i-checks">
  302. <label>
  303. <input type="checkbox" value="" checked=""> <i></i> 选项2(选中)</label>
  304. </div>
  305. <div class="checkbox i-checks">
  306. <label>
  307. <input type="checkbox" value="" disabled="" checked=""> <i></i> 选项3(选中并禁用)</label>
  308. </div>
  309. <div class="checkbox i-checks">
  310. <label>
  311. <input type="checkbox" value="" disabled=""> <i></i> 选项4(禁用)</label>
  312. </div>
  313. <div class="radio i-checks">
  314. <label>
  315. <input type="radio" value="option1" name="a"> <i></i> 选项1</label>
  316. </div>
  317. <div class="radio i-checks">
  318. <label>
  319. <input type="radio" checked="" value="option2" name="a"> <i></i> 选项2(选中)</label>
  320. </div>
  321. <div class="radio i-checks">
  322. <label>
  323. <input type="radio" disabled="" checked="" value="option2"> <i></i> 选项3(选中并禁用)</label>
  324. </div>
  325. <div class="radio i-checks">
  326. <label>
  327. <input type="radio" disabled="" name="a"> <i></i> 选项4(禁用)</label>
  328. </div>
  329. </div>
  330. </div>
  331. <div class="hr-line-dashed"></div>
  332. <div class="form-group">
  333. <label class="col-sm-2 control-label">内联复选框</label>
  334. <div class="col-sm-10">
  335. <label class="checkbox-inline i-checks">
  336. <input type="checkbox" value="option1">a</label>
  337. <label class="checkbox-inline i-checks">
  338. <input type="checkbox" value="option2">b</label>
  339. <label class="checkbox-inline i-checks">
  340. <input type="checkbox" value="option3">c</label>
  341. </div>
  342. </div>
  343. <div class="hr-line-dashed"></div>
  344. <div class="form-group">
  345. <label class="col-sm-2 control-label">Select</label>
  346. <div class="col-sm-10">
  347. <select class="form-control m-b" name="account">
  348. <option>选项 1</option>
  349. <option>选项 2</option>
  350. <option>选项 3</option>
  351. <option>选项 4</option>
  352. </select>
  353. <div class="col-sm-4 m-l-n">
  354. <select class="form-control" multiple="">
  355. <option>选项 1</option>
  356. <option>选项 2</option>
  357. <option>选项 3</option>
  358. <option>选项 4</option>
  359. </select>
  360. </div>
  361. </div>
  362. </div>
  363. <div class="hr-line-dashed"></div>
  364. <div class="form-group has-success">
  365. <label class="col-sm-2 control-label">验证通过</label>
  366. <div class="col-sm-10">
  367. <input type="text" class="form-control">
  368. </div>
  369. </div>
  370. <div class="hr-line-dashed"></div>
  371. <div class="form-group has-warning">
  372. <label class="col-sm-2 control-label">未填写</label>
  373. <div class="col-sm-10">
  374. <input type="text" class="form-control">
  375. </div>
  376. </div>
  377. <div class="hr-line-dashed"></div>
  378. <div class="form-group has-error">
  379. <label class="col-sm-2 control-label">验证未通过</label>
  380. <div class="col-sm-10">
  381. <input type="text" class="form-control">
  382. </div>
  383. </div>
  384. <div class="hr-line-dashed"></div>
  385. <div class="form-group">
  386. <label class="col-sm-2 control-label">自定义尺寸</label>
  387. <div class="col-sm-10">
  388. <input type="text" placeholder=".input-lg" class="form-control input-lg m-b">
  389. <input type="text" placeholder="Default input" class="form-control m-b">
  390. <input type="text" placeholder=".input-sm" class="form-control input-sm">
  391. </div>
  392. </div>
  393. <div class="hr-line-dashed"></div>
  394. <div class="form-group">
  395. <label class="col-sm-2 control-label">列尺寸</label>
  396. <div class="col-sm-10">
  397. <div class="row">
  398. <div class="col-md-2">
  399. <input type="text" placeholder=".col-md-2" class="form-control">
  400. </div>
  401. <div class="col-md-3">
  402. <input type="text" placeholder=".col-md-3" class="form-control">
  403. </div>
  404. <div class="col-md-4">
  405. <input type="text" placeholder=".col-md-4" class="form-control">
  406. </div>
  407. </div>
  408. </div>
  409. </div>
  410. <div class="hr-line-dashed"></div>
  411. <div class="form-group">
  412. <label class="col-sm-2 control-label">文本框组</label>
  413. <div class="col-sm-10">
  414. <div class="input-group m-b"><span class="input-group-addon">@</span>
  415. <input type="text" placeholder="用户名" class="form-control">
  416. </div>
  417. <div class="input-group m-b">
  418. <input type="text" class="form-control"> <span class="input-group-addon">.00</span>
  419. </div>
  420. <div class="input-group m-b"><span class="input-group-addon">&yen;</span>
  421. <input type="text" class="form-control"> <span class="input-group-addon">.00</span>
  422. </div>
  423. <div class="input-group m-b"><span class="input-group-addon"> <input type="checkbox"> </span>
  424. <input type="text" class="form-control">
  425. </div>
  426. <div class="input-group"><span class="input-group-addon"> <input type="radio"> </span>
  427. <input type="text" class="form-control">
  428. </div>
  429. </div>
  430. </div>
  431. <div class="hr-line-dashed"></div>
  432. <div class="form-group">
  433. <label class="col-sm-2 control-label">按钮插件</label>
  434. <div class="col-sm-10">
  435. <div class="input-group m-b"><span class="input-group-btn">
  436. <button type="button" class="btn btn-primary">搜</button> </span>
  437. <input type="text" class="form-control">
  438. </div>
  439. <div class="input-group">
  440. <input type="text" class="form-control"> <span class="input-group-btn"> <button type="button" class="btn btn-primary">搜索
  441. </button> </span>
  442. </div>
  443. </div>
  444. </div>
  445. <div class="hr-line-dashed"></div>
  446. <div class="form-group">
  447. <label class="col-sm-2 control-label">带下拉框</label>
  448. <div class="col-sm-10">
  449. <div class="input-group m-b">
  450. <div class="input-group-btn">
  451. <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">操作 <span class="caret"></span>
  452. </button>
  453. <ul class="dropdown-menu">
  454. <li><a href="form_basic.html#">选项1</a>
  455. </li>
  456. <li><a href="form_basic.html#">选项2</a>
  457. </li>
  458. <li><a href="form_basic.html#">选项3</a>
  459. </li>
  460. <li class="divider"></li>
  461. <li><a href="form_basic.html#">选项4</a>
  462. </li>
  463. </ul>
  464. </div>
  465. <input type="text" class="form-control">
  466. </div>
  467. <div class="input-group">
  468. <input type="text" class="form-control">
  469. <div class="input-group-btn">
  470. <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">操作 <span class="caret"></span>
  471. </button>
  472. <ul class="dropdown-menu pull-right">
  473. <li><a href="form_basic.html#">选项1</a>
  474. </li>
  475. <li><a href="form_basic.html#">选项2</a>
  476. </li>
  477. <li><a href="form_basic.html#">选项3</a>
  478. </li>
  479. <li class="divider"></li>
  480. <li><a href="form_basic.html#">选项4</a>
  481. </li>
  482. </ul>
  483. </div>
  484. </div>
  485. </div>
  486. </div>
  487. <div class="hr-line-dashed"></div>
  488. <div class="form-group">
  489. <label class="col-sm-2 control-label">分段</label>
  490. <div class="col-sm-10">
  491. <div class="input-group m-b">
  492. <div class="input-group-btn">
  493. <button tabindex="-1" class="btn btn-white" type="button">操作</button>
  494. <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button"><span class="caret"></span>
  495. </button>
  496. <ul class="dropdown-menu">
  497. <li><a href="form_basic.html#">选项1</a>
  498. </li>
  499. <li><a href="form_basic.html#">选项2</a>
  500. </li>
  501. <li><a href="form_basic.html#">选项3</a>
  502. </li>
  503. <li class="divider"></li>
  504. <li><a href="form_basic.html#">选项4</a>
  505. </li>
  506. </ul>
  507. </div>
  508. <input type="text" class="form-control">
  509. </div>
  510. <div class="input-group">
  511. <input type="text" class="form-control">
  512. <div class="input-group-btn">
  513. <button tabindex="-1" class="btn btn-white" type="button">操作</button>
  514. <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button"><span class="caret"></span>
  515. </button>
  516. <ul class="dropdown-menu pull-right">
  517. 分段
  518. </ul>
  519. </div>
  520. </div>
  521. </div>
  522. </div>
  523. <div class="hr-line-dashed"></div>
  524. <div class="form-group">
  525. <div class="col-sm-4 col-sm-offset-2">
  526. <button class="btn btn-primary" type="submit">保存内容</button>
  527. <button class="btn btn-white" type="submit">取消</button>
  528. </div>
  529. </div>
  530. </form>
  531. </div>
  532. </div>
  533. </div>
  534. </div>
  535. </div>
  536. <div id="modal-form" class="modal fade" aria-hidden="true">
  537. <div class="modal-dialog">
  538. <div class="modal-content">
  539. <div class="modal-body">
  540. <div class="row">
  541. <div class="col-sm-6 b-r">
  542. <h3 class="m-t-none m-b">登录</h3>
  543. <p>欢迎登录本站(⊙o⊙)</p>
  544. <form role="form">
  545. <div class="form-group">
  546. <label>用户名:</label>
  547. <input type="email" placeholder="请输入用户名" class="form-control">
  548. </div>
  549. <div class="form-group">
  550. <label>密码:</label>
  551. <input type="password" placeholder="请输入密码" class="form-control">
  552. </div>
  553. <div>
  554. <button class="btn btn-sm btn-primary pull-right m-t-n-xs" type="submit"><strong>登录</strong>
  555. </button>
  556. <label>
  557. <input type="checkbox" class="i-checks">自动登录</label>
  558. </div>
  559. </form>
  560. </div>
  561. <div class="col-sm-6">
  562. <h4>还不是会员?</h4>
  563. <p>您可以注册一个账户</p>
  564. <p class="text-center">
  565. <a href="form_basic.html"><i class="fa fa-sign-in big-icon"></i></a>
  566. </p>
  567. </div>
  568. </div>
  569. </div>
  570. </div>
  571. </div>
  572. </div>
  573. <script src="../js/jquery.min.js?v=2.1.4"></script>
  574. <script src="../js/bootstrap.min.js?v=3.3.6"></script>
  575. <script src="../js/content.min.js?v=1.0.0"></script>
  576. <script src="../js/plugins/iCheck/icheck.min.js"></script>
  577. <script>
  578. $(document).ready(function(){$(".i-checks").iCheck({checkboxClass:"icheckbox_square-green",radioClass:"iradio_square-green",})});
  579. </script>
  580. </body>
  581. </html>