diff options
author | Frederick Muriuki Muriithi | 2022-04-25 07:15:29 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-04-25 07:15:29 +0300 |
commit | 0bc9f7db2b82bd446e79bdefb03a20516fe3d8b8 (patch) | |
tree | 93dedbe679c2e1f65e080cfb4d13b4675608c25c /qc_app/entry.py | |
parent | fe5be11e2e22d5e2d1497acaf0d8e7579b2882d9 (diff) | |
download | gn-uploader-0bc9f7db2b82bd446e79bdefb03a20516fe3d8b8.tar.gz |
UI: Add index page and basic styling
Add template(s) for the index page and some basic styling to get
started with.
Diffstat (limited to 'qc_app/entry.py')
-rw-r--r-- | qc_app/entry.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qc_app/entry.py b/qc_app/entry.py index 4963246..951b201 100644 --- a/qc_app/entry.py +++ b/qc_app/entry.py @@ -1,9 +1,9 @@ """Entry-point module""" -from flask import Blueprint +from flask import Blueprint, render_template entrybp = Blueprint("entry", __name__) @entrybp.route("/", methods=["GET", "POST"]) def upload_file(): """Enables uploading the files""" - return "STUB: We upload the files here" + return render_template("index.html") |