status cleanup

This commit is contained in:
Justin (shocknet) 2024-07-21 17:22:32 -04:00
parent 2fcbdc79e7
commit d7efc4f45e
2 changed files with 18 additions and 7 deletions

View file

@ -139,3 +139,9 @@
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 */
}

View file

@ -76,12 +76,14 @@
</div>
</div>
<div style="display: flex; justify-content: end;padding-right: 12px;">
<div class="marked" id="show-reset" style="text-decoration: underline; margin-top: 5px;position: relative;">
<div class="marked" id="show-reset" style="text-decoration: underline; margin-top: 5px;position: relative; display: none;">
Reset
<div class="watchdog-status">
<button class="icon-button" id="show-question">
<img src="img/question.svg" />
</button>
<a href="https://docs.shock.network/pub/watchdog" target="_blank">
<button class="icon-button" id="show-question">
<img src="img/question.svg" />
</button>
</a>
</div>
</div>
</div>
@ -114,9 +116,11 @@
<div style="position: relative;">
Watchdog Status:
<div class="watchdog-status">
<button class="icon-button" id="show-question">
<img src="img/question.svg" />
</button>
<a href="https://docs.shock.network/pub/watchdog" target="_blank">
<button class="icon-button" id="show-question">
<img src="img/question.svg" />
</button>
</a>
</div>
</div>
<div id="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()