Move channel indicator to navbar header (shield + fingerprint)

This commit is contained in:
Aaron D. Lee
2026-01-07 20:38:14 -05:00
parent 231ba97fde
commit 5bdb625059
2 changed files with 6 additions and 11 deletions

View File

@@ -19,6 +19,11 @@
<span class="badge bg-success" style="position: absolute; font-size: 0.45rem; bottom: -8px; right: 6px;">v4.1</span> <span class="badge bg-success" style="position: absolute; font-size: 0.45rem; bottom: -8px; right: 6px;">v4.1</span>
</span> </span>
</a> </a>
{% if channel_configured %}
<span class="badge bg-success bg-opacity-25 text-success ms-2 small" title="Private Channel: {{ channel_fingerprint }}">
<i class="bi bi-shield-lock me-1"></i><code class="text-success" style="font-size: 0.7rem;">{{ channel_fingerprint }}</code>
</span>
{% endif %}
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>

View File

@@ -38,17 +38,7 @@
} }
</style> </style>
{% if channel_configured %} <div class="d-flex flex-column align-items-center justify-content-center" style="min-height: 70vh;">
<!-- Channel Status - pinned under nav -->
<div class="alert alert-success mb-0 py-2 rounded-0" style="margin: -3rem -3rem 0 -3rem; width: calc(100% + 6rem);">
<div class="d-flex align-items-center justify-content-between small px-4">
<span><i class="bi bi-shield-lock me-2"></i><strong>Private Channel</strong></span>
<code>{{ channel_fingerprint }}</code>
</div>
</div>
{% endif %}
<div class="d-flex flex-column align-items-center justify-content-center" style="min-height: 65vh;">
<!-- Hero --> <!-- Hero -->
<div class="d-flex align-items-center gap-3 mb-4"> <div class="d-flex align-items-center gap-3 mb-4">