From 44726f433bf6544441d00090f5ef2074661ff1be Mon Sep 17 00:00:00 2001 From: Matthew Frost Date: Sun, 19 Nov 2023 02:30:54 +0100 Subject: [PATCH] simple ui --- app/templates/index.html | 171 +++++++++++++++++++++++++++++++++++++++ app/views.py | 4 +- 2 files changed, 173 insertions(+), 2 deletions(-) create mode 100644 app/templates/index.html diff --git a/app/templates/index.html b/app/templates/index.html new file mode 100644 index 0000000..5abd2b0 --- /dev/null +++ b/app/templates/index.html @@ -0,0 +1,171 @@ + + + + Powerbar Control + + + +

Powerbar Control

+
+ + + + diff --git a/app/views.py b/app/views.py index fb1ac28..d9c34a5 100644 --- a/app/views.py +++ b/app/views.py @@ -23,8 +23,8 @@ def vaild_outlet (powerbar, outlet): @routes.route('/') def home(): - print(powerbars) - return "hello world" + return render_template('index.html') + @routes.route('///')