aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/base.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-06-12 14:46:45 -0500
committerFrederick Muriuki Muriithi2024-06-12 14:49:59 -0500
commit103c4bc302f8c3038b9084aa2126a75db1261cd6 (patch)
tree0279797417fe9bd90d6f4bf7081b2f6f7c4022c7 /qc_app/templates/base.html
parent5e96d27f3d96c84fc5a15d7040843b379b701d20 (diff)
downloadgn-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.html11
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>