diff options
author | Frederick Muriuki Muriithi | 2024-06-12 14:46:45 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-06-12 14:49:59 -0500 |
commit | 103c4bc302f8c3038b9084aa2126a75db1261cd6 (patch) | |
tree | 0279797417fe9bd90d6f4bf7081b2f6f7c4022c7 /qc_app/templates/base.html | |
parent | 5e96d27f3d96c84fc5a15d7040843b379b701d20 (diff) | |
download | gn-uploader-103c4bc302f8c3038b9084aa2126a75db1261cd6.tar.gz |
Use bundled bootstrap for styling the UI
Use bootstrap to eliminate a myriad of UI styling headaches.
Diffstat (limited to 'qc_app/templates/base.html')
-rw-r--r-- | qc_app/templates/base.html | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/qc_app/templates/base.html b/qc_app/templates/base.html index 0958687..00ff2d7 100644 --- a/qc_app/templates/base.html +++ b/qc_app/templates/base.html @@ -8,15 +8,20 @@ <title>GN Uploader: {%block title%}{%endblock%}</title> - <link rel="stylesheet" type="text/css" href="/static/css/styles.css" /> - {%block css%}{%endblock%} + <link rel="stylesheet" type="text/css" + href="{{url_for('base.bootstrap', filename='css/bootstrap.css')}}" /> <link rel="shortcut icon" type="image/png" sizes="64x64" href="{{url_for('static', filename='images/CITGLogo.png')}}" /> + + {%block css%}{%endblock%} + </head> <body> - {%block contents%}{%endblock%} + <div class="container"> + {%block contents%}{%endblock%} + </div> {%block javascript%}{%endblock%} </body> |