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 @@ +
| Prediction | +Integer | +Percentage | +Currency | +Formatted Float | +
|---|---|---|---|---|
| N/A | +1110 | +200% | +$1000 | +1,000.5 | +
| Yellow | +777 | +1199% | +$101 | +9,900 | +
| Green | +1000 | +201% | +$201 | +2,001.1 | +
| Red | +999 | +200% | +$2890 | +2,000.2 | +