diff options
author | Frederick Muriuki Muriithi | 2024-09-17 12:46:31 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-17 12:47:58 -0500 |
commit | 7e54ea61c374e15df31c41c1ca87a001acd85242 (patch) | |
tree | 7fa48f39cbb99671dc31aa0033bb3e0cc11e2695 /uploader/templates | |
parent | 879fbc4d6086860e2de76a4f74509a1bb8642af5 (diff) | |
download | gn-uploader-7e54ea61c374e15df31c41c1ca87a001acd85242.tar.gz |
UI Improvements: Enumerate data in tables.
Diffstat (limited to 'uploader/templates')
-rw-r--r-- | uploader/templates/populations/list-populations.html | 2 | ||||
-rw-r--r-- | uploader/templates/samples/list-samples.html | 2 | ||||
-rw-r--r-- | uploader/templates/species/list-species.html | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/uploader/templates/populations/list-populations.html b/uploader/templates/populations/list-populations.html index c83c18c..7c7145f 100644 --- a/uploader/templates/populations/list-populations.html +++ b/uploader/templates/populations/list-populations.html @@ -51,6 +51,7 @@ <caption>Populations for {{species.FullName}}</caption> <thead> <tr> + <th>#</th> <th>Name</th> <th>Full Name</th> <th>Description</th> @@ -60,6 +61,7 @@ <tbody> {%for population in populations%} <tr> + <td>{{population["sequence_number"]}}</td> <td> <a href="{{url_for('species.populations.view_population', species_id=species.SpeciesId, diff --git a/uploader/templates/samples/list-samples.html b/uploader/templates/samples/list-samples.html index f82d72e..13e5cec 100644 --- a/uploader/templates/samples/list-samples.html +++ b/uploader/templates/samples/list-samples.html @@ -73,6 +73,7 @@ <table class="table"> <thead> <tr> + <th>#</th> <th>Name</th> <th>Auxilliary Name</th> <th>Symbol</th> @@ -83,6 +84,7 @@ <tbody> {%for sample in samples%} <tr> + <td>{{sample.sequence_number}}</td> <td>{{sample.Name}}</td> <td>{{sample.Name2}}</td> <td>{{sample.Symbol or "-"}}</td> diff --git a/uploader/templates/species/list-species.html b/uploader/templates/species/list-species.html index d3dae7f..85c9d40 100644 --- a/uploader/templates/species/list-species.html +++ b/uploader/templates/species/list-species.html @@ -29,6 +29,7 @@ <caption>Available Species</caption> <thead> <tr> + <th>#</td> <th title="A common, layman's name for the species.">Common Name</th> <th title="The scientific name for the species">Organism Name</th> <th title="An identifier for the species in the NCBI taxonomy database"> @@ -42,6 +43,7 @@ <tbody> {%for species in allspecies%} <tr> + <td>{{species["sequence_number"]}}</td> <td>{{species["SpeciesName"]}}</td> <td> <a href="{{url_for('species.view_species', |