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