Seperated landing page into self contained template as gradient stylings were making the dashboard hard to read
This commit is contained in:
2
app.py
2
app.py
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user