We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d0691c commit 24c1fbfCopy full SHA for 24c1fbf
templates/pages/file-manager.html
@@ -59,6 +59,16 @@
59
</ul>
60
</div>
61
<div class="col-lg-9 border py-2">
62
+ <div class="d-flex justify-content-end mb-3">
63
+ <label for="fileInput">
64
+ <i class="fa-solid fa-upload text-primary fs-3"></i>
65
+ </label>
66
+ <form method="post" action="{% url 'upload_file' %}" id="upload-file" enctype="multipart/form-data">
67
+ {% csrf_token %}
68
+ <input type="hidden" name="directory" value="{{ selected_directory }}">
69
+ <input id="fileInput" class="d-none" onchange="submitForm()" type="file" name="file" required>
70
+ </form>
71
+ </div>
72
{% if files %}
73
<div class="table-responsive">
74
<table class="table">
0 commit comments