Fix settings tab 500 and env config grouping in UI

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-08 20:33:31 +08:00
parent aa966114b1
commit 68e03ccd97
7 changed files with 63 additions and 11 deletions
@@ -8,7 +8,7 @@
<div class="display-prefs-group">
<h3 class="settings-subcard-title">{{ group.group }}</h3>
<div class="display-prefs-checks">
{% for item in group.keys %}
{% for item in group.items %}
<label class="chk-label">
<input type="checkbox" data-pref-key="{{ item.key }}"{% if display.get(item.key, true) %} checked{% endif %}>
{{ item.label }}
+2 -2
View File
@@ -103,8 +103,8 @@ const ORDER_ENTRY_MODEL_CODE_TO_CATEGORY = {{ entry_model_code_to_category | toj
<script>
window.__INSTANCE_DISPLAY__ = {{ display | tojson }};
</script>
<script src="/static/instance_settings_prefs.js?v=3"></script>
<script src="/static/instance_settings_prefs.js?v=4"></script>
<script src="/static/instance_live.js?v=4"></script>
<script src="/static/instance_embed.js?v=18"></script>
<script src="/static/instance_embed.js?v=19"></script>
</body>
</html>
+1 -1
View File
@@ -2038,6 +2038,6 @@ setInterval(refreshPriceSnapshotConditional, {{ price_refresh_seconds * 1000 }})
<script>
window.__INSTANCE_DISPLAY__ = {{ display | tojson }};
</script>
<script src="/static/instance_settings_prefs.js?v=3"></script>
<script src="/static/instance_settings_prefs.js?v=4"></script>
</body>
</html>