From f70dc14a7bea34a29a0e053849ba45f149264466 Mon Sep 17 00:00:00 2001 From: prplV Date: Wed, 23 Oct 2024 18:46:48 +0300 Subject: [PATCH] fix --- index.html | 5 ++++- thirdparty/index.css | 30 ++++++++++++++++++++++++++---- thirdparty/index.js | 4 ++-- 3 files changed, 32 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 26cdfdd..154ff52 100644 --- a/index.html +++ b/index.html @@ -23,6 +23,9 @@ + + +
@@ -33,8 +36,8 @@ INC
+ -
diff --git a/thirdparty/index.css b/thirdparty/index.css index f65c44b..e81bd71 100644 --- a/thirdparty/index.css +++ b/thirdparty/index.css @@ -78,14 +78,36 @@ button:hover { gap: 15px; align-items: center; } +.addr-label { + position: relative; + margin-left: auto; + width: 10vw; + text-align: center; + border: 1px solid red; +} +.data-label { + position: relative; + width: 80%; + max-width: 30%; + border: 1px solid red; +} .log-desc { + position: relative; text-align: center; font-size: 2vw; font-weight: bold; - color: white; - width: 100%; - padding: 0%; + color: #E0E0E0; } + +/* .reg-data { + width: 80%; + max-width: 80%; +} +.reg-addr { + width: 15%; + max-width: 15%; +} */ + .log { position: absolute; right: 0; @@ -96,7 +118,7 @@ button:hover { width: 30%; max-width: 30%; border-radius: 4px; - padding: 10px; + padding: 15px; overflow-y: scroll; color: green; font-size: 1.4vw; diff --git a/thirdparty/index.js b/thirdparty/index.js index 1c1ab14..22298f4 100644 --- a/thirdparty/index.js +++ b/thirdparty/index.js @@ -96,7 +96,7 @@ $(window).ready(function () { $('#port').prop("disabled", false); $('#ipAddress').val(""); $('#port').val(""); - $('#connect-btn').val("Connect"); + $('#connect-btn').text("Connect"); } return status ? ok_msg_conn(`Connection closed`) @@ -108,7 +108,7 @@ $(window).ready(function () { valid('port'); $('#ipAddress').prop("disabled", true); $('#port').prop("disabled", true); - $('#connect-btn').val("Close"); + $('#connect-btn').text("Close"); } else { invalid('ipAddress'); invalid('port');