Sidebar: add Network menu item; drop redundant 'Network' label from status block
Add a Network entry to the sidebar nav (grouped with Notifications/Settings under one divider). Remove the 'Network ›' title above the bottom status rows — the running/servers/operators info is self-explanatory; drop its now-unused CSS. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -150,8 +150,6 @@
|
|||||||
|
|
||||||
.side-status { padding: 10px 18px 12px; font-size: 12px; color: var(--muted);
|
.side-status { padding: 10px 18px 12px; font-size: 12px; color: var(--muted);
|
||||||
border-bottom: 1px solid var(--border); }
|
border-bottom: 1px solid var(--border); }
|
||||||
.side-status .ss-title { font-weight: 700; text-transform: uppercase; font-size: 10px;
|
|
||||||
letter-spacing: 0.5px; margin-bottom: 7px; opacity: 0.7; }
|
|
||||||
.side-status .ss-row { display: flex; align-items: center; gap: 6px; margin-top: 3px;
|
.side-status .ss-row { display: flex; align-items: center; gap: 6px; margin-top: 3px;
|
||||||
white-space: nowrap; overflow: hidden; }
|
white-space: nowrap; overflow: hidden; }
|
||||||
.ss-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
|
.ss-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
|
||||||
@@ -303,13 +301,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<a href="https://simplex.chat/file/" target="_blank" rel="noopener"><span class="ico">📁</span><span class="lbl">File Upload</span></a>
|
<a href="https://simplex.chat/file/" target="_blank" rel="noopener"><span class="ico">📁</span><span class="lbl">File Upload</span></a>
|
||||||
<a href="/notifications" class="nav-sep {% if nav_active == 'notifications' %}active{% endif %}"><span class="ico">🔔</span><span class="lbl">Notifications</span><span class="notif-badge" id="notif-badge" style="display:none;"></span></a>
|
<a href="/notifications" class="nav-sep {% if nav_active == 'notifications' %}active{% endif %}"><span class="ico">🔔</span><span class="lbl">Notifications</span><span class="notif-badge" id="notif-badge" style="display:none;"></span></a>
|
||||||
<a href="/settings" class="nav-sep {% if nav_active == 'settings' %}active{% endif %}"><span class="ico">⚙️</span><span class="lbl">Settings</span></a>
|
<a href="/network" {% if nav_active == 'network' %}class="active"{% endif %}><span class="ico">📡</span><span class="lbl">Network</span></a>
|
||||||
|
<a href="/settings" {% if nav_active == 'settings' %}class="active"{% endif %}><span class="ico">⚙️</span><span class="lbl">Settings</span></a>
|
||||||
<a href="https://simplex.chat/downloads/" target="_blank" rel="noopener" class="nav-sep"><span class="ico">📲</span><span class="lbl">Get App</span></a>
|
<a href="https://simplex.chat/downloads/" target="_blank" rel="noopener" class="nav-sep"><span class="ico">📲</span><span class="lbl">Get App</span></a>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="side-foot">
|
<div class="side-foot">
|
||||||
<a href="/network" class="side-status" id="side-status" title="View SimpleX network & servers"
|
<a href="/network" class="side-status" id="side-status" title="View SimpleX network & servers"
|
||||||
style="display:block;text-decoration:none;{% if nav_active == 'network' %}background:var(--bg);{% endif %}">
|
style="display:block;text-decoration:none;{% if nav_active == 'network' %}background:var(--bg);{% endif %}">
|
||||||
<div class="ss-title">Network ›</div>
|
|
||||||
<div class="ss-row"><span class="ss-dot" id="ss-dot"></span><span id="ss-running">–/–</span> running</div>
|
<div class="ss-row"><span class="ss-dot" id="ss-dot"></span><span id="ss-running">–/–</span> running</div>
|
||||||
<div class="ss-row" id="ss-servers">📡 –</div>
|
<div class="ss-row" id="ss-servers">📡 –</div>
|
||||||
<div class="ss-row" id="ss-ops" style="opacity:0.8;"></div>
|
<div class="ss-row" id="ss-ops" style="opacity:0.8;"></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user