diff options
author | Frederick Muriuki Muriithi | 2024-06-14 14:46:20 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-06-14 15:41:14 -0500 |
commit | ca3b9fe366f8d541a57f6361c122cfa372788d2c (patch) | |
tree | 2d22f02db99f8a0898eb3086d687dd216f01166f /qc_app | |
parent | 33da000bbd5c2ff23c73dc68d975d2f66b480061 (diff) | |
download | gn-uploader-ca3b9fe366f8d541a57f6361c122cfa372788d2c.tar.gz |
Add banner similar to GeneNetwork2
Diffstat (limited to 'qc_app')
-rw-r--r-- | qc_app/static/css/custom-bootstrap.css | 19 | ||||
-rw-r--r-- | qc_app/templates/base.html | 12 |
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> |