mirror of
https://github.com/StefBuwalda/cal_counter.git
synced 2025-10-30 11:19:59 +00:00
New webpage structure, not yet finished. Change password implemented again (#11)
* Adjusted GUI of daily dashboard to better deal with float values * Change password + New base (#10) * created a new Base template to test with * Changed out the base and added a new password page * Password change works, UI needs redisgn
This commit is contained in:
12
app.py
12
app.py
@@ -1,8 +1,4 @@
|
||||
from flask import (
|
||||
redirect,
|
||||
url_for,
|
||||
send_from_directory,
|
||||
)
|
||||
from flask import redirect, url_for, send_from_directory, render_template
|
||||
from flask_login import (
|
||||
login_required,
|
||||
current_user,
|
||||
@@ -54,6 +50,12 @@ def index():
|
||||
return redirect(url_for("auth.login"))
|
||||
|
||||
|
||||
@app.route("/test")
|
||||
@login_required
|
||||
def text():
|
||||
return render_template("newBase.html")
|
||||
|
||||
|
||||
@app.route("/favicon.ico")
|
||||
def favicon():
|
||||
return send_from_directory("static", "favicon.ico")
|
||||
|
||||
Reference in New Issue
Block a user