Add uptime bars to DNS cards
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -128,6 +128,7 @@ function renderDnsCards() {
|
||||
+ `<span class="name">${label}</span><span class="spacer"></span>`
|
||||
+ `<span id="${safeId}-pill" class="badge off">OFF</span></div>`
|
||||
+ `<div class="response-row"><span id="${safeId}-time" class="response-time">--</span></div>`
|
||||
+ `<div class="health-row" id="health-${safeId}"><span id="uptime-${safeId}" class="uptime-chip">--</span><div class="uptime-mini-bar"><div class="fill" id="uptime-bar-${safeId}" style="width: 0%"></div></div></div>`
|
||||
+ `<div class="btn-row">`
|
||||
+ `<button id="${safeId}-restart" class="restart-btn">Restart</button>`
|
||||
+ `<button id="${safeId}-update" class="update-btn" title="Update DNS server">⬆️</button>`
|
||||
|
||||
Reference in New Issue
Block a user