123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>GoldIn</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>
- <!--
- <script src="../static/js/sign_in.js"></script>
- <link rel="stylesheet" href="../static/css/sign_in.css">
- -->
- <style>
- #D1_status {
- width: 20px;
- height: 20px;
- background-color: cornflowerblue;
- border-radius: 50%;
- }
- .D1_position {
- position: absolute;
- top: 175px;
- left: 195px;
- width: 170px;
- height: 230px;
- border-style: solid;
- border-color: aqua;
- }
- </style>
-
- </head>
- <body>
- <!--
- background-color:rgb(0, 238, 255);
- -->
- <div style="text-align: center; margin-top: 70px;font-size: 24px;">
- GoldIn's Coffee
- </div>
- <div>
- <img src="../static/img/web_dry_tank.png" width="300x" style="margin: auto">
- <div id="D1" tabindex="0" class="D1_position" role="button">
- D1
- status
- <div id="D1_status"></div>
- </div>
- </div>
- <script>
- var button_D1 = document.getElementById('D1');
- button_D1.addEventListener('click', showTankDetail);
- function showTankDetail(){
- //document.location.href="/dry_container/1"; // Flask 測試 OK
- //document.location.href="C:/Users/USER/Rita/Coffee/CoffeeProject/app/templates/dry_tank.html"; // 本機測試 OK
- };
- </script>
- </body>
- </html>
|