file uploading, now with the actual file
This commit is contained in:
parent
1ed6dc6185
commit
73d5962c5c
5 changed files with 21 additions and 17 deletions
|
@ -18,7 +18,7 @@
|
|||
const el = document.getElementById('doc-list');
|
||||
for (const doc of data) {
|
||||
let p = document.createElement('p');
|
||||
p.innerText = `${doc.artist} - ${doc.title} by ${doc.credit}`;
|
||||
p.innerHTML = `${doc.artist} - ${doc.title} by ${doc.credit} <a href="files/${doc.id}.zip">download</a>`;
|
||||
el.insertAdjacentElement('beforeend', p);
|
||||
|
||||
let charts = document.createElement('ul');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue