123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>{{ title }}</title>
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <!-- 新 Bootstrap4 核心 CSS 文件 -->
- <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.1.0/css/bootstrap.min.css">
- <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
- <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
- <!-- popper.min.js 用于弹窗、提示、下拉菜单 -->
- <script src="https://cdn.bootcss.com/popper.js/1.12.5/umd/popper.min.js"></script>
- <!-- 最新的 Bootstrap4 核心 JavaScript 文件 -->
- <script src="https://cdn.bootcss.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
- <!-- Rita 網頁 title 旁邊的 icon --> <!-- 參考資料 https://codertw.com/%E5%89%8D%E7%AB%AF%E9%96%8B%E7%99%BC/26839/ -->
- <link rel="icon" href="..\static\img\icon-3.ico" type="image/x-icon">
- <!--
- <script src="../static/js/sign_in.js"></script>
- <link rel="stylesheet" href="../static/css/sign_in.css">
- -->
- <script>
- $(document).ready(function(){
- $("#coffee_title").text('Smart Coffee 總貨櫃系統');
- });
- </script>
-
- <style>
- .Container_position{
- position: absolute;
- top: 130px;
- left: 125px;
- }
- .CleanContainer_position {
- position: absolute;
- top: 100px;
- left: 115px;
- width: 245px;
- height: 570px;
- border-style: solid;
- border-color: aqua;
- }
- .ColorContainer_position {
- position: absolute;
- top: 100px;
- left: 370px;
- width: 255px;
- height: 570px;
- border-style: solid;
- border-color: aqua;
- }
- .PeelContainer_position {
- position: absolute;
- top: 100px;
- left: 635px;
- width: 250px;
- height: 570px;
- border-style: solid;
- border-color: aqua;
- }
- .FermentContainer_position {
- position: absolute;
- top: 100px;
- left: 900px;
- width: 220px;
- height: 570px;
- border-style: solid;
- border-color: aqua;
- }
- .DryContainer_position {
- position: absolute;
- top: 100px;
- left: 1135px;
- width: 280px;
- height: 570px;
- border-style: solid;
- border-color: aqua;
- }
- .footer{
- position: absolute;
- bottom: 0px;
- width: 100%;
- background-color: #eee;
- text-align: center;
- }
- </style>
-
- </head>
- <body>
- <div id="wrapper">
- <div id="coffee_header">
- <!-- 匯入共同使用的 header.html 內容 -->
- {% include 'header.html' %}
- </div>
-
- <!--
- background-color:rgb(0, 238, 255);
- -->
- <!--
- <div style="text-align: center; margin-top: 30px; font-size: 24px; margin-bottom: 30px;">
- Smart Coffee HOME
- </div>
- -->
- <div>
- <!-- 底圖 各貨櫃示意圖 -->
- <div id="Container_pic" class="Container_position" >
- <img src="../static/img/Coffee_home.png" width="1300px" style="margin: auto;">
- </div>
- <!-- 清洗浮選槽 -->
- <div id="CleanContainer" tabindex="0" class="CleanContainer_position" role="button">
- 清洗浮選狀態
- <div id="CleanContainer_status" style="width: 20px; height: 20px; background-color: cornflowerblue; border-radius: 50%;"></div>
- </div>
- <!-- 色選機 -->
- <div id="ColorContainer" tabindex="0" class="ColorContainer_position" role="button">
- 色選機狀態
- <div id="ColorContainer_status" style="width: 20px; height: 20px; background-color: cornflowerblue; border-radius: 50%;"></div>
- </div>
- <!-- 脫皮機 -->
- <div id="PeelContainer" tabindex="0" class="PeelContainer_position" role="button">
- 脫皮機狀態
- <div id="PeelContainer_status" style="width: 20px; height: 20px; background-color: cornflowerblue; border-radius: 50%;"></div>
- </div>
- <!-- 發酵槽 -->
- <div id="FermentContainer" tabindex="0" class="FermentContainer_position" role="button">
- 發酵槽狀態
- <div id="FermentContainer_status" style="width: 20px; height: 20px; background-color: cornflowerblue; border-radius: 50%;"></div>
- </div>
-
- <!-- 乾燥槽 -->
- <div id="DryContainer" tabindex="0" class="DryContainer_position" role="button">
- 乾燥槽狀態
- <div id="DryContainer_status" style="width: 20px; height: 20px; background-color: cornflowerblue; border-radius: 50%;"></div>
- </div>
-
- </div>
- <script>
- var button_CleanContainer = document.getElementById('CleanContainer');
- button_CleanContainer.addEventListener('click', function(){
- window.location.href='/clean';
- });
- var button_ColorContainer = document.getElementById('ColorContainer');
- button_ColorContainer.addEventListener('click', function(){
- window.location.href='/clean';
- });
- var button_PeelContainer = document.getElementById('PeelContainer');
- button_PeelContainer.addEventListener('click', function(){
- window.location.href='/clean';
- });
- var button_FermentContainer = document.getElementById('FermentContainer');
- button_FermentContainer.addEventListener('click', function(){
- window.location.href='/ferment';
- });
- var button_DryContainer = document.getElementById('DryContainer');
- button_DryContainer.addEventListener('click', function(){
- window.location.href='/dry';
- });
- </script>
-
- <!--
- <footer class="footer">
- <div style="text-align: center; margin-top: 10px; font-size: 13px; margin-bottom: 10px;">
- Copyright © 2021 Gold-in Tech. All Rights Reserved. 金子進科技股份有限公司 版權所有
- <a href="mailto:service.gitc@gmail.com" target="_blank">service.gitc@gmail.com</a>
- </div>
- </footer>
- -->
- <div id="coffee_footer">
- <!-- 匯入共同使用的 footer.html 內容 -->
- {% include 'footer.html' %}
- </div>
- </div>
- </body>
- </html>
|