hydration_system.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>LandGreen</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7. <!-- 新 Bootstrap4 核心 CSS 文件 -->
  8. <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.1.0/css/bootstrap.min.css">
  9. <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
  10. <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
  11. <!-- popper.min.js 用于弹窗、提示、下拉菜单 -->
  12. <script src="https://cdn.bootcss.com/popper.js/1.12.5/umd/popper.min.js"></script>
  13. <!-- 最新的 Bootstrap4 核心 JavaScript 文件 -->
  14. <script src="https://cdn.bootcss.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
  15. <script src="../static/js/hydration_system.js"></script>
  16. <link rel="stylesheet" href="../static/css/hydration_system.css">
  17. <script>
  18. </script>
  19. </head>
  20. <body>
  21. <nav class="fixed-top">
  22. <nav class="navbar navbar-expand-md nav-top justify-content-center">
  23. <div>
  24. <span class="website_title">Fitolab Formula-G1</span>
  25. </div>
  26. </nav>
  27. <nav class="navbar navbar-expand-md bg-dark navbar-dark nav-bottom">
  28. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
  29. <span class="navbar-toggler-icon"></span>
  30. </button>
  31. <div class="collapse navbar-collapse" id="collapsibleNavbar">
  32. <ul class="navbar-nav">
  33. <li class="nav-item">
  34. <a class="nav-link" href="/pump_system">Pump system</a>
  35. </li>
  36. <li class="nav-item">
  37. <a class="nav-link" href="/drain_system">Drain system</a>
  38. </li>
  39. <li class="nav-item">
  40. <a class="nav-link" href="/hydration_system">Hydration system</a>
  41. </li>
  42. <li class="nav-item">
  43. <a class="nav-link" href="/spray_system">Spray system</a>
  44. </li>
  45. <li class="li-block"></li>
  46. <li class="nav-item">
  47. <a class="nav-link" href="#">{{params.username}}</a>
  48. </li>
  49. <li class="nav-item">
  50. <a class="nav-link" href="/logout">Logout</a>
  51. </li>
  52. </ul>
  53. </div>
  54. </nav>
  55. </nav>
  56. <div class="main-page">
  57. <div class="page-title text-center">
  58. Setting hydration system
  59. </div>
  60. <form method="" action="">
  61. <div class="container" style="text-align:center;">
  62. <div class="main-top">
  63. <table border="1px solid black">
  64. <tr>
  65. <td>hydration</td>
  66. <td>
  67. <div class="switch_div">
  68. <div class="switch">
  69. <input id="cmn-toggle-56" class="cmn-toggle cmn-toggle-round" type="checkbox">
  70. <label for="cmn-toggle-56"></label>
  71. </div>
  72. <div class="switch">
  73. <input id="cmn-toggle-57" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="hydration-on" value="ON">
  74. <label for="cmn-toggle-57"></label>
  75. </div>
  76. <div class="switch">
  77. <input id="cmn-toggle-58" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  78. <label for="cmn-toggle-58" data-on="Yes" data-off="No"></label>
  79. </div>
  80. </div>
  81. </td>
  82. </tr>
  83. </table>
  84. </div>
  85. <div class="main-bottom">
  86. <div id="tank1Wl">
  87. <span>if tank1Wl < </span>
  88. <select name="tank1Wl-low">
  89. <option value="10">10cm</option>
  90. <option value="20">20cm</option>
  91. <option value="30">30cm</option>
  92. </select>
  93. <span> , then </span>
  94. <table border="1px solid black">
  95. <tr>
  96. <td>vavle 1</td>
  97. <td>
  98. <div class="switch_div">
  99. <div class="switch">
  100. <input id="cmn-toggle-59" class="cmn-toggle cmn-toggle-round" type="checkbox">
  101. <label for="cmn-toggle-59"></label>
  102. </div>
  103. <div class="switch">
  104. <input id="cmn-toggle-60" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="vavle1-on" value="ON">
  105. <label for="cmn-toggle-60"></label>
  106. </div>
  107. <div class="switch">
  108. <input id="cmn-toggle-61" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  109. <label for="cmn-toggle-61" data-on="Yes" data-off="No"></label>
  110. </div>
  111. </div>
  112. </td>
  113. </tr>
  114. </table>
  115. </div>
  116. <div id="tank2Wl">
  117. <span>if tank2Wl < </span>
  118. <select name="tank2Wl-low">
  119. <option value="10">10cm</option>
  120. <option value="20">20cm</option>
  121. <option value="30">30cm</option>
  122. </select>
  123. <span> , then </span>
  124. <table border="1px solid black">
  125. <tr>
  126. <td>vavle 3</td>
  127. <td>
  128. <div class="switch_div">
  129. <div class="switch">
  130. <input id="cmn-toggle-62" class="cmn-toggle cmn-toggle-round" type="checkbox">
  131. <label for="cmn-toggle-62"></label>
  132. </div>
  133. <div class="switch">
  134. <input id="cmn-toggle-63" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="vavle3-on" value="ON">
  135. <label for="cmn-toggle-63"></label>
  136. </div>
  137. <div class="switch">
  138. <input id="cmn-toggle-64" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  139. <label for="cmn-toggle-64" data-on="Yes" data-off="No"></label>
  140. </div>
  141. </div>
  142. </td>
  143. </tr>
  144. </table>
  145. </div>
  146. <div id="tank4Wl">
  147. <span>if tank4Wl < </span>
  148. <select name="tank4Wl-low">
  149. <option value="10">10cm</option>
  150. <option value="20">20cm</option>
  151. <option value="30">30cm</option>
  152. </select>
  153. <span> , then </span>
  154. <table border="1px solid black">
  155. <tr>
  156. <td>vavle 5</td>
  157. <td>
  158. <div class="switch_div">
  159. <div class="switch">
  160. <input id="cmn-toggle-65" class="cmn-toggle cmn-toggle-round" type="checkbox">
  161. <label for="cmn-toggle-65"></label>
  162. </div>
  163. <div class="switch">
  164. <input id="cmn-toggle-66" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="vavle5-on" value="ON">
  165. <label for="cmn-toggle-66"></label>
  166. </div>
  167. <div class="switch">
  168. <input id="cmn-toggle-67" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  169. <label for="cmn-toggle-67" data-on="Yes" data-off="No"></label>
  170. </div>
  171. </div>
  172. </td>
  173. </tr>
  174. </table>
  175. </div>
  176. <div id="tank5Wl">
  177. <span>if tank5Wl < </span>
  178. <select name="tank5Wl-low">
  179. <option value="10">10cm</option>
  180. <option value="20">20cm</option>
  181. <option value="30">30cm</option>
  182. </select>
  183. <span> , then </span>
  184. <table border="1px solid black">
  185. <tr>
  186. <td>vavle 6</td>
  187. <td>
  188. <div class="switch_div">
  189. <div class="switch">
  190. <input id="cmn-toggle-68" class="cmn-toggle cmn-toggle-round" type="checkbox">
  191. <label for="cmn-toggle-68"></label>
  192. </div>
  193. <div class="switch">
  194. <input id="cmn-toggle-69" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="vavle6-on" value="ON">
  195. <label for="cmn-toggle-69"></label>
  196. </div>
  197. <div class="switch">
  198. <input id="cmn-toggle-70" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  199. <label for="cmn-toggle-70" data-on="Yes" data-off="No"></label>
  200. </div>
  201. </div>
  202. </td>
  203. </tr>
  204. </table>
  205. </div>
  206. </div>
  207. <div class="row page-bottom">
  208. <div class="col"></div>
  209. <div class="col-xl-4 col-lg-6 col-md-8 col-sm-10 col-xs-10" style="text-align:center;">
  210. <div class="form-group">
  211. <input type="submit" class="form-control" value="Confirm">
  212. </div>
  213. </div>
  214. <div class="col"></div>
  215. </div>
  216. </div>
  217. </form>
  218. </div>
  219. </body>
  220. </html>