commit 2b02235edc0c8a0179517e6dfc88ce812f54ee28
parent 66df8169f0bd68922a4ed2a96a8321d28b0c9ce6
Author: Nikolas Mazur <nikolas@pop-os.localdomain>
Date: Wed, 14 Dec 2022 19:45:17 -0700
Update render_template filepath
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/app.py b/app.py
@@ -9,15 +9,15 @@ def hello():
@app.route("/signup")
def signup():
- return render_template('signup.html')
+ return render_template('signup/index.html')
@app.route("/dashboard")
def dashboard():
- return render_template('dashboard.html')
+ return render_template('dashboard/index.html')
@app.route("/crewlist")
def crewlist():
- return render_template ('crewlist.html')
+ return render_template ('crewlist/index.html')
@app.route("/changehours")#modify to take userid ex. /changehours<userid>
def changeHours():#userid goes into call to db to get user[] -> then returns formatted table (punchclock/index.html
@@ -25,7 +25,7 @@ def changeHours():#userid goes into call to db to get user[] -> then returns for
@app.route("/fleet")
def fleet():
- return render_template('fleet.html')
+ return render_template('fleet/index.html')
# @app.route("/login",methods = ['POST', 'GET'])
# def login():