some settings functionality
parent
bb2b1c44d0
commit
21e37d197d
4
menu.py
4
menu.py
|
@ -66,8 +66,8 @@ def index():
|
||||||
elif action == "upload":
|
elif action == "upload":
|
||||||
return redirect(url_for("upload.index"))
|
return redirect(url_for("upload.index"))
|
||||||
elif action == "settings":
|
elif action == "settings":
|
||||||
#settings = get_settings(user_id)
|
settings = get_settings(user_id)
|
||||||
return render_template("settings.html", username=username, user_id=user_id)
|
return render_template("settings.html", username=username, user_id=user_id, settings=settings)
|
||||||
elif action == "instructions":
|
elif action == "instructions":
|
||||||
return render_template("instructions.html", username=username, user_id=user_id)
|
return render_template("instructions.html", username=username, user_id=user_id)
|
||||||
elif action == "about":
|
elif action == "about":
|
||||||
|
|
Loading…
Reference in New Issue