drain_system.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  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/drain_system.js"></script>
  16. <link rel="stylesheet" href="../static/css/drain_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 drain 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-high">
  65. <option value="70">70cm</option>
  66. <option value="80">80cm</option>
  67. <option value="90">90cm</option>
  68. </select>
  69. <span> , then </span>
  70. <table border="1px solid black">
  71. <tr>
  72. <td>vavle 8</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="vavle8-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. </table>
  91. <span> after </span>
  92. <select name="time">
  93. <option value="5min">5min</option>
  94. <option value="10min">10min</option>
  95. <option value="15min">15min</option>
  96. </select>
  97. </div>
  98. <div class="main-bottom">
  99. <div id="tank1Wl">
  100. <span>if tank1Wl >= </span>
  101. <select name="tank1Wl-high">
  102. <option value="70">70cm</option>
  103. <option value="80">80cm</option>
  104. <option value="90">90cm</option>
  105. </select>
  106. <span> , then </span>
  107. <table border="1px solid black">
  108. <tr>
  109. <td>vavle 11</td>
  110. <td>
  111. <div class="switch_div">
  112. <div class="switch">
  113. <input id="cmn-toggle-56" class="cmn-toggle cmn-toggle-round" type="checkbox">
  114. <label for="cmn-toggle-56"></label>
  115. </div>
  116. <div class="switch">
  117. <input id="cmn-toggle-57" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="vavle11-on" value="ON">
  118. <label for="cmn-toggle-57"></label>
  119. </div>
  120. <div class="switch">
  121. <input id="cmn-toggle-58" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  122. <label for="cmn-toggle-58" data-on="Yes" data-off="No"></label>
  123. </div>
  124. </div>
  125. </td>
  126. </tr>
  127. </table>
  128. </div>
  129. <div id="tank2Wl">
  130. <span>if tank2Wl >= </span>
  131. <select name="tank2Wl-high">
  132. <option value="70">70cm</option>
  133. <option value="80">80cm</option>
  134. <option value="90">90cm</option>
  135. </select>
  136. <span> , then </span>
  137. <table border="1px solid black">
  138. <tr>
  139. <td>vavle 14</td>
  140. <td>
  141. <div class="switch_div">
  142. <div class="switch">
  143. <input id="cmn-toggle-59" class="cmn-toggle cmn-toggle-round" type="checkbox">
  144. <label for="cmn-toggle-59"></label>
  145. </div>
  146. <div class="switch">
  147. <input id="cmn-toggle-60" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="vavle14-on" value="ON">
  148. <label for="cmn-toggle-60"></label>
  149. </div>
  150. <div class="switch">
  151. <input id="cmn-toggle-61" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  152. <label for="cmn-toggle-61" data-on="Yes" data-off="No"></label>
  153. </div>
  154. </div>
  155. </td>
  156. </tr>
  157. </table>
  158. </div>
  159. <div id="tank4Wl">
  160. <span>if tank4Wl >= </span>
  161. <select name="tank4Wl-high">
  162. <option value="70">70cm</option>
  163. <option value="80">80cm</option>
  164. <option value="90">90cm</option>
  165. </select>
  166. <span> , then </span>
  167. <table border="1px solid black">
  168. <tr>
  169. <td>vavle 17</td>
  170. <td>
  171. <div class="switch_div">
  172. <div class="switch">
  173. <input id="cmn-toggle-62" class="cmn-toggle cmn-toggle-round" type="checkbox">
  174. <label for="cmn-toggle-62"></label>
  175. </div>
  176. <div class="switch">
  177. <input id="cmn-toggle-63" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="vavle17-on" value="ON">
  178. <label for="cmn-toggle-63"></label>
  179. </div>
  180. <div class="switch">
  181. <input id="cmn-toggle-64" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  182. <label for="cmn-toggle-64" data-on="Yes" data-off="No"></label>
  183. </div>
  184. </div>
  185. </td>
  186. </tr>
  187. </table>
  188. </div>
  189. <div id="tank5Wl">
  190. <span>if tank5Wl >= </span>
  191. <select name="tank5Wl-high">
  192. <option value="70">70cm</option>
  193. <option value="80">80cm</option>
  194. <option value="90">90cm</option>
  195. </select>
  196. <span> , then </span>
  197. <table border="1px solid black">
  198. <tr>
  199. <td>vavle 18</td>
  200. <td>
  201. <div class="switch_div">
  202. <div class="switch">
  203. <input id="cmn-toggle-65" class="cmn-toggle cmn-toggle-round" type="checkbox">
  204. <label for="cmn-toggle-65"></label>
  205. </div>
  206. <div class="switch">
  207. <input id="cmn-toggle-66" class="cmn-toggle cmn-toggle-round-flat" type="checkbox" checked name="vavle18-on" value="ON">
  208. <label for="cmn-toggle-66"></label>
  209. </div>
  210. <div class="switch">
  211. <input id="cmn-toggle-67" class="cmn-toggle cmn-toggle-yes-no" type="checkbox">
  212. <label for="cmn-toggle-67" data-on="Yes" data-off="No"></label>
  213. </div>
  214. </div>
  215. </td>
  216. </tr>
  217. </table>
  218. </div>
  219. </div>
  220. <div class="row page-bottom">
  221. <div class="col"></div>
  222. <div class="col-xl-4 col-lg-6 col-md-8 col-sm-10 col-xs-10" style="text-align:center;">
  223. <div class="form-group">
  224. <input type="submit" class="form-control" value="Confirm">
  225. </div>
  226. </div>
  227. <div class="col"></div>
  228. </div>
  229. </div>
  230. </form>
  231. </div>
  232. </body>
  233. </html>