Seperated landing page into self contained template as gradient stylings were making the dashboard hard to read

This commit is contained in:
Peter Stockings
2024-03-29 22:00:17 +11:00
parent d25e8bb182
commit 3ce976507e
4 changed files with 170 additions and 115 deletions

2
app.py
View File

@@ -102,7 +102,7 @@ def dashboard():
user_id = current_user.id
http_functions = db.get_http_functions_for_user(user_id)
http_functions = create_http_functions_view_model(http_functions)
return render_template("dashboard.html", http_functions=http_functions)
return render_template("dashboard/http_functions/overview.html", http_functions=http_functions)
@ app.route("/dashboard/http_functions", methods=["GET"])
@login_required