Hide empty dashboard sections and render data as tables.

Orders/keys/strategy/options/hedge only appear when they have rows, shown in table layout.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-17 12:14:03 +08:00
parent c7aae67881
commit cd2dfac2ba
5 changed files with 217 additions and 55 deletions
+2 -2
View File
@@ -16,7 +16,7 @@
<link rel="apple-touch-icon" href="/static/icons/apple-touch-icon.png">
<link rel="manifest" href="/static/icons/manifest.webmanifest">
<title>{{ pwa_app_name }}</title>
<link rel="stylesheet" href="/static/instance_page.css?v=7">
<link rel="stylesheet" href="/static/instance_page.css?v=8">
<link rel="stylesheet" href="/static/instance_theme.css?v=95">
</head>
@@ -1992,7 +1992,7 @@ tickOrderHoldDurations();
setInterval(refreshPriceSnapshotConditional, {{ price_refresh_seconds * 1000 }});
</script>
<script src="/static/records_review_page.js?v=2"></script>
<script src="/static/instance_dashboard.js?v=1"></script>
<script src="/static/instance_dashboard.js?v=2"></script>
<script>
window.__INSTANCE_DISPLAY__ = {{ display | tojson }};
{% if page == 'dashboard' %}