form_advanced.html 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985
  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/plugins/chosen/chosen.css" rel="stylesheet">
  13. <link href="../css/plugins/colorpicker/../css/bootstrap-colorpicker.min.css" rel="stylesheet">
  14. <link href="../css/plugins/cropper/cropper.min.css" rel="stylesheet">
  15. <link href="../css/plugins/switchery/switchery.css" rel="stylesheet">
  16. <link href="../css/plugins/jasny/jasny-bootstrap.min.css" rel="stylesheet">
  17. <link href="../css/plugins/nouslider/jquery.nouislider.css" rel="stylesheet">
  18. <link href="../css/plugins/datapicker/datepicker3.css" rel="stylesheet">
  19. <link href="../css/plugins/ionRangeSlider/ion.rangeSlider.css" rel="stylesheet">
  20. <link href="../css/plugins/ionRangeSlider/ion.rangeSlider.skinFlat.css" rel="stylesheet">
  21. <link href="../css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">
  22. <link href="../css/plugins/clockpicker/clockpicker.css" rel="stylesheet">
  23. <link href="../css/animate.min.css" rel="stylesheet">
  24. <link href="../css/style.min.css?v=4.1.0" rel="stylesheet">
  25. </head>
  26. <body class="gray-bg">
  27. <div class="wrapper wrapper-content animated fadeInRight">
  28. <div class="row">
  29. <div class="col-sm-5">
  30. <div class="ibox float-e-margins">
  31. <div class="ibox-title">
  32. <h5>旋钮输入 <small>http://anthonyterrien.com/knob/</small></h5>
  33. <div class="ibox-tools">
  34. <a class="collapse-link">
  35. <i class="fa fa-chevron-up"></i>
  36. </a>
  37. <a class="dropdown-toggle" data-toggle="dropdown" href="form_advanced.html#">
  38. <i class="fa fa-wrench"></i>
  39. </a>
  40. <ul class="dropdown-menu dropdown-user">
  41. <li><a href="form_advanced.html#">选项1</a>
  42. </li>
  43. <li><a href="form_advanced.html#">选项2</a>
  44. </li>
  45. </ul>
  46. <a class="close-link">
  47. <i class="fa fa-times"></i>
  48. </a>
  49. </div>
  50. </div>
  51. <div class="ibox-content">
  52. <h3>
  53. 旋钮输入
  54. </h3>
  55. <p>
  56. 轻松创建旋钮输入
  57. </p>
  58. <div class="text-center">
  59. <small>简单示例</small>
  60. <br/>
  61. <br/>
  62. <div class="m-r-md inline">
  63. <input type="text" value="75" class="dial m-r-sm" data-fgColor="#1AB394" data-width="85" data-height="85" />
  64. </div>
  65. <div class="m-r-md inline">
  66. <input type="text" value="25" class="dial m-r" data-fgColor="#1AB394" data-width="85" data-height="85" />
  67. </div>
  68. <div class="m-r-md inline">
  69. <input type="text" value="50" class="dial m-r" data-fgColor="#1AB394" data-width="85" data-height="85" />
  70. </div>
  71. </div>
  72. <div class="text-center">
  73. <small>动态旋钮输入示例</small>
  74. <br/>
  75. <br/>
  76. <div class="m-r-md inline">
  77. <input type="text" value="75" class="dial m-r-sm" data-fgColor="#ED5565" data-width="85" data-height="85" data-cursor=true data-thickness=.3/>
  78. </div>
  79. <div class="m-r-md inline">
  80. <input type="text" value="25" class="dial m-r" data-fgColor="#ED5565" data-width="85" data-height="85" data-step="1000" data-min="-15000" data-max="15000" data-displayPrevious=true/>
  81. </div>
  82. <div class="m-r-md inline">
  83. <input type="text" value="60" class="dial m-r" data-fgColor="#ED5565" data-width="85" data-height="85" data-angleOffset=-125 data-angleArc=250 />
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. <div class="ibox float-e-margins">
  89. <div class="ibox-title">
  90. <h5>范围滑块 <small>http://refreshless.com/nouislider/</small></h5>
  91. <div class="ibox-tools">
  92. <a class="collapse-link">
  93. <i class="fa fa-chevron-up"></i>
  94. </a>
  95. <a class="dropdown-toggle" data-toggle="dropdown" href="form_advanced.html#">
  96. <i class="fa fa-wrench"></i>
  97. </a>
  98. <ul class="dropdown-menu dropdown-user">
  99. <li><a href="form_advanced.html#">选项1</a>
  100. </li>
  101. <li><a href="form_advanced.html#">选项2</a>
  102. </li>
  103. </ul>
  104. <a class="close-link">
  105. <i class="fa fa-times"></i>
  106. </a>
  107. </div>
  108. </div>
  109. <div class="ibox-content">
  110. <h3>
  111. 范围滑块
  112. </h3>
  113. <p>
  114. 简单干净的范围选择滑块
  115. </p>
  116. <div class="row m-b-lg">
  117. <div class="col-sm-12">
  118. <div id="drag-fixed" class="slider_red"></div>
  119. </div>
  120. </div>
  121. <div class="row">
  122. <div class="col-sm-6">
  123. <p class="font-bold">简单示例</p>
  124. <div id="basic_slider"></div>
  125. </div>
  126. <div class="col-sm-6">
  127. <p class="font-bold">在指定范围内进行选择示例</p>
  128. <div id="range_slider"></div>
  129. </div>
  130. </div>
  131. </div>
  132. </div>
  133. </div>
  134. <div class="col-sm-7">
  135. <div class="ibox float-e-margins">
  136. <div class="ibox-title">
  137. <h5>范围滑块 <small>https://github.com/IonDen/ion.rangeSlider</small></h5>
  138. <div class="ibox-tools">
  139. <a class="collapse-link">
  140. <i class="fa fa-chevron-up"></i>
  141. </a>
  142. <a class="dropdown-toggle" data-toggle="dropdown" href="form_advanced.html#">
  143. <i class="fa fa-wrench"></i>
  144. </a>
  145. <ul class="dropdown-menu dropdown-user">
  146. <li><a href="form_advanced.html#">选项1</a>
  147. </li>
  148. <li><a href="form_advanced.html#">选项2</a>
  149. </li>
  150. </ul>
  151. <a class="close-link">
  152. <i class="fa fa-times"></i>
  153. </a>
  154. </div>
  155. </div>
  156. <div class="ibox-content">
  157. <h3>
  158. 滑块
  159. </h3>
  160. <p>
  161. 在指定范围内选择
  162. </p>
  163. <div class="m-b-sm">
  164. <small><strong>示例:</strong> 设置值为0-5000,后缀“+”来表示最大值,人民币符号作为前缀,使用刻度</small>
  165. </div>
  166. <div id="ionrange_1"></div>
  167. <div class="m-b-sm m-t">
  168. <small><strong>示例:</strong> 设置值为0-10,步长:0.1,使用刻度 </small>
  169. </div>
  170. <div id="ionrange_2"></div>
  171. <div class="m-b-sm m-t">
  172. <small><strong>示例:</strong> 设置值微从-50~+50,默认为0, 并使用摄氏度符号作为后缀,使用刻度 </small>
  173. </div>
  174. <div id="ionrange_3"></div>
  175. <div class="m-b-sm m-t">
  176. <small><strong>示例:</strong>使用数组设置滑块值为月数,数组可以使任意长度,滑块将自动适应 </small>
  177. </div>
  178. <div id="ionrange_4"></div>
  179. <div>
  180. <a class="btn btn-white pull-right btn-sm" href="https://github.com/IonDen/ion.rangeSlider" target="_blank">API文档</a>
  181. <div class="clearfix"></div>
  182. </div>
  183. </div>
  184. </div>
  185. </div>
  186. </div>
  187. <div class="row">
  188. <div class="col-sm-5">
  189. <div class="ibox float-e-margins">
  190. <div class="ibox-title">
  191. <h5>日期选择器 <small>https://github.com/eternicode/bootstrap-datepicker</small></h5>
  192. <div class="ibox-tools">
  193. <a class="collapse-link">
  194. <i class="fa fa-chevron-up"></i>
  195. </a>
  196. <a class="dropdown-toggle" data-toggle="dropdown" href="form_advanced.html#">
  197. <i class="fa fa-wrench"></i>
  198. </a>
  199. <ul class="dropdown-menu dropdown-user">
  200. <li><a href="form_advanced.html#">选项1</a>
  201. </li>
  202. <li><a href="form_advanced.html#">选项2</a>
  203. </li>
  204. </ul>
  205. <a class="close-link">
  206. <i class="fa fa-times"></i>
  207. </a>
  208. </div>
  209. </div>
  210. <div class="ibox-content">
  211. <h3>
  212. 日期选择器
  213. </h3>
  214. <p>
  215. 简单好用的日期选择器
  216. </p>
  217. <div class="form-group" id="data_1">
  218. <label class="font-noraml">简单示例</label>
  219. <div class="input-group date">
  220. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  221. <input type="text" class="form-control" value="2014-11-11">
  222. </div>
  223. </div>
  224. <div class="form-group" id="data_2">
  225. <label class="font-noraml">年视图</label>
  226. <div class="input-group date">
  227. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  228. <input type="text" class="form-control" value="2014-11-11">
  229. </div>
  230. </div>
  231. <div class="form-group" id="data_3">
  232. <label class="font-noraml">10年视图</label>
  233. <div class="input-group date">
  234. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  235. <input type="text" class="form-control" value="2014-11-11">
  236. </div>
  237. </div>
  238. <div class="form-group" id="data_4">
  239. <label class="font-noraml">选择月份</label>
  240. <div class="input-group date">
  241. <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
  242. <input type="text" class="form-control" value="2014-11-11">
  243. </div>
  244. </div>
  245. <div class="form-group" id="data_5">
  246. <label class="font-noraml">范围选择</label>
  247. <div class="input-daterange input-group" id="datepicker">
  248. <input type="text" class="input-sm form-control" name="start" value="2014-11-11" />
  249. <span class="input-group-addon">到</span>
  250. <input type="text" class="input-sm form-control" name="end" value="2014-11-17" />
  251. </div>
  252. </div>
  253. </div>
  254. </div>
  255. <div class="ibox">
  256. <div class="ibox-title">
  257. <h5>时间选择 <small>http://weareoutman.github.io/clockpicker/</small></h5>
  258. <div class="ibox-tools">
  259. <a class="collapse-link">
  260. <i class="fa fa-chevron-up"></i>
  261. </a>
  262. <a class="dropdown-toggle" data-toggle="dropdown" href="#">
  263. <i class="fa fa-wrench"></i>
  264. </a>
  265. <ul class="dropdown-menu dropdown-user">
  266. <li><a href="#">选项 01</a>
  267. </li>
  268. <li><a href="#">选项 02</a>
  269. </li>
  270. </ul>
  271. <a class="close-link">
  272. <i class="fa fa-times"></i>
  273. </a>
  274. </div>
  275. </div>
  276. <div class="ibox-content">
  277. <h3>
  278. 时间选择
  279. </h3>
  280. <div class="input-group clockpicker" data-autoclose="true">
  281. <input type="text" class="form-control" value="09:30">
  282. <span class="input-group-addon">
  283. <span class="fa fa-clock-o"></span>
  284. </span>
  285. </div>
  286. </div>
  287. </div>
  288. <div class="ibox float-e-margins">
  289. <div class="ibox-title">
  290. <h5>下拉列表 <small>http://harvesthq.github.io/chosen/</small></h5>
  291. <div class="ibox-tools">
  292. <a class="collapse-link">
  293. <i class="fa fa-chevron-up"></i>
  294. </a>
  295. <a class="dropdown-toggle" data-toggle="dropdown" href="form_advanced.html#">
  296. <i class="fa fa-wrench"></i>
  297. </a>
  298. <ul class="dropdown-menu dropdown-user">
  299. <li><a href="form_advanced.html#">选项1</a>
  300. </li>
  301. <li><a href="form_advanced.html#">选项2</a>
  302. </li>
  303. </ul>
  304. <a class="close-link">
  305. <i class="fa fa-times"></i>
  306. </a>
  307. </div>
  308. </div>
  309. <div class="ibox-content">
  310. <h3>
  311. 下拉选择
  312. </h3>
  313. <p>
  314. 这个比较有名气啦,不多说
  315. </p>
  316. <div class="form-group">
  317. <label class="font-noraml">基本示例</label>
  318. <div class="input-group">
  319. <select data-placeholder="选择省份..." class="chosen-select" style="width:350px;" tabindex="2">
  320. <option value="">请选择省份</option>
  321. <option value="110000" hassubinfo="true">北京</option>
  322. <option value="120000" hassubinfo="true">天津</option>
  323. <option value="130000" hassubinfo="true">河北省</option>
  324. <option value="140000" hassubinfo="true">山西省</option>
  325. <option value="150000" hassubinfo="true">内蒙古自治区</option>
  326. <option value="210000" hassubinfo="true">辽宁省</option>
  327. <option value="220000" hassubinfo="true">吉林省</option>
  328. <option value="230000" hassubinfo="true">黑龙江省</option>
  329. <option value="310000" hassubinfo="true">上海</option>
  330. <option value="320000" hassubinfo="true">江苏省</option>
  331. <option value="330000" hassubinfo="true">浙江省</option>
  332. <option value="340000" hassubinfo="true">安徽省</option>
  333. <option value="350000" hassubinfo="true">福建省</option>
  334. <option value="360000" hassubinfo="true">江西省</option>
  335. <option value="370000" hassubinfo="true">山东省</option>
  336. <option value="410000" hassubinfo="true">河南省</option>
  337. <option value="420000" hassubinfo="true">湖北省</option>
  338. <option value="430000" hassubinfo="true">湖南省</option>
  339. <option value="440000" hassubinfo="true">广东省</option>
  340. <option value="450000" hassubinfo="true">广西壮族自治区</option>
  341. <option value="460000" hassubinfo="true">海南省</option>
  342. <option value="500000" hassubinfo="true">重庆</option>
  343. <option value="510000" hassubinfo="true">四川省</option>
  344. <option value="520000" hassubinfo="true">贵州省</option>
  345. <option value="530000" hassubinfo="true">云南省</option>
  346. <option value="540000" hassubinfo="true">西藏自治区</option>
  347. <option value="610000" hassubinfo="true">陕西省</option>
  348. <option value="620000" hassubinfo="true">甘肃省</option>
  349. <option value="630000" hassubinfo="true">青海省</option>
  350. <option value="640000" hassubinfo="true">宁夏回族自治区</option>
  351. <option value="650000" hassubinfo="true">新疆维吾尔自治区</option>
  352. <option value="710000" hassubinfo="true">台湾省</option>
  353. <option value="810000" hassubinfo="true">香港特别行政区</option>
  354. <option value="820000" hassubinfo="true">澳门特别行政区</option>
  355. <option value="990000" hassubinfo="true">海外</option>
  356. </select>
  357. </div>
  358. </div>
  359. <div class="form-group">
  360. <label class="font-noraml">多选</label>
  361. <div class="input-group">
  362. <select data-placeholder="选择省份" class="chosen-select" multiple style="width:350px;" tabindex="4">
  363. <option value="">请选择省份</option>
  364. <option value="110000" hassubinfo="true">北京</option>
  365. <option value="120000" hassubinfo="true">天津</option>
  366. <option value="130000" hassubinfo="true">河北省</option>
  367. <option value="140000" hassubinfo="true">山西省</option>
  368. <option value="150000" hassubinfo="true">内蒙古自治区</option>
  369. <option value="210000" hassubinfo="true">辽宁省</option>
  370. <option value="220000" hassubinfo="true">吉林省</option>
  371. <option value="230000" hassubinfo="true">黑龙江省</option>
  372. <option value="310000" hassubinfo="true">上海</option>
  373. <option value="320000" hassubinfo="true">江苏省</option>
  374. <option value="330000" hassubinfo="true">浙江省</option>
  375. <option value="340000" hassubinfo="true">安徽省</option>
  376. <option value="350000" hassubinfo="true">福建省</option>
  377. <option value="360000" hassubinfo="true">江西省</option>
  378. <option value="370000" hassubinfo="true">山东省</option>
  379. <option value="410000" hassubinfo="true">河南省</option>
  380. <option value="420000" hassubinfo="true">湖北省</option>
  381. <option value="430000" hassubinfo="true">湖南省</option>
  382. <option value="440000" hassubinfo="true">广东省</option>
  383. <option value="450000" hassubinfo="true">广西壮族自治区</option>
  384. <option value="460000" hassubinfo="true">海南省</option>
  385. <option value="500000" hassubinfo="true">重庆</option>
  386. <option value="510000" hassubinfo="true">四川省</option>
  387. <option value="520000" hassubinfo="true">贵州省</option>
  388. <option value="530000" hassubinfo="true">云南省</option>
  389. <option value="540000" hassubinfo="true">西藏自治区</option>
  390. <option value="610000" hassubinfo="true">陕西省</option>
  391. <option value="620000" hassubinfo="true">甘肃省</option>
  392. <option value="630000" hassubinfo="true">青海省</option>
  393. <option value="640000" hassubinfo="true">宁夏回族自治区</option>
  394. <option value="650000" hassubinfo="true">新疆维吾尔自治区</option>
  395. <option value="710000" hassubinfo="true">台湾省</option>
  396. <option value="810000" hassubinfo="true">香港特别行政区</option>
  397. <option value="820000" hassubinfo="true">澳门特别行政区</option>
  398. <option value="990000" hassubinfo="true">海外</option>
  399. </select>
  400. </div>
  401. </div>
  402. </div>
  403. </div>
  404. <div class="ibox float-e-margins">
  405. <div class="ibox-title">
  406. <h5>文件上传 <small>https://github.com/episage/bootstrap-3-pretty-file-upload</small></h5>
  407. <div class="ibox-tools">
  408. <a class="collapse-link">
  409. <i class="fa fa-chevron-up"></i>
  410. </a>
  411. <a class="dropdown-toggle" data-toggle="dropdown" href="form_advanced.html#">
  412. <i class="fa fa-wrench"></i>
  413. </a>
  414. <ul class="dropdown-menu dropdown-user">
  415. <li><a href="form_advanced.html#">选项1</a>
  416. </li>
  417. <li><a href="form_advanced.html#">选项2</a>
  418. </li>
  419. </ul>
  420. <a class="close-link">
  421. <i class="fa fa-times"></i>
  422. </a>
  423. </div>
  424. </div>
  425. <div class="ibox-content">
  426. <div id="file-pretty">
  427. <div class="form-group">
  428. <label class="font-noraml">文件选择(单选)</label>
  429. <input type="file" class="form-control">
  430. </div>
  431. <div class="form-group">
  432. <label class="font-noraml">文件选择(多选)</label>
  433. <input type="file" multiple="multiple" class="form-control">
  434. </div>
  435. </div>
  436. </div>
  437. </div>
  438. </div>
  439. <div class="col-sm-7">
  440. <div class="ibox float-e-margins">
  441. <div class="ibox-title">
  442. <h5>固定格式文本 <small>http://jasny.github.io/bootstrap/</small></h5>
  443. <div class="ibox-tools">
  444. <a class="collapse-link">
  445. <i class="fa fa-chevron-up"></i>
  446. </a>
  447. <a class="dropdown-toggle" data-toggle="dropdown" href="form_advanced.html#">
  448. <i class="fa fa-wrench"></i>
  449. </a>
  450. <ul class="dropdown-menu dropdown-user">
  451. <li><a href="form_advanced.html#">选项1</a>
  452. </li>
  453. <li><a href="form_advanced.html#">选项2</a>
  454. </li>
  455. </ul>
  456. <a class="close-link">
  457. <i class="fa fa-times"></i>
  458. </a>
  459. </div>
  460. </div>
  461. <div class="ibox-content">
  462. <h3>
  463. 固定格式文本
  464. </h3>
  465. <p>
  466. 可以按指定格式格式化输入的文本内容。
  467. </p>
  468. <form class="form-horizontal m-t-md" action="form_advanced.html#">
  469. <div class="form-group">
  470. <label class="col-sm-2 col-sm-2 control-label">ISBN 1</label>
  471. <div class="col-sm-10">
  472. <input type="text" class="form-control" data-mask="999-99-999-9999-9" placeholder="">
  473. <span class="help-block">999-99-999-9999-9</span>
  474. </div>
  475. </div>
  476. <div class="form-group">
  477. <label class="col-sm-2 control-label">ISBN 2</label>
  478. <div class="col-sm-10">
  479. <input type="text" class="form-control" data-mask="999 99 999 9999 9" placeholder="">
  480. <span class="help-block">999 99 999 9999 9</span>
  481. </div>
  482. </div>
  483. <div class="form-group">
  484. <label class="col-sm-2 control-label">ISBN 3</label>
  485. <div class="col-sm-10">
  486. <input type="text" class="form-control" data-mask="999/99/999/9999/9" placeholder="">
  487. <span class="help-block">999/99/999/9999/9</span>
  488. </div>
  489. </div>
  490. <div class="hr-line-dashed"></div>
  491. <div class="form-group">
  492. <label class="col-sm-2 control-label">IPV4</label>
  493. <div class="col-sm-10">
  494. <input type="text" class="form-control" data-mask="999.999.999.9999" placeholder="">
  495. <span class="help-block">192.168.100.200</span>
  496. </div>
  497. </div>
  498. <div class="hr-line-dashed"></div>
  499. <div class="form-group">
  500. <label class="col-sm-2 control-label">税务代码</label>
  501. <div class="col-sm-10">
  502. <input type="text" class="form-control" data-mask="99-9999999" placeholder="">
  503. <span class="help-block">99-9999999</span>
  504. </div>
  505. </div>
  506. <div class="form-group">
  507. <label class="col-sm-2 control-label">电话</label>
  508. <div class="col-sm-10">
  509. <input type="text" class="form-control" data-mask="9999-9999999" placeholder="">
  510. <span class="help-block">(999) 999-9999</span>
  511. </div>
  512. </div>
  513. <div class="hr-line-dashed"></div>
  514. <div class="form-group">
  515. <label class="col-sm-2 control-label">货币</label>
  516. <div class="col-sm-10">
  517. <input type="text" class="form-control" data-mask="&yen; 999,999,999.99" placeholder="">
  518. <span class="help-block">&yen; 999,999,999.99</span>
  519. </div>
  520. </div>
  521. <div class="hr-line-dashed"></div>
  522. <div class="form-group">
  523. <label class="col-sm-2 control-label">日期</label>
  524. <div class="col-sm-10">
  525. <input type="text" class="form-control" data-mask="9999-99-99" placeholder="">
  526. <span class="help-block">yyyy-mm-dd</span>
  527. </div>
  528. </div>
  529. </form>
  530. </div>
  531. </div>
  532. <div class="ibox float-e-margins">
  533. <div class="ibox-title">
  534. <h5>切换开关 <small>http://abpetkov.github.io/switchery/</small></h5>
  535. <div class="ibox-tools">
  536. <a class="collapse-link">
  537. <i class="fa fa-chevron-up"></i>
  538. </a>
  539. <a class="dropdown-toggle" data-toggle="dropdown" href="form_advanced.html#">
  540. <i class="fa fa-wrench"></i>
  541. </a>
  542. <ul class="dropdown-menu dropdown-user">
  543. <li><a href="form_advanced.html#">选项1</a>
  544. </li>
  545. <li><a href="form_advanced.html#">选项2</a>
  546. </li>
  547. </ul>
  548. <a class="close-link">
  549. <i class="fa fa-times"></i>
  550. </a>
  551. </div>
  552. </div>
  553. <div class="ibox-content">
  554. <h3>
  555. 切换按钮01
  556. </h3>
  557. <p>
  558. 给复选按钮加上IOS7风格
  559. </p>
  560. <input type="checkbox" class="js-switch" checked />
  561. <input type="checkbox" class="js-switch_2" checked />
  562. <br/>
  563. <br/>
  564. <input type="checkbox" class="js-switch_3" />
  565. <br/>
  566. <br/>
  567. <h4>
  568. 切换按钮02
  569. </h4>
  570. <p>
  571. 使用css3实现的切换按钮
  572. </p>
  573. <div class="switch">
  574. <div class="onoffswitch">
  575. <input type="checkbox" checked class="onoffswitch-checkbox" id="example1">
  576. <label class="onoffswitch-label" for="example1">
  577. <span class="onoffswitch-inner"></span>
  578. <span class="onoffswitch-switch"></span>
  579. </label>
  580. </div>
  581. </div>
  582. <div class="switch">
  583. <div class="onoffswitch">
  584. <input type="checkbox" class="onoffswitch-checkbox" id="example2">
  585. <label class="onoffswitch-label" for="example2">
  586. <span class="onoffswitch-inner"></span>
  587. <span class="onoffswitch-switch"></span>
  588. </label>
  589. </div>
  590. </div>
  591. </div>
  592. </div>
  593. </div>
  594. </div>
  595. <div class="row">
  596. <div class="col-sm-12">
  597. <div class="ibox float-e-margins">
  598. <div class="ibox-title back-change">
  599. <h5>单选复选框</h5>
  600. <div class="ibox-tools">
  601. <a class="collapse-link">
  602. <i class="fa fa-chevron-up"></i>
  603. </a>
  604. <a class="dropdown-toggle" data-toggle="dropdown" href="#">
  605. <i class="fa fa-wrench"></i>
  606. </a>
  607. <ul class="dropdown-menu dropdown-user">
  608. <li><a href="#">选项 01</a>
  609. </li>
  610. <li><a href="#">选项 02</a>
  611. </li>
  612. </ul>
  613. <a class="close-link">
  614. <i class="fa fa-times"></i>
  615. </a>
  616. </div>
  617. </div>
  618. <div class="ibox-content">
  619. <div class="row">
  620. <div class="col-md-4">
  621. <fieldset>
  622. <h3>基本</h3>
  623. <p>
  624. 支持使用Bootstrap内置颜色,如:<code>.checkbox-primary</code>, <code>.checkbox-info</code>等。
  625. </p>
  626. <div class="checkbox">
  627. <input id="checkbox1" type="checkbox">
  628. <label for="checkbox1">
  629. Default
  630. </label>
  631. </div>
  632. <div class="checkbox checkbox-primary">
  633. <input id="checkbox2" type="checkbox" checked="">
  634. <label for="checkbox2">
  635. Primary
  636. </label>
  637. </div>
  638. <div class="checkbox checkbox-success">
  639. <input id="checkbox3" type="checkbox">
  640. <label for="checkbox3">
  641. Success
  642. </label>
  643. </div>
  644. <div class="checkbox checkbox-info">
  645. <input id="checkbox4" type="checkbox">
  646. <label for="checkbox4">
  647. Info
  648. </label>
  649. </div>
  650. <div class="checkbox checkbox-warning">
  651. <input id="checkbox5" type="checkbox" checked="">
  652. <label for="checkbox5">
  653. Warning
  654. </label>
  655. </div>
  656. <div class="checkbox checkbox-danger">
  657. <input id="checkbox6" type="checkbox" checked="">
  658. <label for="checkbox6">
  659. Danger
  660. </label>
  661. </div>
  662. <p>无文本</p>
  663. <div class="checkbox">
  664. <input type="checkbox" id="singleCheckbox1" value="option1" aria-label="Single checkbox One">
  665. <label></label>
  666. </div>
  667. <div class="checkbox checkbox-primary">
  668. <input type="checkbox" id="singleCheckbox2" value="option2" checked="" aria-label="Single checkbox Two">
  669. <label></label>
  670. </div>
  671. <p>行级显示</p>
  672. <div class="checkbox checkbox-inline">
  673. <input type="checkbox" id="inlineCheckbox1" value="option1">
  674. <label for="inlineCheckbox1"> 选项01 </label>
  675. </div>
  676. <div class="checkbox checkbox-success checkbox-inline">
  677. <input type="checkbox" id="inlineCheckbox2" value="option1" checked="">
  678. <label for="inlineCheckbox2"> 选项02 </label>
  679. </div>
  680. <div class="checkbox checkbox-inline">
  681. <input type="checkbox" id="inlineCheckbox3" value="option1">
  682. <label for="inlineCheckbox3"> 选项03 </label>
  683. </div>
  684. </fieldset>
  685. </div>
  686. <div class="col-md-4">
  687. <fieldset>
  688. <h3>
  689. 圆形显示
  690. </h3>
  691. <p>
  692. <code>.checkbox-circle</code> 可实现圆形显示
  693. </p>
  694. <div class="checkbox checkbox-circle">
  695. <input id="checkbox7" type="checkbox">
  696. <label for="checkbox7">
  697. 示例 01
  698. </label>
  699. </div>
  700. <div class="checkbox checkbox-info checkbox-circle">
  701. <input id="checkbox8" type="checkbox" checked="">
  702. <label for="checkbox8">
  703. 示例 02
  704. </label>
  705. </div>
  706. </fieldset>
  707. </div>
  708. <div class="col-md-4">
  709. <fieldset>
  710. <h3>
  711. 单选框
  712. </h3>
  713. <p>
  714. 支持使用Bootstrap内置颜色,如:<code>.radio-primary</code>, <code>.radio-danger</code> 等。
  715. </p>
  716. <div class="row">
  717. <div class="col-sm-6">
  718. <div class="radio">
  719. <input type="radio" name="radio1" id="radio1" value="option1" checked="">
  720. <label for="radio1">
  721. 文本 01
  722. </label>
  723. </div>
  724. <div class="radio">
  725. <input type="radio" name="radio1" id="radio2" value="option2">
  726. <label for="radio2">
  727. 文本 02
  728. </label>
  729. </div>
  730. </div>
  731. <div class="col-sm-6">
  732. <div class="radio radio-danger">
  733. <input type="radio" name="radio2" id="radio3" value="option1">
  734. <label for="radio3">
  735. 文本 03
  736. </label>
  737. </div>
  738. <div class="radio radio-danger">
  739. <input type="radio" name="radio2" id="radio4" value="option2" checked="">
  740. <label for="radio4">
  741. 文本 04
  742. </label>
  743. </div>
  744. </div>
  745. </div>
  746. <p>无文本</p>
  747. <div class="radio">
  748. <input type="radio" id="singleRadio1" value="option1" name="radioSingle1" aria-label="Single radio One">
  749. <label></label>
  750. </div>
  751. <div class="radio radio-success">
  752. <input type="radio" id="singleRadio2" value="option2" name="radioSingle1" checked="" aria-label="Single radio Two">
  753. <label></label>
  754. </div>
  755. <p>行级显示</p>
  756. <div class="radio radio-info radio-inline">
  757. <input type="radio" id="inlineRadio1" value="option1" name="radioInline" checked="">
  758. <label for="inlineRadio1"> 选项 01 </label>
  759. </div>
  760. <div class="radio radio-inline">
  761. <input type="radio" id="inlineRadio2" value="option2" name="radioInline">
  762. <label for="inlineRadio2"> 选项 02 </label>
  763. </div>
  764. </fieldset>
  765. </div>
  766. </div>
  767. </div>
  768. </div>
  769. <div class="ibox float-e-margins">
  770. <div class="ibox-title">
  771. <h5>拾色器 <small>http://mjolnic.github.io/bootstrap-colorpicker/</small></h5>
  772. <div class="ibox-tools">
  773. <a class="collapse-link">
  774. <i class="fa fa-chevron-up"></i>
  775. </a>
  776. <a class="dropdown-toggle" data-toggle="dropdown" href="form_advanced.html#">
  777. <i class="fa fa-wrench"></i>
  778. </a>
  779. <ul class="dropdown-menu dropdown-user">
  780. <li><a href="form_advanced.html#">选项1</a>
  781. </li>
  782. <li><a href="form_advanced.html#">选项2</a>
  783. </li>
  784. </ul>
  785. <a class="close-link">
  786. <i class="fa fa-times"></i>
  787. </a>
  788. </div>
  789. </div>
  790. <div class="ibox-content">
  791. <div class="row m-t">
  792. <div class="col-sm-10">
  793. <div class="form-group">
  794. <label class="font-noraml">普通的16进制颜色</label>
  795. <div class="input-group">
  796. <input type="text" class="form-control colorpicker-demo1" value="#5367ce" />
  797. </div>
  798. </div>
  799. <div class="form-group">
  800. <label class="font-noraml">作为部件使用</label>
  801. <div class="input-group colorpicker-demo2">
  802. <input type="text" value="" class="form-control" />
  803. <span class="input-group-addon"><i></i></span>
  804. </div>
  805. </div>
  806. <div class="form-group">
  807. <label class="font-noraml">事件</label>
  808. <div class="well">
  809. <a href="#" class="btn small demo colorpicker-element" id="demo_apidemo" data-color="rgb(255, 255, 255)">改变背景颜色</a>
  810. </div>
  811. </div>
  812. <div class="form-group">
  813. <label class="font-noraml">RGBA颜色</label>
  814. <div class="input-group colorpicker-demo3">
  815. <input type="text" value="" class="form-control" />
  816. <span class="input-group-addon"><i></i></span>
  817. </div>
  818. </div>
  819. <div class="form-group">
  820. <label class="font-noraml">内联模式</label>
  821. <div class="well">
  822. <div id="demo_cont" class="demo demo-auto inl-bl inline" data-container="#demo_cont" data-color="rgba(150,216,62,0.55)" data-inline="true"></div>
  823. <div class="demo demo-auto inl-bl inline" data-container="true" data-color="rgb(50,216,62)" data-inline="true"></div>
  824. </div>
  825. </div>
  826. <div class="form-group">
  827. <label class="font-noraml">禁用 / 启用</label>
  828. <div class="well">
  829. <div id="demo_endis" class="input-group demo demo-auto colorpicker-component">
  830. <input disabled type="text" value="" class="form-control" />
  831. <span class="input-group-addon"><i></i></span>
  832. </div>
  833. <br>
  834. <a class="btn btn-sm btn-default enable-button" href="#">启用</a>
  835. <a class="btn btn-sm btn-default disable-button" href="#">禁用</a>
  836. </div>
  837. </div>
  838. <div class="form-group">
  839. <label class="font-noraml">Bootstrap弹层</label>
  840. <div class="well">
  841. <button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">显示</button>
  842. </div>
  843. </div>
  844. </div>
  845. <div class="col-sm-2">
  846. <a class="btn btn-white demo-destroy btn-block" href="#"><i class="glyphicon glyphicon-remove"></i> 销毁插件</a>
  847. <a class="btn btn-white demo-create btn-block" href="#"><i class="glyphicon glyphicon-plus"></i> 重新创建</a>
  848. </div>
  849. </div>
  850. </div>
  851. </div>
  852. <div class="ibox float-e-margins">
  853. <div class="ibox-title back-change">
  854. <h5>图片裁剪 <small>http://fengyuanchen.github.io/cropper/</small></h5>
  855. <div class="ibox-tools">
  856. <a class="collapse-link">
  857. <i class="fa fa-chevron-up"></i>
  858. </a>
  859. <a class="dropdown-toggle" data-toggle="dropdown" href="#">
  860. <i class="fa fa-wrench"></i>
  861. </a>
  862. <ul class="dropdown-menu dropdown-user">
  863. <li><a href="#">选项 01</a>
  864. </li>
  865. <li><a href="#">选项 02</a>
  866. </li>
  867. </ul>
  868. <a class="close-link">
  869. <i class="fa fa-times"></i>
  870. </a>
  871. </div>
  872. </div>
  873. <div class="ibox-content">
  874. <p>
  875. 一款简单的jQuery图片裁剪插件
  876. </p>
  877. <div class="row">
  878. <div class="col-md-6">
  879. <div class="image-crop">
  880. <img src="img/a3.jpg">
  881. </div>
  882. </div>
  883. <div class="col-md-6">
  884. <h4>图片预览:</h4>
  885. <div class="img-preview img-preview-sm"></div>
  886. <h4>说明:</h4>
  887. <p>
  888. 你可以选择新图片上传,然后下载裁剪后的图片
  889. </p>
  890. <div class="btn-group">
  891. <label title="上传图片" for="inputImage" class="btn btn-primary">
  892. <input type="file" accept="image/*" name="file" id="inputImage" class="hide"> 上传新图片
  893. </label>
  894. <label title="下载图片" id="download" class="btn btn-primary">下载</label>
  895. </div>
  896. <h4>其他说明:</h4>
  897. <p>
  898. 你可以使用<code>$({image}).cropper(options)</code>来配置插件
  899. </p>
  900. <div class="btn-group">
  901. <button class="btn btn-white" id="zoomIn" type="button">放大</button>
  902. <button class="btn btn-white" id="zoomOut" type="button">缩小</button>
  903. <button class="btn btn-white" id="rotateLeft" type="button">左旋转</button>
  904. <button class="btn btn-white" id="rotateRight" type="button">右旋转</button>
  905. <button class="btn btn-warning" id="setDrag" type="button">裁剪</button>
  906. </div>
  907. </div>
  908. </div>
  909. </div>
  910. </div>
  911. </div>
  912. </div>
  913. </div>
  914. <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  915. <div class="modal-dialog">
  916. <div class="modal-content">
  917. <div class="modal-header">
  918. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
  919. <h4 class="modal-title" id="myModalLabel">颜色选择</h4>
  920. </div>
  921. <div class="modal-body">
  922. <div class="input-group colorpicker-component demo demo-auto">
  923. <input type="text" value="" class="form-control" />
  924. <span class="input-group-addon"><i></i></span>
  925. </div>
  926. </div>
  927. <div class="modal-footer">
  928. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  929. </div>
  930. </div>
  931. </div>
  932. </div>
  933. <script src="../js/jquery.min.js?v=2.1.4"></script>
  934. <script src="../js/bootstrap.min.js?v=3.3.6"></script>
  935. <script src="../js/content.min.js?v=1.0.0"></script>
  936. <script src="../js/plugins/chosen/chosen.jquery.js"></script>
  937. <script src="../js/plugins/jsKnob/jquery.knob.js"></script>
  938. <script src="../js/plugins/jasny/jasny-bootstrap.min.js"></script>
  939. <script src="../js/plugins/datapicker/bootstrap-datepicker.js"></script>
  940. <script src="../js/plugins/prettyfile/bootstrap-prettyfile.js"></script>
  941. <script src="../js/plugins/nouslider/jquery.nouislider.min.js"></script>
  942. <script src="../js/plugins/switchery/switchery.js"></script>
  943. <script src="../js/plugins/ionRangeSlider/ion.rangeSlider.min.js"></script>
  944. <script src="../js/plugins/iCheck/icheck.min.js"></script>
  945. <script src="../js/plugins/metisMenu/jquery.metisMenu.js"></script>
  946. <script src="../js/plugins/colorpicker/bootstrap-colorpicker.min.js"></script>
  947. <script src="../js/plugins/clockpicker/clockpicker.js"></script>
  948. <script src="../js/plugins/cropper/cropper.min.js"></script>
  949. <script src="../js/demo/form-advanced-demo.min.js"></script>
  950. </body>
  951. </html>