Use per-exchange PWA names and logos for instance app installs.
Show Binance/OKX/Gate 交易系统 with distinct exchange icons in manifests, apple titles, and login branding. Co-authored-by: Cursor <cursoragent@cursor.com>
@@ -6637,7 +6637,11 @@ def login():
|
||||
return redirect("/")
|
||||
else:
|
||||
flash("账号或密码错误")
|
||||
return render_template("login.html", exchange_display=EXCHANGE_DISPLAY_NAME)
|
||||
return render_template(
|
||||
"login.html",
|
||||
exchange_display=EXCHANGE_DISPLAY_NAME,
|
||||
pwa_app_name="Gate 交易系统",
|
||||
)
|
||||
|
||||
@app.route("/logout")
|
||||
def logout():
|
||||
|
||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 287 B |
|
Before Width: | Height: | Size: 162 B After Width: | Height: | Size: 265 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 497 B After Width: | Height: | Size: 507 B |
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 8.6 KiB |
@@ -1,17 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
||||
<defs>
|
||||
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0%" stop-color="#22d3ee"/>
|
||||
<stop offset="100%" stop-color="#34d399"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect width="512" height="512" rx="108" fill="#0c1019"/>
|
||||
<rect x="36" y="36" width="440" height="440" rx="88" fill="#141b2d"/>
|
||||
<rect x="36" y="36" width="440" height="440" rx="88" fill="none" stroke="url(#g)" stroke-width="12"/>
|
||||
<path d="M120 320 L200 248 L280 272 L392 168" fill="none" stroke="url(#g)" stroke-width="20" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<circle cx="392" cy="168" r="18" fill="#34d399"/>
|
||||
<rect x="168" y="268" width="28" height="64" rx="6" fill="#f87171"/>
|
||||
<line x1="182" y1="248" x2="182" y2="340" stroke="#f87171" stroke-width="10" stroke-linecap="round"/>
|
||||
<rect x="268" y="220" width="28" height="96" rx="6" fill="#34d399"/>
|
||||
<line x1="282" y1="200" x2="282" y2="340" stroke="#34d399" stroke-width="10" stroke-linecap="round"/>
|
||||
<rect x="36" y="36" width="440" height="440" rx="88" fill="none" stroke="#17E6A1" stroke-width="12"/>
|
||||
<text x="256" y="310" text-anchor="middle" font-family="Arial, Helvetica, sans-serif" font-size="220" font-weight="700" fill="#17E6A1">G</text>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 451 B |
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "交易监控复盘",
|
||||
"short_name": "监控",
|
||||
"description": "加密货币永续交易监控与复盘",
|
||||
"name": "Gate 交易系统",
|
||||
"short_name": "Gate 交易系统",
|
||||
"description": "Gate 永续交易监控与复盘",
|
||||
"start_url": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "#0b0d14",
|
||||
"theme_color": "#0b0d14",
|
||||
"theme_color": "#17E6A1",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/static/icons/icon-192.png",
|
||||
|
||||