Fix: Left-align the submit button on each card for pdf operation (#1897)

This commit is contained in:
Aharnish Solanki 2024-09-14 16:35:26 -03:00 committed by GitHub
parent 909a3347a0
commit 2cfb553320
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 10 additions and 8 deletions

View file

@ -44,7 +44,9 @@
</div> </div>
<br> <br>
<canvas id="contrast-pdf-canvas"></canvas> <canvas id="contrast-pdf-canvas"></canvas>
<div class="mb-3 text-left">
<button id="download-button" class="btn btn-primary" th:text="#{adjustContrast.download}"></button> <button id="download-button" class="btn btn-primary" th:text="#{adjustContrast.download}"></button>
</div>
</div> </div>
</div> </div>

View file

@ -67,7 +67,7 @@
th:replace="~{fragments/common :: fileSelector(name='fileInput', multipleInputsForSingleRequest=true)}" th:replace="~{fragments/common :: fileSelector(name='fileInput', multipleInputsForSingleRequest=true)}"
></div> ></div>
</div> </div>
<div class="element-margin"> <div class="element-margin text-start">
<button <button
class="btn btn-primary" class="btn btn-primary"
id="submitConfigBtn" id="submitConfigBtn"

View file

@ -74,7 +74,7 @@
</div> </div>
</div> </div>
<br> <br>
<div class="mb-3 text-center"> <div class="mb-3 text-left">
<button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{addPassword.submit}"></button> <button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{addPassword.submit}"></button>
</div> </div>
</form> </form>

View file

@ -74,7 +74,7 @@
<label for="pageNumber" th:text="#{pageNum}"></label> <input type="number" class="form-control" id="pageNumber" name="pageNumber" min="1" disabled> <label for="pageNumber" th:text="#{pageNum}"></label> <input type="number" class="form-control" id="pageNumber" name="pageNumber" min="1" disabled>
</div> </div>
</div> </div>
<div class="mb-3 text-center"> <div class="mb-3 text-left">
<button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{certSign.submit}"></button> <button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{certSign.submit}"></button>
</div> </div>
</form> </form>

View file

@ -58,7 +58,7 @@
</div> </div>
</div> </div>
<br> <br>
<div class="mb-3 text-center"> <div class="mb-3 text-left">
<button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{permissions.submit}"></button> <button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{permissions.submit}"></button>
</div> </div>
</form> </form>

View file

@ -21,7 +21,7 @@
<label th:text="#{removeCertSign.selectPDF}"></label> <label th:text="#{removeCertSign.selectPDF}"></label>
<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> </div>
<div class="mb-3 text-center"> <div class="mb-3 text-left">
<button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{removeCertSign.submit}"></button> <button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{removeCertSign.submit}"></button>
</div> </div>
</form> </form>

View file

@ -26,7 +26,7 @@
<input type="password" class="form-control" id="password" name="password"> <input type="password" class="form-control" id="password" name="password">
</div> </div>
<br> <br>
<div class="mb-3 text-center"> <div class="mb-3 text-left">
<button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{removePassword.submit}"></button> <button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{removePassword.submit}"></button>
</div> </div>
</form> </form>

View file

@ -41,7 +41,7 @@
<label for="removeFonts" th:text="#{sanitizePDF.selectText.5}"></label> <label for="removeFonts" th:text="#{sanitizePDF.selectText.5}"></label>
</div> </div>
<br> <br>
<div class="mb-3 text-center"> <div class="mb-3 text-left">
<button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{sanitizePDF.submit}"></button> <button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{sanitizePDF.submit}"></button>
</div> </div>
</form> </form>