条件单页改为默认看历史,点新建才展开下发表单。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@
|
||||
<link rel="icon" href="{{ url_for('static', filename='icons/favicon.ico') }}?v=2" sizes="any">
|
||||
<link rel="apple-touch-icon" href="{{ url_for('static', filename='icons/apple-touch-icon.png') }}?v=2">
|
||||
<link rel="manifest" href="/manifest.webmanifest">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='hub.css') }}?v=41">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='hub.css') }}?v=42">
|
||||
<script>
|
||||
(function () {
|
||||
try {
|
||||
|
||||
@@ -3,14 +3,19 @@
|
||||
{% block body %}
|
||||
<section class="page-head cond-head">
|
||||
<div>
|
||||
<h1>左侧条件开仓</h1>
|
||||
<h1>条件单</h1>
|
||||
<p class="muted cond-lead">中控只下发;盯盘、买币、开平仓都在客户端。有仓或已占用的机器不可选。</p>
|
||||
</div>
|
||||
<button type="button" class="btn" id="btn-cond-refresh">刷新</button>
|
||||
<div class="cond-head-actions">
|
||||
<button type="button" class="btn" id="btn-cond-refresh">刷新</button>
|
||||
<label for="cond-add-toggle" class="settings-primary inst-add-trigger">新建条件单</label>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<input type="checkbox" id="cond-add-toggle" class="cond-add-check">
|
||||
|
||||
<div class="cond-layout">
|
||||
<section class="panel cond-card">
|
||||
<section class="panel cond-card cond-add-panel">
|
||||
<div class="cond-card-head">
|
||||
<h2>新建条件单</h2>
|
||||
<span class="cond-chip">左侧单</span>
|
||||
@@ -67,19 +72,20 @@
|
||||
|
||||
<div class="cond-actions">
|
||||
<button type="button" class="btn" id="btn-cond-create">下发条件单</button>
|
||||
<label for="cond-add-toggle" class="btn btn-secondary">取消</label>
|
||||
<span class="muted" id="cf-status"></span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="panel cond-card">
|
||||
<div class="cond-card-head">
|
||||
<h2>条件单列表</h2>
|
||||
<h2>条件单历史</h2>
|
||||
</div>
|
||||
<div id="cond-list" class="muted">加载中…</div>
|
||||
</section>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="{{ url_for('static', filename='cond_orders.js') }}?v=2"></script>
|
||||
<script src="{{ url_for('static', filename='cond_orders.js') }}?v=3"></script>
|
||||
<script>HubCondOrders.boot();</script>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user