aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/phenotypes/view-dataset.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-10-10 16:18:52 -0500
committerFrederick Muriuki Muriithi2024-10-10 16:30:43 -0500
commit4f994b79ecee851ea1cd0fa0699ee822c8884bc4 (patch)
tree5250f3a9b9b4a0b7fab8ae919167562b5048d654 /uploader/templates/phenotypes/view-dataset.html
parent71b79a670cf59a517f9c0bc4f6f11894c2a5d44d (diff)
downloadgn-uploader-4f994b79ecee851ea1cd0fa0699ee822c8884bc4.tar.gz
Build UI to add new phenotypes.
Build the UI and set up styling. This is not working currently.
Diffstat (limited to 'uploader/templates/phenotypes/view-dataset.html')
-rw-r--r--uploader/templates/phenotypes/view-dataset.html14
1 files changed, 10 insertions, 4 deletions
diff --git a/uploader/templates/phenotypes/view-dataset.html b/uploader/templates/phenotypes/view-dataset.html
index 5a17755..b136bb6 100644
--- a/uploader/templates/phenotypes/view-dataset.html
+++ b/uploader/templates/phenotypes/view-dataset.html
@@ -37,10 +37,7 @@
<tbody>
<tr>
- <td><a href="{{url_for('species.populations.phenotypes.view_dataset',
- species_id=species.SpeciesId,
- population_id=population.Id,
- dataset_id=dataset.Id)}}">{{dataset.Name}}</a></td>
+ <td>{{dataset.Name}}</td>
<td>{{dataset.FullName}}</td>
<td>{{dataset.ShortName}}</td>
</tr>
@@ -49,6 +46,15 @@
</div>
<div class="row">
+ <p><a href="{{url_for('species.populations.phenotypes.add_phenotypes',
+ species_id=species.SpeciesId,
+ population_id=population.Id,
+ dataset_id=dataset.Id)}}"
+ title="Add a bunch of phenotypes"
+ class="btn btn-primary">Add phenotypes</a></p>
+</div>
+
+<div class="row">
<h2>Phenotype Data</h2>
<p>This dataset has a total of {{phenotype_count}} phenotypes.</p>