Hide HTML for upload if `--no-upload` is specified.

This commit is contained in:
Alan Deutscher 2020-02-25 00:20:49 -08:00
parent 9ffc5a21a9
commit f176deda78
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@
</div>
</header>
{% if allow_upload %}
<!-- ----- Upload Form ----- -->
<div class="inputUploadP">
<form method="post" action="/upload" enctype="multipart/form-data" class="uploadForm">
@ -49,6 +50,7 @@
</p>
</form>
</div>
{% endif %}
{% if is_subdirectory %}
<section class="backBtn_p">