PageRenderTime 137ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/demos/mobile/docs/lists/lists-forms-inset.html

https://github.com/MichaelVdheeren/Absolution
HTML | 249 lines | 211 code | 38 blank | 0 comment | 0 complexity | 185b368816dc3fd0c226a14e54161f54 MD5 | raw file
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>jQuery Mobile Docs - Inset Lists with Forms</title>
  7. <link rel="stylesheet" href="../../../../compiled/absolution.mobile.css" />
  8. <link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
  9. <script src="../../js/jquery.js"></script>
  10. <script src="../../docs/_assets/js/jqm-docs.js"></script>
  11. <script src="../../js/jquery.mobile-1.1.1.js"></script>
  12. </head>
  13. <body>
  14. <div data-role="page" class="type-interior">
  15. <div data-role="header" data-theme="f">
  16. <h1>Inset with Forms</h1>
  17. <a href="../../" data-icon="home" data-iconpos="notext" data-direction="reverse">Home</a>
  18. <a href="../nav.html" data-icon="search" data-iconpos="notext" data-rel="dialog" data-transition="fade">Search</a>
  19. </div><!-- /header -->
  20. <div data-role="content">
  21. <div class="content-primary">
  22. <form>
  23. <ul data-role="listview" data-inset="true">
  24. <li data-role="fieldcontain">
  25. <label for="name">Text Input:</label>
  26. <input type="text" name="name" id="name" value="" />
  27. </li>
  28. <li data-role="fieldcontain">
  29. <label for="textarea">Textarea:</label>
  30. <textarea cols="40" rows="8" name="textarea" id="textarea"></textarea>
  31. </li>
  32. <li data-role="fieldcontain">
  33. <label for="search">Search Input:</label>
  34. <input type="search" name="password" id="search" value="" />
  35. </li>
  36. <li data-role="fieldcontain">
  37. <label for="slider2">Flip switch:</label>
  38. <select name="slider2" id="slider2" data-role="slider">
  39. <option value="off">Off</option>
  40. <option value="on">On</option>
  41. </select>
  42. </li>
  43. <li data-role="fieldcontain">
  44. <label for="slider">Slider:</label>
  45. <input type="range" name="slider" id="slider" value="0" min="0" max="100" />
  46. </li>
  47. <li data-role="fieldcontain">
  48. <fieldset data-role="controlgroup">
  49. <legend>Choose as many snacks as you'd like:</legend>
  50. <input type="checkbox" name="checkbox-1a" id="checkbox-1a" class="custom" />
  51. <label for="checkbox-1a">Cheetos</label>
  52. <input type="checkbox" name="checkbox-2a" id="checkbox-2a" class="custom" />
  53. <label for="checkbox-2a">Doritos</label>
  54. <input type="checkbox" name="checkbox-3a" id="checkbox-3a" class="custom" />
  55. <label for="checkbox-3a">Fritos</label>
  56. <input type="checkbox" name="checkbox-4a" id="checkbox-4a" class="custom" />
  57. <label for="checkbox-4a">Sun Chips</label>
  58. </fieldset>
  59. </li>
  60. <li data-role="fieldcontain">
  61. <fieldset data-role="controlgroup" data-type="horizontal">
  62. <legend>Font styling:</legend>
  63. <input type="checkbox" name="checkbox-6" id="checkbox-6" class="custom" />
  64. <label for="checkbox-6">b</label>
  65. <input type="checkbox" name="checkbox-7" id="checkbox-7" class="custom" />
  66. <label for="checkbox-7"><em>i</em></label>
  67. <input type="checkbox" name="checkbox-8" id="checkbox-8" class="custom" />
  68. <label for="checkbox-8">u</label>
  69. </fieldset>
  70. </li>
  71. <li data-role="fieldcontain">
  72. <fieldset data-role="controlgroup">
  73. <legend>Choose a pet:</legend>
  74. <input type="radio" name="radio-choice-1" id="radio-choice-1" value="choice-1" checked="checked" />
  75. <label for="radio-choice-1">Cat</label>
  76. <input type="radio" name="radio-choice-1" id="radio-choice-2" value="choice-2" />
  77. <label for="radio-choice-2">Dog</label>
  78. <input type="radio" name="radio-choice-1" id="radio-choice-3" value="choice-3" />
  79. <label for="radio-choice-3">Hamster</label>
  80. <input type="radio" name="radio-choice-1" id="radio-choice-4" value="choice-4" />
  81. <label for="radio-choice-4">Lizard</label>
  82. </fieldset>
  83. </li>
  84. <li data-role="fieldcontain">
  85. <fieldset data-role="controlgroup" data-type="horizontal">
  86. <legend>Layout view:</legend>
  87. <input type="radio" name="radio-choice-b" id="radio-choice-c" value="on" checked="checked" />
  88. <label for="radio-choice-c">List</label>
  89. <input type="radio" name="radio-choice-b" id="radio-choice-d" value="off" />
  90. <label for="radio-choice-d">Grid</label>
  91. </fieldset>
  92. </li>
  93. <li data-role="fieldcontain">
  94. <label for="select-choice-1" class="select">Choose shipping method:</label>
  95. <select name="select-choice-1" id="select-choice-1">
  96. <option value="standard">Standard: 7 day</option>
  97. <option value="rush">Rush: 3 days</option>
  98. <option value="express">Express: next day</option>
  99. <option value="overnight">Overnight</option>
  100. </select>
  101. </li>
  102. <li data-role="fieldcontain">
  103. <label for="select-choice-3" class="select">Your state:</label>
  104. <select name="select-choice-3" id="select-choice-3">
  105. <option value="AL">Alabama</option>
  106. <option value="AK">Alaska</option>
  107. <option value="AZ">Arizona</option>
  108. <option value="AR">Arkansas</option>
  109. <option value="CA">California</option>
  110. <option value="CO">Colorado</option>
  111. <option value="CT">Connecticut</option>
  112. <option value="DE">Delaware</option>
  113. <option value="FL">Florida</option>
  114. <option value="GA">Georgia</option>
  115. <option value="HI">Hawaii</option>
  116. <option value="ID">Idaho</option>
  117. <option value="IL">Illinois</option>
  118. <option value="IN">Indiana</option>
  119. <option value="IA">Iowa</option>
  120. <option value="KS">Kansas</option>
  121. <option value="KY">Kentucky</option>
  122. <option value="LA">Louisiana</option>
  123. <option value="ME">Maine</option>
  124. <option value="MD">Maryland</option>
  125. <option value="MA">Massachusetts</option>
  126. <option value="MI">Michigan</option>
  127. <option value="MN">Minnesota</option>
  128. <option value="MS">Mississippi</option>
  129. <option value="MO">Missouri</option>
  130. <option value="MT">Montana</option>
  131. <option value="NE">Nebraska</option>
  132. <option value="NV">Nevada</option>
  133. <option value="NH">New Hampshire</option>
  134. <option value="NJ">New Jersey</option>
  135. <option value="NM">New Mexico</option>
  136. <option value="NY">New York</option>
  137. <option value="NC">North Carolina</option>
  138. <option value="ND">North Dakota</option>
  139. <option value="OH">Ohio</option>
  140. <option value="OK">Oklahoma</option>
  141. <option value="OR">Oregon</option>
  142. <option value="PA">Pennsylvania</option>
  143. <option value="RI">Rhode Island</option>
  144. <option value="SC">South Carolina</option>
  145. <option value="SD">South Dakota</option>
  146. <option value="TN">Tennessee</option>
  147. <option value="TX">Texas</option>
  148. <option value="UT">Utah</option>
  149. <option value="VT">Vermont</option>
  150. <option value="VA">Virginia</option>
  151. <option value="WA">Washington</option>
  152. <option value="WV">West Virginia</option>
  153. <option value="WI">Wisconsin</option>
  154. <option value="WY">Wyoming</option>
  155. </select>
  156. </li>
  157. <li data-role="fieldcontain">
  158. <label for="select-choice-a" class="select">Choose shipping method:</label>
  159. <select name="select-choice-a" id="select-choice-a" data-native-menu="false">
  160. <option>Custom menu example</option>
  161. <option value="standard">Standard: 7 day</option>
  162. <option value="rush">Rush: 3 days</option>
  163. <option value="express">Express: next day</option>
  164. <option value="overnight">Overnight</option>
  165. </select>
  166. </li>
  167. <li class="ui-body ui-body-b">
  168. <fieldset class="ui-grid-a">
  169. <div class="ui-block-a"><button type="submit" data-theme="d">Cancel</button></div>
  170. <div class="ui-block-b"><button type="submit" data-theme="a">Submit</button></div>
  171. </fieldset>
  172. </li>
  173. </ul>
  174. </form>
  175. </div><!--/content-primary -->
  176. <div class="content-secondary">
  177. <div data-role="collapsible" data-collapsed="true" data-theme="b" data-content-theme="d">
  178. <h3>More in this section</h3>
  179. <ul data-role="listview" data-theme="c" data-dividertheme="d">
  180. <li data-role="list-divider">List views</li>
  181. <li><a href="docs-lists.html">List basics &amp; API</a></li>
  182. <li><a href="lists-ul.html">Basic linked list</a></li>
  183. <li><a href="lists-nested.html">Nested list</a></li>
  184. <li><a href="lists-ol.html">Numbered list</a></li>
  185. <li><a href="lists-split.html">Split button list</a></li>
  186. <li><a href="lists-divider.html">List dividers</a></li>
  187. <li><a href="lists-count.html">Count bubble</a></li>
  188. <li><a href="lists-thumbnails.html">Thumbnails</a></li>
  189. <li><a href="lists-icons.html">Icons</a></li>
  190. <li><a href="lists-formatting.html">Content formatting</a></li>
  191. <li><a href="lists-search.html">Search filter bar</a></li>
  192. <li><a href="lists-search-inset.html">Inset search filter bar</a></li>
  193. <li><a href="lists-search-with-dividers.html">Search filter bar with dividers</a></li>
  194. <li><a href="lists-search-filtertext.html">Search filter hidden data</a></li>
  195. <li><a href="lists-readonly.html">Read-only lists</a></li>
  196. <li><a href="lists-readonly-inset.html">Read-only inset lists</a></li>
  197. <li><a href="lists-forms.html">Lists with forms</a></li>
  198. <li data-theme="a"><a href="lists-forms-inset.html">Inset lists with forms</a></li>
  199. <li><a href="lists-inset.html">Inset styled lists</a></li>
  200. <li><a href="lists-performance.html">List performance test</a></li>
  201. <li><a href="lists-themes.html">Theming lists</a></li>
  202. </ul>
  203. </div>
  204. </div>
  205. </div><!-- /content -->
  206. <div data-role="footer" class="footer-docs" data-theme="c">
  207. <p>&copy; 2012 jQuery Foundation and other contributors</p>
  208. </div>
  209. </div><!-- /page -->
  210. </body>
  211. </html>