aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>