forms.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. <!DOCTYPE html>
  2. <html class='no-js' lang='en'>
  3. <head>
  4. <meta charset='utf-8'>
  5. <meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
  6. <title>Forms</title>
  7. <meta content='lab2023' name='author'>
  8. <meta content='' name='description'>
  9. <meta content='' name='keywords'>
  10. <link href="assets/stylesheets/application-a07755f5.css" rel="stylesheet" type="text/css" /><link href="//netdna.bootstrapcdn.com/font-awesome/3.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
  11. <link href="assets/images/favicon.ico" rel="icon" type="image/ico" />
  12. </head>
  13. <body class='main page'>
  14. <!-- Navbar -->
  15. <div class='navbar navbar-default' id='navbar'>
  16. <a class='navbar-brand' href='#'>
  17. <i class='icon-beer'></i>
  18. Hierapolis
  19. </a>
  20. <ul class='nav navbar-nav pull-right'>
  21. <li class='dropdown'>
  22. <a class='dropdown-toggle' data-toggle='dropdown' href='#'>
  23. <i class='icon-envelope'></i>
  24. Messages
  25. <span class='badge'>5</span>
  26. <b class='caret'></b>
  27. </a>
  28. <ul class='dropdown-menu'>
  29. <li>
  30. <a href='#'>New message</a>
  31. </li>
  32. <li>
  33. <a href='#'>Inbox</a>
  34. </li>
  35. <li>
  36. <a href='#'>Out box</a>
  37. </li>
  38. <li>
  39. <a href='#'>Trash</a>
  40. </li>
  41. </ul>
  42. </li>
  43. <li>
  44. <a href='#'>
  45. <i class='icon-cog'></i>
  46. Settings
  47. </a>
  48. </li>
  49. <li class='dropdown user'>
  50. <a class='dropdown-toggle' data-toggle='dropdown' href='#'>
  51. <i class='icon-user'></i>
  52. <strong>John DOE</strong>
  53. <img class="img-rounded" src="http://placehold.it/20x20/ccc/777" />
  54. <b class='caret'></b>
  55. </a>
  56. <ul class='dropdown-menu'>
  57. <li>
  58. <a href='#'>Edit Profile</a>
  59. </li>
  60. <li class='divider'></li>
  61. <li>
  62. <a href="/">Sign out</a>
  63. </li>
  64. </ul>
  65. </li>
  66. </ul>
  67. </div>
  68. <div id='wrapper'>
  69. <!-- Sidebar -->
  70. <section id='sidebar'>
  71. <i class='icon-align-justify icon-large' id='toggle'></i>
  72. <ul id='dock'>
  73. <li class='launcher'>
  74. <i class='icon-dashboard'></i>
  75. <a href="dashboard.html">Dashboard</a>
  76. </li>
  77. <li class='active launcher'>
  78. <i class='icon-file-text-alt'></i>
  79. <a href="forms.html">Forms</a>
  80. </li>
  81. <li class='launcher'>
  82. <i class='icon-table'></i>
  83. <a href="tables.html">Tables</a>
  84. </li>
  85. <li class='launcher dropdown hover'>
  86. <i class='icon-flag'></i>
  87. <a href='#'>Reports</a>
  88. <ul class='dropdown-menu'>
  89. <li class='dropdown-header'>Launcher description</li>
  90. <li>
  91. <a href='#'>Action</a>
  92. </li>
  93. <li>
  94. <a href='#'>Another action</a>
  95. </li>
  96. <li>
  97. <a href='#'>Something else here</a>
  98. </li>
  99. </ul>
  100. </li>
  101. <li class='launcher'>
  102. <i class='icon-bookmark'></i>
  103. <a href='#'>Bookmarks</a>
  104. </li>
  105. <li class='launcher'>
  106. <i class='icon-cloud'></i>
  107. <a href='#'>Backup</a>
  108. </li>
  109. <li class='launcher'>
  110. <i class='icon-bug'></i>
  111. <a href='#'>Feedback</a>
  112. </li>
  113. </ul>
  114. <div data-toggle='tooltip' id='beaker' title='Made by lab2023'></div>
  115. </section>
  116. <!-- Tools -->
  117. <section id='tools'>
  118. <ul class='breadcrumb' id='breadcrumb'>
  119. <li class='title'>Forms</li>
  120. <li><a href="#">Lorem</a></li>
  121. <li class='active'><a href="#">ipsum</a></li>
  122. </ul>
  123. <div id='toolbar'>
  124. </div>
  125. </section>
  126. <!-- Content -->
  127. <div id='content'>
  128. <div class='panel panel-default'>
  129. <div class='panel-heading'>
  130. <i class='icon-edit icon-large'></i>
  131. Form Default
  132. </div>
  133. <div class='panel-body'>
  134. <form>
  135. <fieldset>
  136. <legend>Default Inputs</legend>
  137. <div class='form-group'>
  138. <label class='control-label'>Text field</label>
  139. <input class='form-control' placeholder='Enter username' type='text'>
  140. </div>
  141. <div class='form-group'>
  142. <label class='control-label'>Password field</label>
  143. <input class='form-control' placeholder='Enter password' type='password'>
  144. </div>
  145. <div class='form-group'>
  146. <label class='control-label'>Input field with help</label>
  147. <input class='form-control' placeholder='.help-block'>
  148. <p class='help-block'>Example block-level help text here.</p>
  149. </div>
  150. <div class='form-group'>
  151. <label class='control-label'>Disabled field</label>
  152. <input class='form-control' disabled placeholder='This is field is disabled!'>
  153. </div>
  154. <div class='form-group'>
  155. <label class='control-label'>Tooltip field</label>
  156. <input class='form-control' data-toggle='tooltip' placeholder='This is field is disabled!' title='Input tips here'>
  157. </div>
  158. <div class='form-group'>
  159. <label class='control-label'>Textarea field</label>
  160. <textarea class='form-control' rows='4'></textarea>
  161. </div>
  162. <div class='form-group'>
  163. <label class='control-label'>File input</label>
  164. <input type='file'>
  165. </div>
  166. <div class='form-group'>
  167. <label class='control-label'>Large field</label>
  168. <input class='form-control input-lg' placeholder='.input-lg' type='text'>
  169. </div>
  170. <div class='form-group'>
  171. <label class='control-label'>Small field</label>
  172. <input class='form-control input-sm' placeholder='.input-sm' type='text'>
  173. </div>
  174. <div class='form-group row'>
  175. <div class='col-lg-2'>
  176. <label class='control-label'>Column sizing</label>
  177. <input class='form-control' placeholder='.col-lg-2' type='text'>
  178. </div>
  179. <div class='col-lg-3'>
  180. <label class='control-label'>Column sizing</label>
  181. <input class='form-control' placeholder='.col-lg-3' type='text'>
  182. </div>
  183. <div class='col-lg-7'>
  184. <label class='control-label'>Column sizing</label>
  185. <input class='form-control' placeholder='.col-lg-7' type='text'>
  186. </div>
  187. </div>
  188. </fieldset>
  189. <fieldset>
  190. <legend>Input Validation States</legend>
  191. <div class='form-group has-warning'>
  192. <label class='control-label'>Input field with help</label>
  193. <input class='form-control' placeholder='.has-warning'>
  194. <p class='help-block'>Example block-level help text here.</p>
  195. </div>
  196. <div class='form-group has-error'>
  197. <label class='control-label'>Input field with help</label>
  198. <input class='form-control' placeholder='.has-error'>
  199. <p class='help-block'>Example block-level help text here.</p>
  200. </div>
  201. <div class='form-group has-success'>
  202. <label class='control-label'>Input field with help</label>
  203. <input class='form-control' placeholder='.has-success'>
  204. <p class='help-block'>Example block-level help text here.</p>
  205. </div>
  206. </fieldset>
  207. <fieldset>
  208. <legend>Checkboxes and radios</legend>
  209. <div class='form-group'>
  210. <label class='control-label'>Checkbox</label>
  211. <div class='checkbox'>
  212. <input type='checkbox' value=''>
  213. Option one is this and that&mdash;be sure to include why it's great
  214. </div>
  215. </div>
  216. <div class='form-group'>
  217. <label class='control-label'>Inline checkbox</label>
  218. <br>
  219. <div class='checkbox-inline'>
  220. <input type='checkbox' value=''>
  221. 1
  222. </div>
  223. <div class='checkbox-inline'>
  224. <input type='checkbox' value=''>
  225. 2
  226. </div>
  227. <div class='checkbox-inline'>
  228. <input type='checkbox' value=''>
  229. 3
  230. </div>
  231. </div>
  232. <div class='form-group'>
  233. <label class='control-label'>Radio</label>
  234. <div class='radio'>
  235. <input checked name='options_radio' type='radio' value='option1'>
  236. Option one is this and that&mdash;be sure to include why it's great
  237. <br>
  238. <input checked name='options_radio' type='radio' value='option2'>
  239. Option two can be something else and selecting it will deselect option one
  240. </div>
  241. </div>
  242. </fieldset>
  243. <fieldset>
  244. <legend>Selects</legend>
  245. <div class='form-group'>
  246. <label class='control-label'>Single select</label>
  247. <select class='form-control'>
  248. <option>1</option>
  249. <option>2</option>
  250. <option>3</option>
  251. <option>4</option>
  252. <option>5</option>
  253. </select>
  254. </div>
  255. <div class='form-group'>
  256. <label class='control-label'>Multiple select</label>
  257. <select class='form-control' multiple>
  258. <option>1</option>
  259. <option>2</option>
  260. <option>3</option>
  261. <option>4</option>
  262. <option>5</option>
  263. </select>
  264. </div>
  265. </fieldset>
  266. <div class='form-actions'>
  267. <button class='btn btn-default' type='submit'>Submit</button>
  268. <a class='btn' href='#'>Cancel</a>
  269. </div>
  270. </form>
  271. </div>
  272. </div>
  273. <div class='panel panel-default'>
  274. <div class='panel-heading'>
  275. <i class='icon-edit icon-large'></i>
  276. Form Horizontal
  277. </div>
  278. <div class='panel-body'>
  279. <form class='form-horizontal'>
  280. <fieldset>
  281. <legend>Default inputs</legend>
  282. <div class='form-group'>
  283. <label class='col-lg-2 control-label'>Text field</label>
  284. <div class='col-lg-10'>
  285. <input class='form-control' placeholder='Enter username' type='text'>
  286. </div>
  287. </div>
  288. <div class='form-group'>
  289. <label class='col-lg-2 control-label'>Password field</label>
  290. <div class='col-lg-10'>
  291. <input class='form-control' placeholder='Enter password' type='password'>
  292. </div>
  293. </div>
  294. <div class='form-group'>
  295. <label class='col-lg-2 control-label'>Input field with help</label>
  296. <div class='col-lg-10'>
  297. <input class='form-control' placeholder='.help-block'>
  298. <p class='help-block'>Example block-level help text here.%fieldset</p>
  299. </div>
  300. </div>
  301. <legend>Validation inputs</legend>
  302. <div class='form-group has-warning'>
  303. <label class='col-lg-2 control-label'>Text field</label>
  304. <div class='col-lg-10'>
  305. <input class='form-control' placeholder='Enter username' type='text'>
  306. </div>
  307. </div>
  308. <div class='form-group has-error'>
  309. <label class='col-lg-2 control-label'>Password field</label>
  310. <div class='col-lg-10'>
  311. <input class='form-control' placeholder='Enter password' type='password'>
  312. </div>
  313. </div>
  314. <div class='form-group has-success'>
  315. <label class='col-lg-2 control-label'>Input field with help</label>
  316. <div class='col-lg-10'>
  317. <input class='form-control' placeholder='.help-block'>
  318. <p class='help-block'>Example block-level help text here.</p>
  319. </div>
  320. </div>
  321. </fieldset>
  322. <div class='form-actions'>
  323. <button class='btn btn-default' type='submit'>Save</button>
  324. <a class='btn' href='#'>Cancel</a>
  325. </div>
  326. </form>
  327. </div>
  328. </div>
  329. <div class='panel panel-default'>
  330. <div class='panel-heading'>
  331. <i class='icon-edit icon-large'></i>
  332. Knob Inputs
  333. </div>
  334. <div class='panel-body text-center'>
  335. <input class='knob' data-height='150' data-width='150' type='text' value='75'>
  336. <input class='knob' data-fgColor='#16a085' data-height='150' data-width='150' type='text' value='100'>
  337. <input class='knob' data-fgColor='#7f8c8d' data-height='150' data-width='150' type='text' value='200'>
  338. </div>
  339. </div>
  340. </div>
  341. </div>
  342. <!-- Footer -->
  343. <!-- Javascripts -->
  344. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js" type="text/javascript"></script><script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js" type="text/javascript"></script><script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js" type="text/javascript"></script><script src="assets/javascripts/application-985b892b.js" type="text/javascript"></script>
  345. <!-- Google Analytics -->
  346. <script>
  347. var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
  348. (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
  349. g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
  350. s.parentNode.insertBefore(g,s)}(document,'script'));
  351. </script>
  352. </body>
  353. </html>