diff options
author | Frederick Muriuki Muriithi | 2025-02-24 16:11:41 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-02-24 16:34:43 -0600 |
commit | 1d83678908835bd0e1b97ec8de5eca404cbcda30 (patch) | |
tree | 6b81fa04e54054e1c3b4d12421bf862b1d923616 /uploader/templates/phenotypes | |
parent | 0821ba407adea8df12e2066e37de8b16290f4988 (diff) | |
download | gn-uploader-1d83678908835bd0e1b97ec8de5eca404cbcda30.tar.gz |
Provide a way to select phenotypes to edit.
Diffstat (limited to 'uploader/templates/phenotypes')
-rw-r--r-- | uploader/templates/phenotypes/view-dataset.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/uploader/templates/phenotypes/view-dataset.html b/uploader/templates/phenotypes/view-dataset.html index a3456ac..0341cae 100644 --- a/uploader/templates/phenotypes/view-dataset.html +++ b/uploader/templates/phenotypes/view-dataset.html @@ -66,6 +66,7 @@ <thead> <tr> <th></th> + <th>Index</th> <th>Record</th> <th>Description</th> </tr> @@ -96,6 +97,14 @@ }, data: data, columns: [ + { + data: function(pheno) { + return `<input type="checkbox" name="selected-phenotypes" ` + + `id="chk-selected-phenotypes-${pheno.InbredSetCode}_${pheno.xref_id}" ` + + `value="${pheno.InbredSetCode}_${pheno.xref_id}" ` + + `class="chk-row-select" />` + } + }, {data: "sequence_number"}, { data: function(pheno) { |