总览名称旁增加条件单标签,无仓时持仓列显示触发短文案。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-04 19:00:47 +08:00
parent b9f76f4d53
commit bcd32a25c3
4 changed files with 112 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}期权中控{% endblock %}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='hub.css') }}?v=20">
<link rel="stylesheet" href="{{ url_for('static', filename='hub.css') }}?v=21">
</head>
<body class="{% if request.path.startswith('/login') %}page-login{% elif request.path.startswith('/desk') %}page-desk{% elif request.path.startswith('/stats') %}page-stats{% elif request.path.startswith('/instances') %}page-instances{% elif request.path == '/' %}page-dashboard{% endif %}">
{% if session.get('logged_in') %}
+1 -1
View File
@@ -15,6 +15,6 @@
<div id="overview-grid"></div>
{% endblock %}
{% block scripts %}
<script src="{{ url_for('static', filename='hub.js') }}?v=19"></script>
<script src="{{ url_for('static', filename='hub.js') }}?v=20"></script>
<script>HubOverview.boot();</script>
{% endblock %}