From 103c4bc302f8c3038b9084aa2126a75db1261cd6 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 12 Jun 2024 14:46:45 -0500 Subject: Use bundled bootstrap for styling the UI Use bootstrap to eliminate a myriad of UI styling headaches. --- qc_app/__init__.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qc_app/__init__.py') diff --git a/qc_app/__init__.py b/qc_app/__init__.py index 88e65be..9907695 100644 --- a/qc_app/__init__.py +++ b/qc_app/__init__.py @@ -9,6 +9,7 @@ from .entry import entrybp from .upload import upload from .parse import parsebp from .samples import samples +from .base_routes import base from .dbinsert import dbinsertbp from .errors import register_error_handlers @@ -18,6 +19,7 @@ def override_settings_with_envvars( for setting in (key for key in app.config if key not in ignore): app.config[setting] = os.environ.get(setting) or app.config[setting] + def create_app(): """The application factory""" app = Flask(__name__) @@ -32,6 +34,7 @@ def create_app(): app.config.from_envvar("QCAPP_SECRETS") # setup blueprints + app.register_blueprint(base, url_prefix="/") app.register_blueprint(entrybp, url_prefix="/") app.register_blueprint(parsebp, url_prefix="/parse") app.register_blueprint(upload, url_prefix="/upload") -- cgit v1.2.3