Add template for dashboard with styling

This commit is contained in:
Peter Stockings
2022-07-16 12:27:03 +10:00
parent e6613a4a4e
commit 452f846218
4 changed files with 590 additions and 7 deletions

10
app.py
View File

@@ -1,12 +1,8 @@
from flask import Flask
from flask import Flask, render_template
app = Flask(__name__)
@app.route("/")
def hello_world():
return "<p>Hello, World!</p>"
@app.route("/test")
def test_route():
return "<p>Hello, test!</p>"
return render_template('index.html', name='peter')