pump_system.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  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/pump_system.js"></script>
  16. <link rel="stylesheet" href="../static/css/pump_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 pump system
  59. </div>
  60. <form method="" action="">
  61. <div class="container" style="text-align:center;">
  62. <div class="main-top">
  63. <span>if wl1 < </span>
  64. <select name="wl1-low">
  65. <option value="10">10cm</option>
  66. <option value="20">20cm</option>
  67. <option value="30">30cm</option>
  68. </select>
  69. <span> , then </span>
  70. <table border="1px solid black">
  71. <tr>
  72. <td>pump 1</td>
  73. <td>
  74. <div class="switch_div">
  75. <div class="switch">
  76. <input id="cmn-toggle-53" class="cmn-toggle cmn-toggle-round" type="checkbox">
  77. <label for="cmn-toggle-53"></label>
  78. </div>
  79. <div class="switch">
  80. <input id="cmn-toggle-54" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="pump1-on" value="ON">
  81. <label for="cmn-toggle-54"></label>
  82. </div>
  83. <div class="switch">
  84. <input id="cmn-toggle-55" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  85. <label for="cmn-toggle-55" data-on="Yes" data-off="No"></label>
  86. </div>
  87. </div>
  88. </td>
  89. </tr>
  90. <tr>
  91. <td>pump 2</td>
  92. <td>
  93. <div class="switch_div">
  94. <div class="switch">
  95. <input id="cmn-toggle-56" class="cmn-toggle cmn-toggle-round" type="checkbox">
  96. <label for="cmn-toggle-56"></label>
  97. </div>
  98. <div class="switch">
  99. <input id="cmn-toggle-57" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="pump2-on" value="ON">
  100. <label for="cmn-toggle-57"></label>
  101. </div>
  102. <div class="switch">
  103. <input id="cmn-toggle-58" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  104. <label for="cmn-toggle-58" data-on="Yes" data-off="No"></label>
  105. </div>
  106. </div>
  107. </td>
  108. </tr>
  109. </table>
  110. <span> and </span>
  111. <table border="1px solid black">
  112. <tr>
  113. <td>vavle 2</td>
  114. <td>
  115. <div class="switch_div">
  116. <div class="switch">
  117. <input id="cmn-toggle-59" class="cmn-toggle cmn-toggle-round" type="checkbox">
  118. <label for="cmn-toggle-59"></label>
  119. </div>
  120. <div class="switch">
  121. <input id="cmn-toggle-60" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="vavle2-on" value="ON">
  122. <label for="cmn-toggle-60"></label>
  123. </div>
  124. <div class="switch">
  125. <input id="cmn-toggle-61" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  126. <label for="cmn-toggle-61" data-on="Yes" data-off="No"></label>
  127. </div>
  128. </div>
  129. </td>
  130. </tr>
  131. <tr>
  132. <td>vavle 4</td>
  133. <td>
  134. <div class="switch_div">
  135. <div class="switch">
  136. <input id="cmn-toggle-62" class="cmn-toggle cmn-toggle-round" type="checkbox">
  137. <label for="cmn-toggle-62"></label>
  138. </div>
  139. <div class="switch">
  140. <input id="cmn-toggle-63" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="vavle4-on" value="ON">
  141. <label for="cmn-toggle-63"></label>
  142. </div>
  143. <div class="switch">
  144. <input id="cmn-toggle-64" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  145. <label for="cmn-toggle-64" data-on="Yes" data-off="No"></label>
  146. </div>
  147. </div>
  148. </td>
  149. </tr>
  150. </table>
  151. </div>
  152. <div class="main-bottom">
  153. <span>if wl1 >= </span>
  154. <select name="wl1-high">
  155. <option value="70">70cm</option>
  156. <option value="80">80cm</option>
  157. <option value="90">90cm</option>
  158. </select>
  159. <span> , then </span>
  160. <table border="1px solid black">
  161. <tr>
  162. <td>pump 1</td>
  163. <td>
  164. <div class="switch_div">
  165. <div class="switch">
  166. <input id="cmn-toggle-65" class="cmn-toggle cmn-toggle-round" type="checkbox">
  167. <label for="cmn-toggle-65"></label>
  168. </div>
  169. <div class="switch">
  170. <input id="cmn-toggle-66" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="pump1-on" value="ON">
  171. <label for="cmn-toggle-66"></label>
  172. </div>
  173. <div class="switch">
  174. <input id="cmn-toggle-67" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  175. <label for="cmn-toggle-67" data-on="Yes" data-off="No"></label>
  176. </div>
  177. </div>
  178. </td>
  179. </tr>
  180. <tr>
  181. <td>pump 2</td>
  182. <td>
  183. <div class="switch_div">
  184. <div class="switch">
  185. <input id="cmn-toggle-68" class="cmn-toggle cmn-toggle-round" type="checkbox">
  186. <label for="cmn-toggle-68"></label>
  187. </div>
  188. <div class="switch">
  189. <input id="cmn-toggle-69" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="pump2-on" value="ON">
  190. <label for="cmn-toggle-69"></label>
  191. </div>
  192. <div class="switch">
  193. <input id="cmn-toggle-70" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  194. <label for="cmn-toggle-70" data-on="Yes" data-off="No"></label>
  195. </div>
  196. </div>
  197. </td>
  198. </tr>
  199. </table>
  200. <span> and </span>
  201. <table border="1px solid black">
  202. <tr>
  203. <td>vavle 2</td>
  204. <td>
  205. <div class="switch_div">
  206. <div class="switch">
  207. <input id="cmn-toggle-71" class="cmn-toggle cmn-toggle-round" type="checkbox">
  208. <label for="cmn-toggle-71"></label>
  209. </div>
  210. <div class="switch">
  211. <input id="cmn-toggle-72" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="vavle2-on" value="ON">
  212. <label for="cmn-toggle-72"></label>
  213. </div>
  214. <div class="switch">
  215. <input id="cmn-toggle-73" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  216. <label for="cmn-toggle-73" data-on="Yes" data-off="No"></label>
  217. </div>
  218. </div>
  219. </td>
  220. </tr>
  221. <tr>
  222. <td>vavle 4</td>
  223. <td>
  224. <div class="switch_div">
  225. <div class="switch">
  226. <input id="cmn-toggle-74" class="cmn-toggle cmn-toggle-round" type="checkbox">
  227. <label for="cmn-toggle-74"></label>
  228. </div>
  229. <div class="switch">
  230. <input id="cmn-toggle-75" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="vavle4-on" value="ON">
  231. <label for="cmn-toggle-75"></label>
  232. </div>
  233. <div class="switch">
  234. <input id="cmn-toggle-76" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  235. <label for="cmn-toggle-76" data-on="Yes" data-off="No"></label>
  236. </div>
  237. </div>
  238. </td>
  239. </tr>
  240. </table>
  241. </div>
  242. <div class="row page-bottom">
  243. <div class="col"></div>
  244. <div class="col-xl-4 col-lg-6 col-md-8 col-sm-10 col-xs-10" style="text-align:center;">
  245. <div class="form-group">
  246. <input type="submit" class="form-control" value="Confirm">
  247. </div>
  248. </div>
  249. <div class="col"></div>
  250. </div>
  251. </div>
  252. </form>
  253. </div>
  254. </body>
  255. </html>