aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/species
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates/species')
-rw-r--r--uploader/templates/species/list-species.html30
-rw-r--r--uploader/templates/species/macro-display-species-card.html18
-rw-r--r--uploader/templates/species/macro-select-species.html4
-rw-r--r--uploader/templates/species/view-species.html5
4 files changed, 30 insertions, 27 deletions
diff --git a/uploader/templates/species/list-species.html b/uploader/templates/species/list-species.html
index 3f7acc5..85c9d40 100644
--- a/uploader/templates/species/list-species.html
+++ b/uploader/templates/species/list-species.html
@@ -29,31 +29,35 @@
<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>#</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">
+ 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["sequence_number"]}}</td>
<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>
diff --git a/uploader/templates/species/macro-display-species-card.html b/uploader/templates/species/macro-display-species-card.html
index 857c0f0..166c7b9 100644
--- a/uploader/templates/species/macro-display-species-card.html
+++ b/uploader/templates/species/macro-display-species-card.html
@@ -3,13 +3,19 @@
<div class="card-body">
<h5 class="card-title">Species</h5>
<div class="card-text">
- <dl>
- <dt>Common Name</dt>
- <dd>{{species.SpeciesName}}</dd>
+ <table class="table">
+ <tbody>
+ <tr>
+ <td>Common Name</td>
+ <td>{{species.SpeciesName}}</td>
+ </tr>
- <dt>Scientific Name</dt>
- <dd>{{species.FullName}}</dd>
- </dl>
+ <tr>
+ <td>Scientific Name</td>
+ <td>{{species.FullName}}</td>
+ </tr>
+ </tbody>
+ </table>
</div>
</div>
</div>
diff --git a/uploader/templates/species/macro-select-species.html b/uploader/templates/species/macro-select-species.html
index 3dbfc95..dd086c0 100644
--- a/uploader/templates/species/macro-select-species.html
+++ b/uploader/templates/species/macro-select-species.html
@@ -1,10 +1,8 @@
{%macro select_species_form(form_action, species)%}
{%if species | length > 0%}
<form method="GET" action="{{form_action}}">
- <legend>Select Species</legend>
-
<div class="form-group">
- <label for="select-species" class="form-label">Select Species</label>
+ <label for="select-species" class="form-label">Species</label>
<select id="select-species"
name="species_id"
class="form-control"
diff --git a/uploader/templates/species/view-species.html b/uploader/templates/species/view-species.html
index 6942168..b01864d 100644
--- a/uploader/templates/species/view-species.html
+++ b/uploader/templates/species/view-species.html
@@ -40,16 +40,11 @@
<ol>
<li>
- <a href="#"
- title="Upload genotypes for {{species.FullName}}">Upload Genotypes</a>
- </li>
- <li>
<a href="{{url_for('species.populations.list_species_populations',
species_id=species.SpeciesId)}}"
title="Create/Edit populations for {{species.FullName}}">
Manage populations</a>
</li>
- <li><a href="#" title="">any other action, perhaps &hellip;</a></li>
</ol>