index_new_1008?????.html 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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. </script>
  26. <style>
  27. .Container_position{
  28. position: absolute;
  29. top: 130px;
  30. left: 125px;
  31. }
  32. .CleanContainer_position {
  33. position: absolute;
  34. top: 100px;
  35. left: 115px;
  36. width: 245px;
  37. height: 570px;
  38. border-style: solid;
  39. border-color: aqua;
  40. }
  41. .ColorContainer_position {
  42. position: absolute;
  43. top: 100px;
  44. left: 370px;
  45. width: 255px;
  46. height: 570px;
  47. border-style: solid;
  48. border-color: aqua;
  49. }
  50. .PeelContainer_position {
  51. position: absolute;
  52. top: 100px;
  53. left: 635px;
  54. width: 250px;
  55. height: 570px;
  56. border-style: solid;
  57. border-color: aqua;
  58. }
  59. .FermentContainer_position {
  60. position: absolute;
  61. top: 100px;
  62. left: 900px;
  63. width: 220px;
  64. height: 570px;
  65. border-style: solid;
  66. border-color: aqua;
  67. }
  68. .DryContainer_position {
  69. position: absolute;
  70. top: 100px;
  71. left: 1135px;
  72. width: 280px;
  73. height: 570px;
  74. border-style: solid;
  75. border-color: aqua;
  76. }
  77. .footer{
  78. position: absolute;
  79. bottom: 0px;
  80. width: 100%;
  81. background-color: #eee;
  82. text-align: center;
  83. }
  84. </style>
  85. </head>
  86. <body>
  87. <div id="wrapper">
  88. <div id="coffee_header">
  89. <!-- 匯入共同使用的 header.html 內容 -->
  90. {% include 'header.html' %}
  91. </div>
  92. <!--
  93. background-color:rgb(0, 238, 255);
  94. -->
  95. <!--
  96. <div style="text-align: center; margin-top: 30px; font-size: 24px; margin-bottom: 30px;">
  97. Smart Coffee HOME
  98. </div>
  99. -->
  100. <div>
  101. <!-- 底圖 各貨櫃示意圖 -->
  102. <div id="Container_pic" class="Container_position" >
  103. <img src="../static/img/Coffee_home.png" width="1300px" style="margin: auto;">
  104. </div>
  105. <!-- 清洗浮選槽 -->
  106. <div id="CleanContainer" tabindex="0" class="CleanContainer_position" role="button">
  107. 清洗浮選狀態
  108. <div id="CleanContainer_status" style="width: 20px; height: 20px; background-color: cornflowerblue; border-radius: 50%;"></div>
  109. </div>
  110. <!-- 色選機 -->
  111. <div id="ColorContainer" tabindex="0" class="ColorContainer_position" role="button">
  112. 色選機狀態
  113. <div id="ColorContainer_status" style="width: 20px; height: 20px; background-color: cornflowerblue; border-radius: 50%;"></div>
  114. </div>
  115. <!-- 脫皮機 -->
  116. <div id="PeelContainer" tabindex="0" class="PeelContainer_position" role="button">
  117. 脫皮機狀態
  118. <div id="PeelContainer_status" style="width: 20px; height: 20px; background-color: cornflowerblue; border-radius: 50%;"></div>
  119. </div>
  120. <!-- 發酵槽 -->
  121. <div id="FermentContainer" tabindex="0" class="FermentContainer_position" role="button">
  122. 發酵槽狀態
  123. <div id="FermentContainer_status" style="width: 20px; height: 20px; background-color: cornflowerblue; border-radius: 50%;"></div>
  124. </div>
  125. <!-- 乾燥槽 -->
  126. <div id="DryContainer" tabindex="0" class="DryContainer_position" role="button">
  127. 乾燥槽狀態
  128. <div id="DryContainer_status" style="width: 20px; height: 20px; background-color: cornflowerblue; border-radius: 50%;"></div>
  129. </div>
  130. </div>
  131. <script>
  132. var button_CleanContainer = document.getElementById('CleanContainer');
  133. button_CleanContainer.addEventListener('click', function(){
  134. window.location.href='/clean';
  135. });
  136. var button_ColorContainer = document.getElementById('ColorContainer');
  137. button_ColorContainer.addEventListener('click', function(){
  138. window.location.href='/clean';
  139. });
  140. var button_PeelContainer = document.getElementById('PeelContainer');
  141. button_PeelContainer.addEventListener('click', function(){
  142. window.location.href='/clean';
  143. });
  144. var button_FermentContainer = document.getElementById('FermentContainer');
  145. button_FermentContainer.addEventListener('click', function(){
  146. window.location.href='/ferment';
  147. });
  148. var button_DryContainer = document.getElementById('DryContainer');
  149. button_DryContainer.addEventListener('click', function(){
  150. window.location.href='/dry';
  151. });
  152. </script>
  153. <!--
  154. <footer class="footer">
  155. <div style="text-align: center; margin-top: 10px; font-size: 13px; margin-bottom: 10px;">
  156. Copyright © 2021 Gold-in Tech. All Rights Reserved. 金子進科技股份有限公司 版權所有
  157. <a href="mailto:service.gitc@gmail.com" target="_blank">service.gitc@gmail.com</a>
  158. </div>
  159. </footer>
  160. -->
  161. <div id="coffee_footer">
  162. <!-- 匯入共同使用的 footer.html 內容 -->
  163. {% include 'footer.html' %}
  164. </div>
  165. </div>
  166. </body>
  167. </html>