diff options
author | Frederick Muriuki Muriithi | 2024-09-17 12:06:04 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-17 12:47:38 -0500 |
commit | 879fbc4d6086860e2de76a4f74509a1bb8642af5 (patch) | |
tree | 1728dc63bc2317745278bb3d1d9c465f19362905 /uploader/templates | |
parent | cab7e21b10ed19ae59897021ba645d2b944a5423 (diff) | |
download | gn-uploader-879fbc4d6086860e2de76a4f74509a1bb8642af5.tar.gz |
UI Improvements: Species
- Remove redundant information
- Rename "Scientific Name" to "Organism Name"
- Add helpful tooltip text to elements
- Rename "TaxonId" to "Taxonomy ID"
Diffstat (limited to 'uploader/templates')
-rw-r--r-- | uploader/templates/species/list-species.html | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/uploader/templates/species/list-species.html b/uploader/templates/species/list-species.html index 3f7acc5..d3dae7f 100644 --- a/uploader/templates/species/list-species.html +++ b/uploader/templates/species/list-species.html @@ -29,31 +29,33 @@ <caption>Available Species</caption> <thead> <tr> - <th>Common Name</th> - <th>Scientific Name</th> - <th>TaxonId</th> - <th>Family / Grouping</th> - <th>Use</th> + <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"> + Taxonomy ID + </th> + <th title="A generic grouping used internally by GeneNetwork for organising species."> + Family + </th> </tr> </thead> <tbody> {%for species in allspecies%} <tr> <td>{{species["SpeciesName"]}}</td> - <td>{{species["FullName"]}}</td> + <td> + <a href="{{url_for('species.view_species', + species_id=species['SpeciesId'])}}" + title="View details in GeneNetwork on {{species['FullName']}}"> + {{species["FullName"]}} + </a> + </td> <td> <a href="https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?id={{species['TaxonomyId']}}" title="View species details on NCBI" target="_blank">{{species["TaxonomyId"]}}</a> </td> <td>{{species.Family}}</td> - <td> - <a href="{{url_for('species.view_species', - species_id=species['SpeciesId'])}}" - title=""> - {{species["SpeciesName"]}} ({{species["FullName"]}}) - </a> - </td> </tr> {%else%} <tr> |