mirror of
https://codeberg.org/scip/ephemerup.git
synced 2025-12-19 13:31:03 +01:00
Added mail notification support
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
<!-- File upload form -->
|
||||
<div class="col-lg-12">
|
||||
<form id="UploadForm" enctype="multipart/form-data" action="/v1/uploads" method="POST">
|
||||
<input name="expire" value="asap" type="hidden"/>
|
||||
<div class="mb-3 row">
|
||||
<p>
|
||||
Use this form to upload one or more files. The creator of the form will automatically get notified.
|
||||
@@ -72,8 +71,8 @@
|
||||
$('.statusMsg').html('');
|
||||
if(response.success){
|
||||
$('#UploadForm')[0].reset();
|
||||
$('.statusMsg').html('<p class="alert alert-success">Your upload is available at <a href="'
|
||||
+response.uploads[0].url+'">here</a> for download</p>');
|
||||
$('.statusMsg').html('<p class="alert alert-success">Your upload is available at <code>'
|
||||
+response.uploads[0].url+'</code> for download</p>');
|
||||
$('#UploadForm').hide();
|
||||
}else{
|
||||
$('.statusMsg').html('<p class="alert alert-danger">'+response.message+'</p>');
|
||||
|
||||
Reference in New Issue
Block a user