工作台隐藏中控顶栏与报价并铺满视口,登录后默认进入总览。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+3
-3
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{% block title %}加密货币|OKX 期权中控{% endblock %}</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='hub.css') }}?v=31">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='hub.css') }}?v=32">
|
||||
</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.startswith('/settings') %}page-settings{% elif request.path.startswith('/cond_orders') %}page-cond-orders{% elif request.path == '/' %}page-dashboard{% endif %}">
|
||||
{% if session.get('logged_in') %}
|
||||
@@ -47,11 +47,11 @@
|
||||
{% endwith %}
|
||||
{% block body %}{% endblock %}
|
||||
</main>
|
||||
{% if session.get('logged_in') %}
|
||||
{% if session.get('logged_in') and not request.path.startswith('/desk') %}
|
||||
<script src="{{ url_for('static', filename='hub_quotes.js') }}?v=1"></script>
|
||||
{% endif %}
|
||||
{% block scripts %}{% endblock %}
|
||||
{% if session.get('logged_in') %}
|
||||
{% if session.get('logged_in') and not request.path.startswith('/desk') %}
|
||||
<script>if (window.HubQuotes) HubQuotes.boot();</script>
|
||||
{% endif %}
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user