diff options
Diffstat (limited to 'bh20simplewebuploader/static')
-rw-r--r-- | bh20simplewebuploader/static/main.js | 5 |
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>'; |