aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-19 13:30:20 -0500
committerFrederick Muriuki Muriithi2024-09-19 13:30:20 -0500
commitf909cd13cadab9bd0bb6e816b6c6f492ab18f28a (patch)
tree612e676d95ac2ee4a0a4c765338ed73c30b674ad /uploader/templates
parentfc99a1700007e8a1b71e07455c57f8692aad2a59 (diff)
downloadgn-uploader-f909cd13cadab9bd0bb6e816b6c6f492ab18f28a.tar.gz
List genotype datasets
Diffstat (limited to 'uploader/templates')
-rw-r--r--uploader/templates/genotypes/list-genotypes.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/uploader/templates/genotypes/list-genotypes.html b/uploader/templates/genotypes/list-genotypes.html
index 31b9eeb..8afd591 100644
--- a/uploader/templates/genotypes/list-genotypes.html
+++ b/uploader/templates/genotypes/list-genotypes.html
@@ -104,6 +104,26 @@
{%if datasets | length > 0%}
<table class="table">
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Full Name</th>
+ </tr>
+ </thead>
+
+ <tbody>
+ {%for dataset in datasets%}
+ <tr>
+ <td>{{dataset.Name}}</td>
+ <td><a href="{{url_for('species.populations.genotypes.view_dataset',
+ species_id=species.SpeciesId,
+ population_id=population.Id,
+ dataset_id=dataset.Id)}}"
+ title="View details regarding and manage dataset '{{dataset.FullName}}'">
+ {{dataset.FullName}}</a></td>
+ </tr>
+ {%endfor%}
+ </tbody>
</table>
{%else%}
<p class="text-warning">