Add logout control and show a single locked underlying on hedge select.

Nav gains an exit link when auth is enabled; PO option picker no longer shows unused ETH/BTC toggles.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-14 20:22:06 +08:00
parent 5d161b4220
commit 2fecbda450
7 changed files with 57 additions and 15 deletions
+1
View File
@@ -6882,6 +6882,7 @@ def render_main_page(page="trade", embed_mode=None):
_hedge_po_mode_payload = _po_mode_public()
template_ctx = dict(
auth_disabled=AUTH_DISABLED,
page=page,
key=key_list,
key_history=key_history,