From 4a30205c7c2ca5dee773bc41f0cce448c98ad72f Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Thu, 11 May 2023 02:18:29 +0530 Subject: webui: flask dump --- webui/website/views.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 webui/website/views.py (limited to 'webui/website/views.py') diff --git a/webui/website/views.py b/webui/website/views.py new file mode 100644 index 0000000..47a02f5 --- /dev/null +++ b/webui/website/views.py @@ -0,0 +1,12 @@ +from flask import Blueprint, render_template + +views = Blueprint('views', __name__) + +@views.route('/') +def home(): + return render_template("home.html") + +@views.route('/live') +def live(): + return render_template("live.html") + -- cgit v1.2.3