Add Chinese side label and click-to-zoom review charts.

Crop thumbnails around entry/exit so short trades are visible; lightbox uses a tighter window.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-21 20:31:22 +08:00
parent 656038a74d
commit 9f6651da2f
4 changed files with 221 additions and 28 deletions
+1 -1
View File
@@ -54,7 +54,7 @@
<tr>
<td>{{ t.id }}</td>
<td>{{ t.symbol }}</td>
<td><span class="tag {% if t.side=='buy' %}green{% else %}red{% endif %}">{{ t.side }}</span></td>
<td><span class="tag {% if t.side=='buy' %}green{% else %}red{% endif %}">{% if t.side=='buy' %}买入{% elif t.side=='sell' %}卖出{% else %}{{ t.side }}{% endif %}</span></td>
<td>{{ t.volume }}</td>
<td>{{ t.open_price|fmt_price }}</td>
<td>{{ t.close_price|fmt_price }}</td>