mirror of
https://codeberg.org/scip/ephemerup.git
synced 2025-12-17 20:50:56 +01:00
Changes:
- had to add a Type field to interface DbEntry so that db.List() is able to distinguish between Upload and Form properly. - added form describe and delete commands - added --query parameter to form+upload list for filtering
This commit is contained in:
@@ -78,8 +78,8 @@ const formtemplate = `
|
||||
$('.statusMsg').html('');
|
||||
if(response.success){
|
||||
$('#UploadForm')[0].reset();
|
||||
$('.statusMsg').html('<p class="alert alert-success">Your upload is available at <code>'
|
||||
+response.uploads[0].url+'</code> for download</p>');
|
||||
$('.statusMsg').html('<p class="alert alert-success">Your upload is available for download.<!-- '
|
||||
+response.uploads[0].url+' -->');
|
||||
$('#UploadForm').hide();
|
||||
}else{
|
||||
$('.statusMsg').html('<p class="alert alert-danger">'+response.message+'</p>');
|
||||
|
||||
Reference in New Issue
Block a user