123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442 |
- <!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">
- <!-- <meta http-equiv="refresh" content="300" /> 每 content 秒網頁自動更新-->
- <!-- 新 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>
- <!--可用來建立使用者小圖示-->
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
- <!-- 參考資料 -->
- <!-- https://ithelp.ithome.com.tw/articles/10244121 -->
-
- <script language="JavaScript">
- // 指定 秒 刷新網頁一次
- var dtn = '{{tid}}';
- console.log('dtn:' + dtn)
- $(function(){
- $("#dry_tank_page").text('乾燥槽 D' + dtn + ' 攝影機畫面 ')
- $('#dry_tank_page').attr("href", "/camera_D" + dtn)
- $("#dry_container_title").text('乾燥槽 D' + dtn + ' 操作介面')
- });
- // WebUpdate_set = setInterval(function(){WebUpdate(dtn)} , 10 * 1000)
- </script>
- <style>
- .footer{
- height: 40px;
- box-sizing: border-box;
- /* 設定footer絕對位置在底部 */
- position: absolute;
- bottom: 0px;
- width: 100%;
- background-color: #eee;
- text-align: center;
- }
- html, body {
- height: 100%;
- }
- #wrapper {
- /* 設定高度最小為100%, 如果內容區塊很多, 可以長大 */
- min-height: 100%;
- /* 位置設為relative, 作為footer區塊位置的參考 */
- position: relative;
- }
- .navbar-dark .navbar-nav .nav-link {
- color: white;
- cursor: pointer;
- text-decoration: none;
- width: 110px;
- height: 46px;
- }
- .nav-top {
- line-height: 40px;
- background-color: #C4C4C4;
- }
- .website_title {
- font-family: Roboto;
- font-style: normal;
- font-weight: normal;
- font-size: 30px;
- color: #000000;
- }
- .navbar-nav>li {
- float: none;
- display: inline-block;
- width: 100px;
- margin: 0 auto;
- text-align: center;
- }
- .navbar-nav>li a {
- font-size: 20px;
- }
- .main-page {
- margin-top: 200px;
- }
- .page-title {
- font-family: Roboto;
- font-style: normal;
- font-weight: bold;
- font-size: 36px;
- }
- .flex {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- justify-content: center;
- }
- .set-link {
- display: inline-block;
- width: 350px;
- height: 100px;
- line-height: 100px;
- background: #008CBA;
- border: 1px solid #CFCFCF;
- box-sizing: border-box;
- color: #FFFFFF;
- border-radius: 10px;
- font-size: 36px;
- }
- .cmn-toggle {
- position: absolute;
- margin-left: 0px;
- visibility: hidden;
- }
- .cmn-toggle+label {
- display: block;
- position: relative;
- cursor: pointer;
- outline: none;
- user-select: none;
- }
- input.cmn-toggle-round-flat+label {
- padding: 2px;
- width: 60px;
- height: 30px;
- background-color: #C0C0C0;
- border-radius: 60px;
- transition: background 0.4s;
- }
- input.cmn-toggle-round-flat+label:before,
- input.cmn-toggle-round-flat+label:after {
- display: block;
- position: absolute;
- content: "";
- }
- input.cmn-toggle-round-flat+label:before {
- top: 2px;
- left: 2px;
- bottom: 2px;
- right: 2px;
- background-color: #fff;
- border-radius: 60px;
- transition: background 0.4s;
- }
- input.cmn-toggle-round-flat+label:after {
- top: 4px;
- left: 4px;
- bottom: 4px;
- width: 24px;
- background-color: #dddddd;
- border-radius: 52px;
- transition: margin 0.4s, background 0.4s;
- }
- input.cmn-toggle-round-flat:checked+label {
- background-color: #C0C0C0;
- }
- input.cmn-toggle-round-flat:checked+label:after {
- margin-left: 27px;
- background-color: #008CBA;
- }
- .main-menu li {
- position: relative;
- transition: .5s;
- list-style-type: none;
- }
- .main-menu li a {
- padding: 0 15px;
- line-height: 60px;
- font-size: 18px;
- }
-
- .main-menu li::after {
- content: '';
- position: absolute;
- height: 4px;
- left: 50%;
- right: 50%;
- bottom: 0;
- background-color: #bbb;
- transition: .5s;
- }
- .main-menu li:hover {
- background-color: #ddd;
- }
- .main-menu li:hover::after {
- left: 0;
- right: 0;
- }
- @media(max-width:373px) {
- .card {
- margin-right: 0px;
- }
- .set-link {
- width: 250px;
- }
- }
- @media(max-width:577px) {}
- @media(min-width:576px) {}
- @media(min-width:768px) {
- .navbar-nav>li {
- margin-left: 0px;
- }
- .navbar-nav .li-block {
- display: none;
- }
- }
- @media(min-width:991px) {
- .navbar-nav>li {
- margin-left: 20px;
- }
- .navbar-nav .li-block {
- display: none;
- }
- }
- @media(min-width:1200px) {
- .navbar-nav>li {
- margin-left: 50px;
- }
- .navbar-nav .li-block {
- display: inline-block;
- width: 100px;
- }
- }
- @media(min-width:1400px) {
- .navbar-nav .li-block {
- display: inline-block;
- width: 200px;
- }
- }
- @media(min-width:1689px) {
- .navbar-nav>li {
- margin-left: 50px;
- }
- .navbar-nav .li-block {
- display: inline-block;
- width: 500px;
- }
- }
- </style>
- </head>
- <body>
- <!--
- <nav class="navbar navbar-expand-lg navbar-light bg-light">
- <a class="navbar-brand" href="#">Navbar</a>
- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
- <span class="navbar-toggler-icon"></span>
- </button>
-
- <div class="collapse navbar-collapse" id="navbarSupportedContent">
- <ul class="navbar-nav mr-auto">
- <li class="nav-item active">
- <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
- </li>
- <li class="nav-item">
- <a class="nav-link" href="#">Link</a>
- </li>
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
- Dropdown
- </a>
- <div class="dropdown-menu" aria-labelledby="navbarDropdown">
- <a class="dropdown-item" href="#">Action</a>
- <a class="dropdown-item" href="#">Another action</a>
- <div class="dropdown-divider"></div>
- <a class="dropdown-item" href="#">Something else here</a>
- </div>
- </li>
- <li class="nav-item">
- <a class="nav-link disabled" href="#">Disabled</a>
- </li>
- </ul>
- <form class="form-inline my-2 my-lg-0">
- <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
- <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
- </form>
- </div>
- </nav>
- -->
- <div id="wrapper">
- <header class="main-header navbar-expand-lg display: flex;" style="background-color: #eee;">
- <div class="navbar" style="display: flex; padding: 0px 15px;"> <!--style="display: flex; margin: 0px;">--> <!--justify-content: space-between; padding: 0px;-->
- <a class="navbar-brand mr-auto" style="line-height: 50px; font-size: 24px;" href="/">Smart Coffee</a>
- <!--<span style="font-size: 24px; line-height: 60px; margin: 0px">發酵槽 F2 控制_感測器抽水雙核隔膜泵</span>-->
- <nav>
- <ul class="main-menu navbar-right mr-auto" style="display: flex; margin-bottom: 0px;">
-
- <span id="coffee_title" style="line-height: 60px; padding: 0px 15px; font-size: 18px;">發酵槽 F2 控制_感測器抽水雙核隔膜泵</span>
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown_container" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
- 貨櫃狀態
- </a>
- <div class="dropdown-menu" aria-labelledby="navbarDropdown_container">
- <a style="line-height: 40px;" class="dropdown-item" href="/clean">清洗貨櫃</a>
- <div class="dropdown-divider"></div>
- <a style="line-height: 40px;" class="dropdown-item" href="/ferment">發酵貨櫃</a>
- <div class="dropdown-divider"></div>
- <a style="line-height: 40px;" class="dropdown-item" href="/dry">乾燥貨櫃</a>
- </div>
- </li>
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown_chart" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
- 感測器圖表
- </a>
- <div class="dropdown-menu" aria-labelledby="navbarDropdown_chart">
- <a style="line-height: 40px;" class="dropdown-item" href="#">清洗浮選__桶槽</a>
- <a style="line-height: 40px;" class="dropdown-item" href="#">清洗浮選__出料</a>
- <a style="line-height: 40px;" class="dropdown-item" href="#">色選機__桶槽</a>
- <a style="line-height: 40px;" class="dropdown-item" href="#">色選機__出料</a>
- <a style="line-height: 40px;" class="dropdown-item" href="#">脫皮機__桶槽</a>
- <a style="line-height: 40px;" class="dropdown-item" href="#">脫皮機__出料</a>
- <div class="dropdown-divider"></div>
- <a style="line-height: 40px;" class="dropdown-item" href="/chart_FI/UltraSonic/1">發酵槽__入料</a>
- <a style="line-height: 40px;" class="dropdown-item" href="/chart_F/UltraSonic/1">發酵槽__桶槽</a>
- <a style="line-height: 40px;" class="dropdown-item" href="/chart_FO/UltraSonic/1">發酵槽__出料</a>
- <div class="dropdown-divider"></div>
- <a style="line-height: 40px;" class="dropdown-item" href="/chart_DI/UltraSonic/1">乾燥槽__入料</a>
- <a style="line-height: 40px;" class="dropdown-item" href="/chart_D/UltraSonic/1">乾燥槽__桶槽</a>
- <a style="line-height: 40px;" class="dropdown-item" href="/chart_DO/UltraSonic/1">乾燥槽__出料</a>
- </div>
- </li>
-
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown_camera" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
- 攝影機畫面
- </a>
- <div class="dropdown-menu" aria-labelledby="navbarDropdown_camera">
- <a style="line-height: 40px;" class="dropdown-item" href="/camera_clean">清洗貨櫃</a>
- <div class="dropdown-divider"></div>
- <a style="line-height: 40px;" class="dropdown-item" href="/camera_ferment">發酵貨櫃</a>
- <div class="dropdown-divider"></div>
- <a style="line-height: 40px;" class="dropdown-item" href="/camera_dry">乾燥貨櫃</a>
- </div>
- </li>
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown_camera" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
- User
- </a>
- <div class="dropdown-menu" aria-labelledby="navbarDropdown_camera">
- <a style="line-height: 40px;" class="dropdown-item" href="#">權限: 經銷商</a>
- <a style="line-height: 40px;" class="dropdown-item" href="#">修改使用者權限</a>
- <div class="dropdown-divider"></div>
- <a style="line-height: 40px;" class="dropdown-item" href="/logout">帳號登出</a>
- </div>
- </li>
- </ul>
- </nav>
- </div>
- </header>
- <br>
- <table border="1" style="margin: auto; font-size:18px; border:2px #cccccc solid;" width=700px cellpadding="8">
- <tr>
- <td>
- 感測器抽水雙核隔膜泵 狀態
- </td>
- <td>
- <span style="color:#008CBA; font-size:18px;"><strong>ON</strong></span>
- </td>
- </tr>
- <tr>
- <td>開啟 感測器抽水雙核隔膜泵</td>
- <td><input type="button" value="ON" onclick="tankPumpSensor_ON()"></td>
- </tr>
- <tr>
- <td>關閉 感測器抽水雙核隔膜泵</td>
- <td><input type="button" value="OFF" onclick="tankPumpSensor_OFF()"></td>
- </tr>
- </table>
- <br>
-
- <footer class="footer" id="footer" style="margin: auto;">
- <div style="margin: 10px auto; font-size: 13px; margin-bottom: 10px;">
- <a style="padding: 0px 6px" href="#">關於 Smart Coffee</a> |
- <a style="padding: 0px 6px;" href="#">產品與經銷商</a> |
- <a style="padding: 0px 6px;" href="#">網站地圖</a> |
- Copyright © 2021 GOLD IN TECHNOLOGY INC. 保留一切權利。
-
-
- </div>
- </footer>
- </div>
- </body>
- </html>
|