优化中控科技风界面:登录居中、浮盈配色、默认打开首个客户端。

总览改名期权持仓总览,内容区 1800 居中,去掉左上角仓库名。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-01 12:10:07 +08:00
parent ad6eef3873
commit 8236d1ef5a
6 changed files with 240 additions and 84 deletions
+1 -2
View File
@@ -6,10 +6,9 @@
<title>{% block title %}期权中控{% endblock %}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='hub.css') }}">
</head>
<body class="{% if request.path.startswith('/desk') %}page-desk{% elif request.path == '/' %}page-dashboard{% endif %}">
<body class="{% if request.path.startswith('/login') %}page-login{% elif request.path.startswith('/desk') %}page-desk{% elif request.path == '/' %}page-dashboard{% endif %}">
{% if session.get('logged_in') %}
<header class="topbar">
<div class="brand">crypto_okx_hub</div>
<nav>
<a href="/" class="{% if request.path == '/' %}active{% endif %}">总览</a>
<a href="/instances" class="{% if request.path.startswith('/instances') %}active{% endif %}">实例</a>