总览周几:工作日绿色、周末红色。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-03 18:54:53 +08:00
parent 6e68650d09
commit eefdaa714a
4 changed files with 19 additions and 9 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=2">
<link rel="stylesheet" href="{{ url_for('static', filename='hub.css') }}?v=3">
</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 == '/' %}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=14"></script>
<script src="{{ url_for('static', filename='hub.js') }}?v=15"></script>
<script>HubOverview.boot();</script>
{% endblock %}