From d7efc4f45e8facf64c1249dc9206efeddbb7faf0 Mon Sep 17 00:00:00 2001 From: "Justin (shocknet)" Date: Sun, 21 Jul 2024 17:22:32 -0400 Subject: [PATCH] status cleanup --- static/css/status.css | 6 ++++++ static/status.html | 19 ++++++++++++------- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/static/css/status.css b/static/css/status.css index 559e219a..9114dea3 100644 --- a/static/css/status.css +++ b/static/css/status.css @@ -138,4 +138,10 @@ var(--gradient) border-box; border-radius: 2rem; border: 1px solid transparent; +} + +#adminNpub { + font-size: 8px; /* Adjust font size to fit on one line */ + text-align: left; /* Left align the text */ + line-break: anywhere; /* Ensure long text breaks appropriately */ } \ No newline at end of file diff --git a/static/status.html b/static/status.html index 5d565837..613194d5 100644 --- a/static/status.html +++ b/static/status.html @@ -76,12 +76,14 @@
-
+
@@ -114,9 +116,11 @@
Watchdog Status:
- + + +
@@ -165,6 +169,7 @@ document.getElementById("inviteLinkHttp").href = `https://my.shockwallet.app/#/source?addSource=${j.nprofile}` document.getElementById("inviteLinkHttp").innerHTML = `https://my.shockwallet.app/#/source?addSource=${j.nprofile}` document.querySelector('input[name="show-nodey"]').placeholder = j.provider_name; + document.title = j.provider_name; } try { fetchInfo()