From dde47d514c7f8ec7cae0f6289ff96682e0dd905c Mon Sep 17 00:00:00 2001 From: SeanChenTaipei Date: Tue, 14 Mar 2023 17:46:01 +0800 Subject: [PATCH] f --- Procfile | 2 +- templates/strategy_tw.html | 112 ++++++++++++++----------------------- 2 files changed, 43 insertions(+), 71 deletions(-) diff --git a/Procfile b/Procfile index 9ce81f5..98b314d 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: gunicorn main:app --preload --workers 8 \ No newline at end of file +web: gunicorn main:app --preload --workers 8 --timeout 60 --log-level debug \ No newline at end of file diff --git a/templates/strategy_tw.html b/templates/strategy_tw.html index 2a94e3d..df13134 100644 --- a/templates/strategy_tw.html +++ b/templates/strategy_tw.html @@ -80,79 +80,51 @@ div.card{ -
- -
-
-
-
- 名稱與選擇資產 -
-
-
- - - - - -
- - - {% if session.tw==0 %} - {% for key, data in data_us.items() -%} - - {% endfor %} - {% endif %} - {% for key, data in data_tw.items() -%} - - {% endfor %} - - -
-
-
    - {% for s in stock %} -
  1. - {{ s|safe }} - - - -
  2. - {% endfor %} -
-
-
+
+
+ + + + + +
+ + + {% if session.tw==0 %} + {% for key, data in data_us.items() -%} + + {% endfor %} + {% endif %} + {% for key, data in data_tw.items() -%} + + {% endfor %} + + +
+
+
    + {% for s in stock %} +
  1. + {{ s|safe }} + + + +
  2. + {% endfor %} +
-