Changed download button to YAML link
This commit is contained in:
parent
a15e797ce4
commit
ba4599d4a3
1 changed files with 2 additions and 2 deletions
|
|
@ -100,8 +100,8 @@ function updateCaptureList(response) {
|
|||
<div class="capture-actions">
|
||||
<div class='capture-heading'>${element.metadata.filename}</div>
|
||||
<br>
|
||||
<button type="button" class="capture-button" onclick="window.open('${element_uri}/download', '_blank');">View</button>
|
||||
<button type="button" class="capture-button" onclick="window.open('${element_uri}/download?as_attachment=true');">Download</button>
|
||||
<button type="button" class="capture-button" onclick="window.open('${element_uri}/download');">Image</button>
|
||||
<button type="button" class="capture-button" onclick="window.open('${element_uri}/metadata');">Metadata</button>
|
||||
<br>
|
||||
<button type="button" class="capture-button" onclick="window.open('${element_uri}/', '_blank');">JSON</button>
|
||||
<button type="button" class="capture-button" onclick="deleteCapture('${element.metadata.id}');">Delete</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue