aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/base.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-08-29 15:21:27 -0500
committerFrederick Muriuki Muriithi2024-08-30 15:06:24 -0500
commite49b4367f1dab1c3acb3cd5d71ba09359c5ab4ee (patch)
tree63035669dd9a82bccee60b572a565d028cf3ef38 /uploader/templates/base.html
parentf95037b93329d5a4953b81ba1b58e4028a6274e8 (diff)
downloadgn-uploader-e49b4367f1dab1c3acb3cd5d71ba09359c5ab4ee.tar.gz
Initialise package for dealing with Species.
Diffstat (limited to 'uploader/templates/base.html')
-rw-r--r--uploader/templates/base.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/uploader/templates/base.html b/uploader/templates/base.html
index 58227f4..7431767 100644
--- a/uploader/templates/base.html
+++ b/uploader/templates/base.html
@@ -44,6 +44,7 @@
<aside id="nav-sidebar" class="container-fluid">
<ul class="nav flex-column">
<li><a href="/" >Home</a></li>
+ <li><a href="{{url_for('species.list_species')}}" >Species</a></li>
<li><a href="{{url_for('expression-data.index.index')}}" >Expression Data</a></li>
</ul>
</aside>
@@ -54,7 +55,14 @@
<h1>GN Uploader: {%block pagetitle%}{%endblock%}</h1>
<nav>
<ol class="breadcrumb">
- {%block breadcrumb%}{%endblock%}
+ <li {%if activelink is not defined or activelink=="home"%}
+ class="breadcrumb-item active"
+ {%else%}
+ class="breadcrumb-item"
+ {%endif%}>
+ <a href="{{url_for('base.index')}}">Home</a>
+ </li>
+ {%block breadcrumbs%}{%endblock%}
</ol>
</nav>
</div>