From 886ef60612c7f00901caf48e761f75ebcb3671bd Mon Sep 17 00:00:00 2001 From: kzolotarev95 Date: Wed, 29 Jul 2026 01:18:53 +0400 Subject: [PATCH] Simplify router card header details --- vps/owrt-remote-hub.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/vps/owrt-remote-hub.py b/vps/owrt-remote-hub.py index 4cc66e2..9770be1 100644 --- a/vps/owrt-remote-hub.py +++ b/vps/owrt-remote-hub.py @@ -2906,14 +2906,6 @@ function render(list) {{ const flashDisplay = formatFlash(flash); const temperature = (r.status && r.status.temperature) || 'unknown'; const access = r.access_url || r.public_url; - const tags = [ - isMain ? 'главный' : 'node', - r.entry_port ? 'entry ' + r.entry_port : '', - r.ssh_entry_port ? 'ssh ' + r.ssh_entry_port : '', - r.reverse_tag || '', - (r.admin_host || '127.0.0.1') + ':' + (r.admin_port || 80) - ].filter(Boolean).slice(0, 5); - const tagHtml = tags.map(t => `${{escapeHtml(t)}}`).join(''); const adminButton = online ? `Админка` : `Админка`; @@ -2941,9 +2933,7 @@ function render(list) {{
${{escapeHtml(r.name)}}
-
ID: ${{escapeHtml(r.id)}} · роль: ${{escapeHtml(role)}}
-
${{tagHtml}}
${{metricHtml}}
@@ -3028,14 +3018,6 @@ render = function(list) {{ const flashDisplay = formatFlash(flash); const temperature = (r.status && r.status.temperature) || 'unknown'; const access = r.access_url || r.public_url; - const tags = [ - isMain ? 'главный' : 'node', - r.entry_port ? 'entry ' + r.entry_port : '', - r.ssh_entry_port ? 'ssh ' + r.ssh_entry_port : '', - r.reverse_tag || '', - (r.admin_host || '127.0.0.1') + ':' + (r.admin_port || 80) - ].filter(Boolean).slice(0, 5); - const tagHtml = tags.map(t => `${{escapeHtml(t)}}`).join(''); const adminButton = online ? `Админка` : `Админка`; @@ -3062,8 +3044,6 @@ render = function(list) {{
${{stateText}}
${{escapeHtml(r.name)}}
-
ID: ${{escapeHtml(r.id)}} · роль: ${{escapeHtml(role)}}
-
${{tagHtml}}
${{metricHtml}}