aboutsummaryrefslogtreecommitdiff
path: root/qc_app
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-06-14 14:46:20 -0500
committerFrederick Muriuki Muriithi2024-06-14 15:41:14 -0500
commitca3b9fe366f8d541a57f6361c122cfa372788d2c (patch)
tree2d22f02db99f8a0898eb3086d687dd216f01166f /qc_app
parent33da000bbd5c2ff23c73dc68d975d2f66b480061 (diff)
downloadgn-uploader-ca3b9fe366f8d541a57f6361c122cfa372788d2c.tar.gz
Add banner similar to GeneNetwork2
Diffstat (limited to 'qc_app')
-rw-r--r--qc_app/static/css/custom-bootstrap.css19
-rw-r--r--qc_app/templates/base.html12
2 files changed, 31 insertions, 0 deletions
diff --git a/qc_app/static/css/custom-bootstrap.css b/qc_app/static/css/custom-bootstrap.css
index e5f6594..67f1199 100644
--- a/qc_app/static/css/custom-bootstrap.css
+++ b/qc_app/static/css/custom-bootstrap.css
@@ -2,3 +2,22 @@
.btn {
text-transform: capitalize;
}
+
+.navbar-inverse {
+ background-color: #336699;
+ border-color: #080808;
+ color: #FFFFFF;
+ background-image: none;
+}
+
+.navbar-inverse .navbar-nav>li>a {
+ color: #FFFFFF;
+}
+
+.navbar-nav > li > a {
+ padding: 5px;
+}
+
+.navbar {
+ min-height: 30px;
+}
diff --git a/qc_app/templates/base.html b/qc_app/templates/base.html
index 3f1ccac..eb5e6b7 100644
--- a/qc_app/templates/base.html
+++ b/qc_app/templates/base.html
@@ -26,6 +26,18 @@
</head>
<body>
+ <div class="navbar navbar-inverse navbar-static-top pull-left"
+ role="navigation"
+ style="width: 100%;min-width: 850px;white-space: nowrap;">
+ <div class="container-fluid" style="width: 100%">
+ <ul class="nav navbar-nav">
+ <li><a href="/" style="font-weight: bold">GN Uploader</a></li>
+ <li>
+ <a href="{{gnuri or 'https://genenetwork.org'}}">GeneNetwork</a>
+ </li>
+ </ul>
+ </div>
+ </div>
<div class="container">
{%block contents%}{%endblock%}
</div>