Fix header funds flicker and unify settings page top bar.

Preserve SSR fund values when account_snapshot returns null, retry on failure, and show the same instance header panel on system settings.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-08 19:08:08 +08:00
parent 279648de56
commit 0d27e13275
8 changed files with 236 additions and 190 deletions
+1 -3
View File
@@ -43,9 +43,7 @@
</nav>
<div id="embed-flash" class="flash" style="display:none" role="status"></div>
{% if initial_tab != 'settings' %}
{% include 'instance_header_panel.html' %}
{% endif %}
{% if initial_tab != 'settings' and include_transfer_block %}
{% include 'instance_top_bar.html' %}
{% endif %}
@@ -91,6 +89,6 @@ const ORDER_ENTRY_MODEL_CODE_TO_CATEGORY = {{ entry_model_code_to_category | toj
<script src="/static/key_monitor_form.js?v=2"></script>
{% include 'embed_boot_scripts.html' %}
<script src="/static/instance_live.js?v=3"></script>
<script src="/static/instance_embed.js?v=13"></script>
<script src="/static/instance_embed.js?v=15"></script>
</body>
</html>