From c85dd597e1484ccc131bfe4147cc766194b6873b Mon Sep 17 00:00:00 2001
From: vincent <1341870251@qq.com>
Date: 星期六, 30 五月 2020 11:13:31 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/console.html |  120 ++++++++++++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 97 insertions(+), 23 deletions(-)

diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 987f16d..a45a316 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -13,12 +13,27 @@
     <script type="text/javascript" src="../static/js/jquery/jquery-3.3.1.min.js"></script>
     <script type="text/javascript" src="../static/js/layer/layer.js"></script>
     <style>
-        .system-state {
-            position: absolute;
-            top: 40px;
-            right: 20px;
+        header {
+            height: 20%;
+            opacity: 0.8;
+            position: relative;
         }
-
+        /* 鍒嗗壊绾� */
+        .header-hr {
+            border-radius: 5px;
+            border: 1px solid #777;
+            width: 80%;
+            position: absolute;
+            bottom: 0;
+        }
+        /* 绯荤粺杩愯鐘舵�� */
+        .system-state {
+            float: left;
+            margin-left: 30px;
+            margin-top: 30px;
+            text-align: center;
+            color: #2d6aff;
+        }
         .system-icon {
             width: 100px;
             height: 100px;
@@ -29,30 +44,89 @@
             cursor: pointer;
         }
 
+        /* 鐘舵�佹樉绀� */
+        .data-window {
+            float: left;
+            width: 70%;
+            text-align: center;
+        }
+        .data-window h1 {
+            font-size: 3em;
+            margin: 0;
+            letter-spacing: 1px;
+            font-weight: inherit;
+        }
+
+        /* 鍫嗗灈鏈虹姸鎬� */
+        .crn-state-group {
+            text-align: left;
+            font-size: 12px;
+        }
+        .crn-label {
+            float: left;
+            width: 20%;
+            text-align: right;
+            margin-bottom: 5px;
+            font-size: 13px;
+        }
+        .crn-state {
+            display: inline-block;
+            width: 50px;
+            text-align: center;
+        }
+        /* 绔欑偣鐘舵�� */
+        .site-label {
+            width: 20%;
+            text-align: right;
+            margin-bottom: 5px;
+            font-size: 13px;
+        }
+        .site-state-group {
+            display: inline-block;
+            text-align: left;
+        }
+        .site-state-group .site {
+            float: left;
+            height: 22px;
+            width: auto;
+            padding: 0 10px;
+            border: none;
+        }
+
     </style>
 </head>
 <body>
 <header>
-    <h1>鑷姩浠撳簱 WCS 鐩戞帶鍥�</h1>
-    <!-- 鐘舵�� -->
-    <div class="machine-state">
-        <div class="crn-state-group">
-            <span>鍫嗗灈鏈虹姸鎬�:</span>
-            <span class="crn-state" style="background-color: #21ff3a">鑷姩</span>
-            <span class="crn-state" style="background-color: red">寮傚父</span>
-        </div>
-        <div class="site-state-group">
-            <span>绔欑偣鐘舵��:</span>
-            <span class="site-state" style="background-color: #21ff3a;">鑷姩</span>
-            <span class="site-state" style="background-color: red;">寮傚父</span>
-        </div>
-    </div>
-    
-    <!-- 绯荤粺杩愯 -->
+    <!-- 绯荤粺杩愯鐘舵�� -->
     <div class="system-state">
         <div class="system-icon"></div>
+        <span>绯荤粺杩愯涓�...</span>
     </div>
-    
+
+    <!-- 淇℃伅灞曠ず -->
+    <div class="data-window">
+        <h1>鑷姩浠撳簱&nbsp;WCS&nbsp;鐩戞帶鍥�</h1>
+
+        <div>
+            <label class="crn-label">鍫嗗灈鏈虹姸鎬侀鑹�:</label>
+            <div class="crn-state-group">
+                <span class="crn-state" style="background-color: #21ff3a">鑷姩</span>
+                <span class="crn-state" style="background-color: red">寮傚父</span>
+            </div>
+        </div>
+
+        <div>
+            <label class="site-label">杈撻�佽澶囩姸鎬侀鑹�:</label>
+            <div class="site-state-group">
+                <div class="site site-auto">鑷姩</div>
+                <div class="site site-unauto">闈炶嚜鍔�/鎵嬪姩</div>
+            </div>
+        </div>
+
+    </div>
+
+    <!--鍒嗗壊绾�-->
+    <hr class="header-hr">
 </header>
 <main>
 
@@ -73,7 +147,7 @@
     <div class="site-row site-row-2">
         <div id="site-32" class="site" style="width: 80px; height: 50px;line-height: 50px">32</div>
         <div id="site-31" class="site" >31</div>
-        <div id="site-30" class="site" style="width: 80px; height: 30px;line-height: 30px">30</div>
+        <div id="site-30" class="site" style="width: 80px; height: 30px;line-height: 30px; background-color: red;">30</div>
         <div id="site-23" class="site" >23</div>
         <div id="site-22" class="site" style="width: 80px; height: 50px;line-height: 50px">22</div>
         <div id="site-20" class="site" >20</div>

--
Gitblit v1.9.1