Skip to content

Commit

Permalink
Fix: Missing multi-selection and Python validation (Stirling-Tools#1740)
Browse files Browse the repository at this point in the history
Missing multi-selection and Python validation
  • Loading branch information
Ludy87 authored Aug 23, 2024
1 parent 382edc0 commit 90cbcde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/resources/templates/convert/pdf-to-img.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<span class="tool-header-text" th:text="#{pdfToImage.header}"></span>
</div>
<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'}">
<div th:replace="~{fragments/common :: fileSelector(name='fileInput', multipleInputsForSingleRequest=false, accept='application/pdf')}"></div>
<div class="mb-3">
Expand All @@ -28,7 +29,7 @@
<option value="gif">GIF</option>
<option value="tiff">TIFF</option>
<option value="bmp">BMP</option>
<option value="webp">WEPB</option>
<option th:if="${isPython}" value="webp">WEPB</option>
</select>
</div>
<div class="mb-3">
Expand Down

0 comments on commit 90cbcde

Please sign in to comment.