diff --git a/filed/static/dragndrop-form.js b/filed/static/dragndrop-form.js new file mode 100644 index 0000000..27033f4 --- /dev/null +++ b/filed/static/dragndrop-form.js @@ -0,0 +1,11 @@ +( + () => { + // display the js only text + document.getElementById('drag-n-drop-jsonly').style.display = 'initial'; + + const drag_rop = document.getElementsByClassName('file-drag-n-drop-inside')[0]; + const dr_rop_t = document.getElementsByClassName('file-drag-n-drop-inside-text')[0]; + + + } +)() \ No newline at end of file diff --git a/filed/templates/index.html b/filed/templates/index.html index 062f780..2308213 100644 --- a/filed/templates/index.html +++ b/filed/templates/index.html @@ -34,10 +34,16 @@
- Drag & drop your files here! + +
+