bs.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. <html>
  2. <head>
  3. <meta charset="UTF-8">
  4. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  5. <title>Interactive notebook</title>
  6. <link href="css/mditor.min.css" rel="stylesheet">
  7. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/css/bootstrap.min.css"
  8. integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
  9. <style>
  10. .container {
  11. margin: 45px auto;
  12. max-width: 880px;
  13. }
  14. </style>
  15. </head>
  16. <body>
  17. <div class="container">
  18. <form>
  19. <div class="form-group">
  20. <label for="exampleInputEmail1">Label</label>
  21. <input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp"
  22. placeholder="placeholder" list="team_list">
  23. <datalist id="team_list">
  24. <option>Detroit Lions</option>
  25. <option>Detroit Pistons</option>
  26. <option>Detroit Red Wings</option>
  27. <option>Detroit Tigers</option>
  28. </datalist>
  29. <div class="invalid-feedback">invalid-feedback.</div> <!-- input 添加 is-invalid 类 -->
  30. <div class="valid-feedback">valid-feedback!</div> <!-- input 添加 is-valid 类 -->
  31. <small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
  32. </div>
  33. <div class="form-group">
  34. <label for="exampleInputPassword1">Password</label>
  35. <input type="password" class="form-control" id="exampleInputPassword1">
  36. </div>
  37. <div class="form-group form-check">
  38. <input type="checkbox" class="form-check-input" id="exampleCheck1">
  39. <label class="form-check-label" for="exampleCheck1">Check me out</label>
  40. </div>
  41. <button type="submit" class="btn btn-primary">Submit</button>
  42. </form>
  43. <hr>
  44. <form id="f">
  45. <div class="form-group">
  46. <label for="num_input">Input</label>
  47. <input type="number" class="form-control" id="num_input">
  48. </div>
  49. <div class="form-group">
  50. <label for="submit_input">submit_input</label> <br>
  51. <input type="submit" class="btn btn-primary" id="submit_input">
  52. <input type="submit" class="btn btn-primary" value="哈哈">
  53. <button value="s" aria-describedby="emailHelp" class="btn btn-primary">No Submit</button>
  54. <button type="submit" name="submit" value="s" aria-describedby="emailHelp" class="btn btn-primary">Submit</button>
  55. <div class="invalid-feedback">invalid-feedback.</div> <!-- input 添加 is-invalid 类 -->
  56. <div class="valid-feedback">valid-feedback!</div> <!-- input 添加 is-valid 类 -->
  57. <small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
  58. </div>
  59. <div class="form-group">
  60. <label for="exampleFormControlSelect1">Select</label>
  61. <select class="form-control" id="exampleFormControlSelect1">
  62. <option>1</option>
  63. <option>2</option>
  64. <option>3</option>
  65. <option>4</option>
  66. <option>5</option>
  67. </select>
  68. </div>
  69. <div class="form-group">
  70. <label for="customFile">Upload file</label>
  71. <div class="custom-file">
  72. <input type="file" class="custom-file-input" id="customFile">
  73. <label class="custom-file-label" for="customFile">Choose file</label>
  74. </div>
  75. <div class="invalid-feedback">invalid-feedback.</div> <!-- input 添加 is-invalid 类 -->
  76. <div class="valid-feedback">valid-feedback!</div> <!-- input 添加 is-valid 类 -->
  77. <small class="form-text text-muted">We'll never share your email with anyone else.</small>
  78. </div>
  79. <div class="form-group">
  80. <label for="formControlRange">Example Range input</label>
  81. <input type="range" class="form-control-range" id="formControlRange">
  82. </div>
  83. <div class="form-group">
  84. <label for="exampleFormControlSelect2">Multiple select</label>
  85. <select multiple class="form-control" id="exampleFormControlSelect2" name="multiple_select">
  86. <option>1</option>
  87. <option>2</option>
  88. <option>3</option>
  89. <option>4</option>
  90. <option>5</option>
  91. </select>
  92. </div>
  93. <div class="form-group">
  94. <label for="exampleFormControlTextarea1">Textarea</label>
  95. <textarea class="form-control" id="exampleFormControlTextarea1" rows="3"></textarea>
  96. </div>
  97. <div class="form-group form-check">
  98. <input type="checkbox" class="form-check-input" id="exampleCheck2">
  99. <label class="form-check-label" for="exampleCheck2">Check me out</label>
  100. </div>
  101. <div class="form-group">
  102. <label>Radio</label>
  103. <div class="form-check">
  104. <input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios1" value="option1"
  105. checked>
  106. <label class="form-check-label" for="exampleRadios1">
  107. Option one is this and that—be sure to include why it's great
  108. </label>
  109. </div>
  110. <div class="form-check">
  111. <input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios2" value="option2">
  112. <label class="form-check-label" for="exampleRadios2">
  113. Option two can be something else and selecting it will deselect option one
  114. </label>
  115. </div>
  116. </div>
  117. <div class="form-group">
  118. <label>Radio inline</label> <br>
  119. <div class="form-check form-check-inline">
  120. <input class="form-check-input" type="radio" name="exampleRadios1" id="exampleRadios21" value="option1"
  121. checked>
  122. <label class="form-check-label" for="exampleRadios21">
  123. Option one
  124. </label>
  125. </div>
  126. <div class="form-check form-check-inline">
  127. <input class="form-check-input is-invalid" type="radio" name="exampleRadios1" id="exampleRadios22"
  128. value="option2">
  129. <label class="form-check-label" for="exampleRadios22">
  130. Option two
  131. </label>
  132. </div>
  133. <div class="invalid-feedback">invalid-feedback.</div> <!-- input 添加 is-invalid 类 -->
  134. <small class="form-text text-muted">We'll never share your email with anyone else.</small>
  135. </div>
  136. <div class="form-group">
  137. <label>Checkout</label>
  138. <div class="form-check">
  139. <input class="form-check-input is-invalid" type="checkbox" value="" id="defaultCheck1"
  140. name="defaultCheck1">
  141. <label class="form-check-label" for="defaultCheck1">
  142. Option one is this and that—be sure to include why it's great
  143. </label>
  144. </div>
  145. <div class="form-check">
  146. <input class="form-check-input is-invalid" type="checkbox" value="" id="defaultCheck2"
  147. name="defaultCheck1">
  148. <label class="form-check-label" for="defaultCheck2">
  149. Option two is disabled
  150. </label>
  151. </div>
  152. <div class="invalid-feedback">invalid-feedback.</div> <!-- input 添加 is-invalid 类 -->
  153. <small class="form-text text-muted">We'll never share your email with anyone else.</small>
  154. </div>
  155. <div class="form-group">
  156. <label>Checkout inline</label> <br>
  157. <div class="form-check form-check-inline">
  158. <input class="form-check-input" type="checkbox" value="" id="defaultCheck21" name="defaultCheck2">
  159. <label class="form-check-label" for="defaultCheck21">
  160. Option one
  161. </label>
  162. </div>
  163. <div class="form-check form-check-inline">
  164. <input class="form-check-input" type="checkbox" value="" id="defaultCheck22" name="defaultCheck2">
  165. <label class="form-check-label" for="defaultCheck22">
  166. Option two
  167. </label>
  168. </div>
  169. </div>
  170. <button type="submit" class="btn btn-primary">Submit</button>
  171. </form>
  172. <hr>
  173. <form>
  174. <div class="form-row">
  175. <div class="form-group col-md-6">
  176. <label for="inputEmail4">Email</label>
  177. <input type="email" class="form-control" id="inputEmail4">
  178. </div>
  179. <div class="form-group col-md-6">
  180. <label for="inputPassword4">Password</label>
  181. <input type="password" class="form-control" id="inputPassword4">
  182. </div>
  183. </div>
  184. <div class="form-group">
  185. <label for="inputAddress">Address</label>
  186. <input type="text" class="form-control" id="inputAddress" placeholder="1234 Main St">
  187. </div>
  188. <div class="form-group">
  189. <label for="inputAddress2">Address 2</label>
  190. <input type="text" class="form-control" id="inputAddress2" placeholder="Apartment, studio, or floor">
  191. </div>
  192. <div class="form-row">
  193. <div class="form-group col-md-6">
  194. <label for="inputCity">City</label>
  195. <input type="text" class="form-control" id="inputCity">
  196. </div>
  197. <div class="form-group col-md-4">
  198. <label for="inputState">State</label>
  199. <select id="inputState" class="form-control">
  200. <option selected>Choose...</option>
  201. <option>...</option>
  202. </select>
  203. </div>
  204. <div class="form-group col-md-2">
  205. <label for="inputZip">Zip</label>
  206. <input type="text" class="form-control" id="inputZip">
  207. </div>
  208. </div>
  209. <div class="form-group">
  210. <div class="form-check">
  211. <input class="form-check-input" type="checkbox" id="gridCheck">
  212. <label class="form-check-label" for="gridCheck">
  213. Check me out
  214. </label>
  215. </div>
  216. </div>
  217. <button type="submit" class="btn btn-primary">Sign in</button>
  218. </form>
  219. </div>
  220. <script src="https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js"></script>
  221. <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
  222. integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
  223. crossorigin="anonymous"></script>
  224. <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/js/bootstrap.min.js"
  225. integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
  226. crossorigin="anonymous"></script>
  227. </body>
  228. </html>