mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2024-12-21 19:08:24 +01:00
Fix: Missing multi-selection and Python validation (#1740)
Missing multi-selection and Python validation
This commit is contained in:
parent
382edc01f8
commit
90cbcde029
@ -18,6 +18,7 @@
|
|||||||
<span class="tool-header-text" th:text="#{pdfToImage.header}"></span>
|
<span class="tool-header-text" th:text="#{pdfToImage.header}"></span>
|
||||||
</div>
|
</div>
|
||||||
<p th:text="#{processTimeWarning}"></p>
|
<p th:text="#{processTimeWarning}"></p>
|
||||||
|
<p th:if="${!isPython}" th:text="#{pdfToImage.info}">Python is not installed. Required for WebP conversion.</p>
|
||||||
<form method="post" enctype="multipart/form-data" th:action="@{'/api/v1/convert/pdf/img'}">
|
<form method="post" enctype="multipart/form-data" th:action="@{'/api/v1/convert/pdf/img'}">
|
||||||
<div th:replace="~{fragments/common :: fileSelector(name='fileInput', multipleInputsForSingleRequest=false, accept='application/pdf')}"></div>
|
<div th:replace="~{fragments/common :: fileSelector(name='fileInput', multipleInputsForSingleRequest=false, accept='application/pdf')}"></div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
@ -28,7 +29,7 @@
|
|||||||
<option value="gif">GIF</option>
|
<option value="gif">GIF</option>
|
||||||
<option value="tiff">TIFF</option>
|
<option value="tiff">TIFF</option>
|
||||||
<option value="bmp">BMP</option>
|
<option value="bmp">BMP</option>
|
||||||
<option value="webp">WEPB</option>
|
<option th:if="${isPython}" value="webp">WEPB</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
|
Loading…
Reference in New Issue
Block a user