aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/static/main.js
diff options
context:
space:
mode:
authorPjotr Prins2020-07-19 11:30:28 +0100
committerPjotr Prins2020-07-19 11:30:28 +0100
commit20cbfb593e89b07d68e6c16106a24e79cea61329 (patch)
tree6f37a96a45a0d428ee157f9616096a04e681c656 /bh20simplewebuploader/static/main.js
parente4a89d13863517020bbe82293e52cea98418c983 (diff)
downloadbh20-seq-resource-20cbfb593e89b07d68e6c16106a24e79cea61329.tar.gz
bh20-seq-resource-20cbfb593e89b07d68e6c16106a24e79cea61329.tar.lz
bh20-seq-resource-20cbfb593e89b07d68e6c16106a24e79cea61329.zip
Moch XML output
Diffstat (limited to 'bh20simplewebuploader/static/main.js')
-rw-r--r--bh20simplewebuploader/static/main.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/bh20simplewebuploader/static/main.js b/bh20simplewebuploader/static/main.js
index 208823a..deda6ec 100644
--- a/bh20simplewebuploader/static/main.js
+++ b/bh20simplewebuploader/static/main.js
@@ -18,10 +18,13 @@ function toDIVTable(rows) {
else {
html = '<div class="rTable">';
rows.forEach(row => {
+ id = row['id'];
seq = row['seq'];
+ info = row['info'];
html += '<div class="rTableRow">';
- html += cell(row['id']);
+ html += cell('<a href="'+info+'">'+id+'</a>');
html += cell('<a href="'+seq+'">FASTA</a>');
+ html += cell('<a href="/api/ebi-sample.xml?id='+id+'">EBI/ENA export XML</a>');
html += '</div>';
});
html += '</div>';