v1.0.85: create_client(token) everywhere — single entry point stand detection; {{ stand }} in UI

This commit is contained in:
2026-07-27 17:26:09 +04:00
parent cd2e2349e2
commit 59e87cf50f
5 changed files with 36 additions and 8 deletions
+1 -1
View File
@@ -44,7 +44,7 @@
<div class="topbar">
<img src="{{ url_for('static', filename='logo.svg') }}" alt="Nubes" style="height:22px;" />
<span style="font-size:11px;color:var(--muted);">v{{ config.VERSION }}</span>
{% if token_info.email %}<span style="font-size:11px;color:var(--muted);">{{ token_info.email }} | {{ token_info.company }} | test</span>{% endif %}
{% if token_info.email %}<span style="font-size:11px;color:var(--muted);" title="{{ token_info.email }} · {{ token_info.company }} · стенд: {{ stand }}">{{ token_info.email }} | {{ token_info.company }} | {{ stand }}</span>{% endif %}
<span style="flex:1;"></span>
<form method="post" style="display:flex;align-items:center;gap:6px;">
<input type="password" name="token" placeholder="env: {{ env_token_masked }}" value="{{ '' if not has_user_token else '••••••••' }}" style="height:28px;width:180px;font-size:12px;border:1px solid var(--brand-gray);border-radius:4px;padding:0 6px;" />