From f61319d07fd7eadf59b4fc2d185ec49c24d40d8e Mon Sep 17 00:00:00 2001 From: lsh <lsh123456> Date: 星期六, 08 十月 2022 11:16:56 +0800 Subject: [PATCH] # --- src/main/webapp/views/index.html | 7 ++++--- src/main/webapp/static/js/console.map.js | 12 ++++++------ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/main/webapp/static/js/console.map.js b/src/main/webapp/static/js/console.map.js index c336803..a1b4c03 100644 --- a/src/main/webapp/static/js/console.map.js +++ b/src/main/webapp/static/js/console.map.js @@ -8,7 +8,7 @@ "floors": 1, "racks": [{ "type": "rack", - "id": "rack1", + "id": "rack2", "top": 168, "left": 463, "width": 826, @@ -17,7 +17,7 @@ "maxBayNo": 18 }, { "type": "rack", - "id": "rack2", + "id": "rack1", "top": 226, "left": 463, "width": 826, @@ -27,16 +27,16 @@ }], "rackDescs": [{ "type": "rackDescs", - "id": "lb_desc2", - "text": "#2", + "id": "lb_desc1", + "text": "#1", "top": 253, "left": 1246, "width": 33, "height": 23 }, { "type": "rackDescs", - "id": "lb_desc1", - "text": "#1", + "id": "lb_desc2", + "text": "#2", "top": 142, "left": 1249, "width": 30, diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html index 5e42cec..d0eaa3e 100644 --- a/src/main/webapp/views/index.html +++ b/src/main/webapp/views/index.html @@ -7,9 +7,10 @@ <script src="../static/js/jquery/jquery-3.3.1.min.js"></script> <style> html{ - transform: scale(0.5) translate(-50%,-50%); - height: 200%; - width: 200%; + transform: scale(1) translate(0,0); + /*transform: scale(0.5) translate(-50%,-50%);*/ + height: 150%; + width: 150%; } </style> -- Gitblit v1.9.1