summaryrefslogtreecommitdiff
path: root/webui/website/views.py
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-05-11 02:18:29 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-05-11 02:18:29 +0530
commit4a30205c7c2ca5dee773bc41f0cce448c98ad72f (patch)
treea8413ccea2bf88fbc7e1001410ecb9e7e7e9d722 /webui/website/views.py
parentb7fb654b5257d8fc753b202c3639e94da7d1af20 (diff)
webui: flask dump
Diffstat (limited to 'webui/website/views.py')
-rw-r--r--webui/website/views.py12
1 files changed, 12 insertions, 0 deletions
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")
+