FEAT: drag & drop uploads #7

Manually merged
arian merged 4 commits from dropzone into main 2026-03-06 11:02:55 +00:00
Showing only changes of commit 090676d82e - Show all commits
+11 -5
View File
@@ -9,10 +9,16 @@
<link rel="stylesheet" href="{{ url_for('static', filename='css/dropzone.min.css') }}" type="text/css" /> <link rel="stylesheet" href="{{ url_for('static', filename='css/dropzone.min.css') }}" type="text/css" />
</head> </head>
<body> <body>
<h1>Upload new File</h1> <h1>Drag & drop files here or <b>browse</b></h1>
<form method=post enctype=multipart/form-data> <script>
<input type=file name=file multiple> Dropzone.options.myDropzone = {
<input type=submit value=Upload> parallelUploads: 2,
</form> uploadMultiple: true,
acceptedFiles: 'audio/*'
};
</script>
<form action="/"
class="dropzone"
id="my-dropzone"></form>
</body> </body>
</html> </html>