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:
Stef
2025-10-08 15:38:40 +02:00
committed by GitHub
parent 573437f4cf
commit 88f553a08e
7 changed files with 190 additions and 73 deletions

12
app.py
View File

@@ -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")