From ace4b9b4ebe1558d4ca7a90cce531f3987a52b8b Mon Sep 17 00:00:00 2001 From: nikolaswollenberg Date: Tue, 16 Jan 2024 11:16:21 +0100 Subject: [PATCH] Farben angepasst udn Tabelle und verweise --- app.py | 4 +- templates/index.html | 97 ++++++++++++++++++++++++++++++++++++- templates/layouts/main.html | 28 +++-------- 3 files changed, 105 insertions(+), 24 deletions(-) diff --git a/app.py b/app.py index 2951448..12560ec 100644 --- a/app.py +++ b/app.py @@ -81,7 +81,7 @@ def signup_post(): login_user(user) # Redirect to login page - return redirect(url_for('secret')) + return redirect(url_for('index')) @app.route('/login', methods=['POST']) @@ -115,7 +115,7 @@ def login_post(): login_user(user) # Redirect to login page - return redirect(url_for('secret')) + return redirect(url_for('index')) @app.route('/logout') diff --git a/templates/index.html b/templates/index.html index b0170d6..6de835d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -9,9 +9,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PredictionIntegerPercentageCurrencyFormatted Float
N/A1110200%$10001,000.5
Yellow7771199%$1019,900
Green1000201%$2012,001.1
Red999200%$28902,000.2
+ + + + {% endblock %} \ No newline at end of file diff --git a/templates/layouts/main.html b/templates/layouts/main.html index 8b8c5ec..bc1eb9c 100644 --- a/templates/layouts/main.html +++ b/templates/layouts/main.html @@ -9,39 +9,25 @@ - + -
-