Rename positions nav to order monitor and set as default landing page.

Remove stats recalculate button; login and home now open /positions without affecting refresh on other routes.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-26 01:51:22 +08:00
parent 1cc0cd5f8d
commit bdfa21def8
6 changed files with 8 additions and 36 deletions
+2 -2
View File
@@ -70,7 +70,7 @@
<h2>导航显示</h2>
<form action="{{ url_for('settings') }}" method="post">
<input type="hidden" name="action" value="nav">
<p class="hint" style="margin-bottom:.75rem">关闭后顶栏隐藏对应入口,直接访问 URL 也会跳转回持仓监控。</p>
<p class="hint" style="margin-bottom:.75rem">关闭后顶栏隐藏对应入口,直接访问 URL 也会跳转回下单监控。</p>
<div class="check-row">
{% for key, label in nav_toggles.items() %}
<label style="display:flex;align-items:center;gap:.5rem;cursor:pointer;white-space:nowrap">
@@ -322,7 +322,7 @@
<div class="card">
<h2>使用提示</h2>
<ul class="settings-tips">
<li>持仓监控:连接 CTP 后下单、看持仓与品种推荐</li>
<li>下单监控:连接 CTP 后下单、看持仓与品种推荐</li>
<li>策略交易:趋势回调自动补仓;顺势加仓需先开仓</li>
<li>手续费:默认 CTP 柜台费率,连接后点同步</li>
<li>手机端:浏览器菜单可「添加到主屏幕」安装 App</li>