refactor: unify three-exchange instance UI with shared templates

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-06 02:43:24 +08:00
parent df99eb5fb5
commit 8b069294b7
14 changed files with 504 additions and 4882 deletions
+2 -1
View File
@@ -6375,7 +6375,7 @@ def login():
return redirect("/")
else:
flash("账号或密码错误")
return render_template("login.html")
return render_template("login.html", exchange_display=EXCHANGE_DISPLAY_NAME)
@app.route("/logout")
def logout():
@@ -7185,6 +7185,7 @@ def order_focus():
selected_order=selected,
default_timeframe=KLINE_TIMEFRAME,
price_refresh_seconds=PRICE_REFRESH_SECONDS,
exchange_display=EXCHANGE_DISPLAY_NAME,
)