bs.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  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="exampleFormControlSelect1">Select</label>
  51. <select class="form-control" id="exampleFormControlSelect1">
  52. <option>1</option>
  53. <option>2</option>
  54. <option>3</option>
  55. <option>4</option>
  56. <option>5</option>
  57. </select>
  58. </div>
  59. <div class="form-group">
  60. <label for="customFile">Upload file</label>
  61. <div class="custom-file">
  62. <input type="file" class="custom-file-input" id="customFile">
  63. <label class="custom-file-label" for="customFile">Choose file</label>
  64. </div>
  65. <div class="invalid-feedback">invalid-feedback.</div> <!-- input 添加 is-invalid 类 -->
  66. <div class="valid-feedback">valid-feedback!</div> <!-- input 添加 is-valid 类 -->
  67. <small class="form-text text-muted">We'll never share your email with anyone else.</small>
  68. </div>
  69. <div class="form-group">
  70. <label for="formControlRange">Example Range input</label>
  71. <input type="range" class="form-control-range" id="formControlRange">
  72. </div>
  73. <div class="form-group">
  74. <label for="exampleFormControlSelect2">Multiple select</label>
  75. <select multiple class="form-control" id="exampleFormControlSelect2" name="multiple_select">
  76. <option>1</option>
  77. <option>2</option>
  78. <option>3</option>
  79. <option>4</option>
  80. <option>5</option>
  81. </select>
  82. </div>
  83. <div class="form-group">
  84. <label for="exampleFormControlTextarea1">Textarea</label>
  85. <textarea class="form-control" id="exampleFormControlTextarea1" rows="3"></textarea>
  86. </div>
  87. <div class="form-group form-check">
  88. <input type="checkbox" class="form-check-input" id="exampleCheck2">
  89. <label class="form-check-label" for="exampleCheck2">Check me out</label>
  90. </div>
  91. <div class="form-group">
  92. <label>Radio</label>
  93. <div class="form-check">
  94. <input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios1" value="option1"
  95. checked>
  96. <label class="form-check-label" for="exampleRadios1">
  97. Option one is this and that—be sure to include why it's great
  98. </label>
  99. </div>
  100. <div class="form-check">
  101. <input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios2" value="option2">
  102. <label class="form-check-label" for="exampleRadios2">
  103. Option two can be something else and selecting it will deselect option one
  104. </label>
  105. </div>
  106. </div>
  107. <div class="form-group">
  108. <label>Radio inline</label> <br>
  109. <div class="form-check form-check-inline">
  110. <input class="form-check-input" type="radio" name="exampleRadios1" id="exampleRadios21" value="option1"
  111. checked>
  112. <label class="form-check-label" for="exampleRadios21">
  113. Option one
  114. </label>
  115. </div>
  116. <div class="form-check form-check-inline">
  117. <input class="form-check-input is-invalid" type="radio" name="exampleRadios1" id="exampleRadios22" value="option2">
  118. <label class="form-check-label" for="exampleRadios22">
  119. Option two
  120. </label>
  121. </div>
  122. <div class="invalid-feedback">invalid-feedback.</div> <!-- input 添加 is-invalid 类 -->
  123. <small class="form-text text-muted">We'll never share your email with anyone else.</small>
  124. </div>
  125. <div class="form-group">
  126. <label>Checkout</label>
  127. <div class="form-check">
  128. <input class="form-check-input is-invalid" type="checkbox" value="" id="defaultCheck1" name="defaultCheck1">
  129. <label class="form-check-label" for="defaultCheck1">
  130. Option one is this and that—be sure to include why it's great
  131. </label>
  132. </div>
  133. <div class="form-check">
  134. <input class="form-check-input is-invalid" type="checkbox" value="" id="defaultCheck2" name="defaultCheck1">
  135. <label class="form-check-label" for="defaultCheck2">
  136. Option two is disabled
  137. </label>
  138. </div>
  139. <div class="invalid-feedback">invalid-feedback.</div> <!-- input 添加 is-invalid 类 -->
  140. <small class="form-text text-muted">We'll never share your email with anyone else.</small>
  141. </div>
  142. <div class="form-group">
  143. <label>Checkout inline</label> <br>
  144. <div class="form-check form-check-inline">
  145. <input class="form-check-input" type="checkbox" value="" id="defaultCheck21" name="defaultCheck2">
  146. <label class="form-check-label" for="defaultCheck21">
  147. Option one
  148. </label>
  149. </div>
  150. <div class="form-check form-check-inline">
  151. <input class="form-check-input" type="checkbox" value="" id="defaultCheck22" name="defaultCheck2">
  152. <label class="form-check-label" for="defaultCheck22">
  153. Option two
  154. </label>
  155. </div>
  156. </div>
  157. <button type="submit" class="btn btn-primary">Submit</button>
  158. </form>
  159. <hr>
  160. <form>
  161. <div class="form-row">
  162. <div class="form-group col-md-6">
  163. <label for="inputEmail4">Email</label>
  164. <input type="email" class="form-control" id="inputEmail4">
  165. </div>
  166. <div class="form-group col-md-6">
  167. <label for="inputPassword4">Password</label>
  168. <input type="password" class="form-control" id="inputPassword4">
  169. </div>
  170. </div>
  171. <div class="form-group">
  172. <label for="inputAddress">Address</label>
  173. <input type="text" class="form-control" id="inputAddress" placeholder="1234 Main St">
  174. </div>
  175. <div class="form-group">
  176. <label for="inputAddress2">Address 2</label>
  177. <input type="text" class="form-control" id="inputAddress2" placeholder="Apartment, studio, or floor">
  178. </div>
  179. <div class="form-row">
  180. <div class="form-group col-md-6">
  181. <label for="inputCity">City</label>
  182. <input type="text" class="form-control" id="inputCity">
  183. </div>
  184. <div class="form-group col-md-4">
  185. <label for="inputState">State</label>
  186. <select id="inputState" class="form-control">
  187. <option selected>Choose...</option>
  188. <option>...</option>
  189. </select>
  190. </div>
  191. <div class="form-group col-md-2">
  192. <label for="inputZip">Zip</label>
  193. <input type="text" class="form-control" id="inputZip">
  194. </div>
  195. </div>
  196. <div class="form-group">
  197. <div class="form-check">
  198. <input class="form-check-input" type="checkbox" id="gridCheck">
  199. <label class="form-check-label" for="gridCheck">
  200. Check me out
  201. </label>
  202. </div>
  203. </div>
  204. <button type="submit" class="btn btn-primary">Sign in</button>
  205. </form>
  206. </div>
  207. <script src="https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js"></script>
  208. <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
  209. integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
  210. crossorigin="anonymous"></script>
  211. <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/js/bootstrap.min.js"
  212. integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
  213. crossorigin="anonymous"></script>
  214. </body>
  215. </html>