1
0

index_new_1008橫式狀態.html 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>{{ title }}</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. <!-- Rita 網頁 title 旁邊的 icon --> <!-- 參考資料 https://codertw.com/%E5%89%8D%E7%AB%AF%E9%96%8B%E7%99%BC/26839/ -->
  16. <link rel="icon" href="..\static\img\icon-3.ico" type="image/x-icon">
  17. <!--
  18. <script src="../static/js/sign_in.js"></script>
  19. <link rel="stylesheet" href="../static/css/sign_in.css">
  20. -->
  21. <script>
  22. $(document).ready(function(){
  23. $("#coffee_title").text('Smart Coffee 總貨櫃系統');
  24. });
  25. // .Container_position{
  26. // position: absolute;
  27. // top: 130px;
  28. // left: 125px;
  29. // }
  30. // border-style: solid;
  31. // border-color: crimson;
  32. // border-style: solid;
  33. // border-color: aqua;
  34. </script>
  35. <style>
  36. .Container_position{
  37. position: absolute;
  38. top: 140px;
  39. left: 125px;
  40. }
  41. .CleanContainer_position {
  42. position: absolute;
  43. top: 90px;
  44. left: 115px;
  45. width: 245px;
  46. height: 590px;
  47. text-align: center;
  48. font-weight: bold;
  49. }
  50. .ColorContainer_position {
  51. position: absolute;
  52. top: 90px;
  53. left: 370px;
  54. width: 255px;
  55. height: 590px;
  56. text-align: center;
  57. font-weight: bold;
  58. }
  59. .PeelContainer_position {
  60. position: absolute;
  61. top: 90px;
  62. left: 635px;
  63. width: 250px;
  64. height: 590px;
  65. text-align: center;
  66. font-weight: bold;
  67. }
  68. .FermentContainer_position {
  69. position: absolute;
  70. top: 90px;
  71. left: 900px;
  72. width: 220px;
  73. height: 590px;
  74. text-align: center;
  75. font-weight: bold;
  76. }
  77. .DryContainer_position {
  78. position: absolute;
  79. top: 90px;
  80. left: 1135px;
  81. width: 280px;
  82. height: 590px;
  83. text-align: center;
  84. font-weight: bold;
  85. }
  86. </style>
  87. </head>
  88. <body>
  89. <!-- .footer{
  90. position: absolute;
  91. bottom: 0px;
  92. width: 100%;
  93. background-color: #eee;
  94. text-align: center;
  95. text-align: center;
  96. font-weight: bold;
  97. } -->
  98. <div id="wrapper">
  99. <div id="coffee_header">
  100. <!-- 匯入共同使用的 header.html 內容 -->
  101. {% include 'header.html' %}
  102. </div>
  103. <!--
  104. background-color:rgb(0, 238, 255);
  105. -->
  106. <!--
  107. <div style="text-align: center; margin-top: 30px; font-size: 24px; margin-bottom: 30px;">
  108. Smart Coffee HOME
  109. </div>
  110. -->
  111. <div>
  112. <!-- 底圖 各貨櫃示意圖 -->
  113. <div id="Container_pic" class="Container_position" >
  114. <img src="../static/img/Coffee_home.png" id="CoffeeHome_pic" width="1295px" >
  115. </div>
  116. <!-- 清洗浮選槽 -->
  117. <div id="CleanContainer" tabindex="0" class="CleanContainer_position" role="button">
  118. 清洗浮選狀態
  119. <div id="CleanContainer_status" style="width: 100%; height: 20px; background-color: #c0c0c0; text-align: center;"></div>
  120. </div>
  121. <!-- 色選機 -->
  122. <div id="ColorContainer" tabindex="0" class="ColorContainer_position" role="button">
  123. 色選機狀態
  124. <div id="ColorContainer_status" style="width: 100%; height: 20px; background-color: #c0c0c0; text-align: center;"></div>
  125. </div>
  126. <!-- 脫皮機 -->
  127. <div id="PeelContainer" tabindex="0" class="PeelContainer_position" role="button">
  128. 脫皮機狀態
  129. <div id="PeelContainer_status" style="width: 100%; height: 20px; background-color: #c0c0c0; text-align: center;"></div>
  130. </div>
  131. <!-- 發酵槽 -->
  132. <div id="FermentContainer" tabindex="0" class="FermentContainer_position" role="button">
  133. 發酵槽狀態
  134. <div id="FermentContainer_status" style="width: 100%; height: 20px; background-color: forestgreen; text-align: center;"></div>
  135. </div><!-- 乾燥槽 -->
  136. <div id="DryContainer" tabindex="0" class="DryContainer_position" role="button">
  137. 乾燥槽狀態
  138. <div id="DryContainer_status" style="width: 100%; height: 20px; background-color: forestgreen; text-align: center;"></div>
  139. </div>
  140. </div>
  141. <script>
  142. var button_CleanContainer = document.getElementById('CleanContainer');
  143. button_CleanContainer.addEventListener('click', function(){
  144. window.location.href='/clean';
  145. });
  146. var button_ColorContainer = document.getElementById('ColorContainer');
  147. button_ColorContainer.addEventListener('click', function(){
  148. window.location.href='/clean';
  149. });
  150. var button_PeelContainer = document.getElementById('PeelContainer');
  151. button_PeelContainer.addEventListener('click', function(){
  152. window.location.href='/clean';
  153. });
  154. var button_FermentContainer = document.getElementById('FermentContainer');
  155. button_FermentContainer.addEventListener('click', function(){
  156. window.location.href='/ferment';
  157. });
  158. var button_DryContainer = document.getElementById('DryContainer');
  159. button_DryContainer.addEventListener('click', function(){
  160. window.location.href='/dry';
  161. });
  162. </script>
  163. <!--
  164. <footer class="footer">
  165. <div style="text-align: center; margin-top: 10px; font-size: 13px; margin-bottom: 10px;">
  166. Copyright © 2021 Gold-in Tech. All Rights Reserved. 金子進科技股份有限公司 版權所有
  167. <a href="mailto:service.gitc@gmail.com" target="_blank">service.gitc@gmail.com</a>
  168. </div>
  169. </footer>
  170. -->
  171. <div id="coffee_footer">
  172. <!-- 匯入共同使用的 footer.html 內容 -->
  173. {% include 'footer.html' %}
  174. </div>
  175. </div>
  176. </body>
  177. </html>