2023-03-20 22:55:11 +01:00
< div th:fragment = "navbar" class = "mx-auto" >
2023-06-02 21:15:10 +02:00
< script src = "js/languageSelection.js" > < / script >
2023-03-20 22:55:11 +01:00
< script th:inline = "javascript" >
2023-06-02 21:15:10 +02:00
const currentVersion = /*[[${@appVersion}]]*/ '';
const noFavourites = /*[[#{noFavourites}]]*/ '';
2023-03-20 22:55:11 +01:00
< / script >
2023-06-02 21:15:10 +02:00
< script th:src = "@{/js/githubVersion.js}" > < / script >
2023-03-20 22:55:11 +01:00
2023-06-02 00:12:55 +02:00
< link rel = "stylesheet" href = "css/navbar.css" >
2023-03-20 22:55:11 +01:00
< nav class = "navbar navbar-expand-lg navbar-light bg-light" >
< div class = "container " >
2023-04-21 19:03:36 +02:00
< a class = "navbar-brand" href = "#" th:href = "@{/}" >
2023-07-04 22:45:35 +02:00
< img class = "main-icon" src = "favicon.svg" alt = "icon" >
2023-04-21 19:03:36 +02:00
< span class = "icon-text" th:text = "${@navBarText}" > < / span >
< / a >
2023-03-20 22:55:11 +01:00
2023-04-21 19:03:36 +02:00
2023-03-20 22:55:11 +01:00
< button class = "navbar-toggler" type = "button" data-toggle = "collapse" data-target = "#navbarNav" aria-controls = "navbarNav" aria-expanded = "false" aria-label = "Toggle navigation" >
< span class = "navbar-toggler-icon" > < / span >
< / button >
< div class = "collapse navbar-collapse" id = "navbarNav" >
< ul class = "navbar-nav mr-auto flex-nowrap" >
2023-04-21 14:13:35 +02:00
< li class = "nav-item" >
2023-04-26 22:54:12 +02:00
< a class = "nav-link" href = "#" th:href = "@{multi-tool}" th:classappend = "${currentPage}=='multi-tool' ? 'active' : ''" th:title = "#{home.multiTool.desc}" >
2023-04-22 01:08:36 +02:00
< img class = "icon" src = "images/tools.svg" alt = "icon" >
2023-04-21 14:13:35 +02:00
< span class = "icon-text" th:text = "#{home.multiTool.title}" > < / span >
< / a >
2023-04-18 04:13:09 +02:00
< / li >
2023-07-02 00:40:17 +02:00
<!-- <li class="nav - item">
2023-06-21 22:19:52 +02:00
< a class = "nav-link" href = "#" th:href = "@{pipeline}" th:classappend = "${currentPage}=='pipeline' ? 'active' : ''" th:title = "#{home.pipeline.desc}" >
< img class = "icon" src = "images/pipeline.svg" alt = "icon" >
< span class = "icon-text" th:text = "#{home.pipeline.title}" > < / span >
< / a >
2023-07-02 00:40:17 +02:00
< / li > -->
2023-06-21 22:19:52 +02:00
2023-04-21 14:13:35 +02:00
< li class = "nav-item nav-item-separator" > < / li >
2023-08-06 13:34:26 +02:00
< li class = "nav-item dropdown" th:classappend = "${currentPage}=='remove-pages' OR ${currentPage}=='merge-pdfs' OR ${currentPage}=='split-pdfs' OR ${currentPage}=='crop' OR ${currentPage}=='adjust-contrast' OR ${currentPage}=='pdf-organizer' OR ${currentPage}=='rotate-pdf' OR ${currentPage}=='multi-page-layout' OR ${currentPage}=='scale-pages' OR ${currentPage}=='auto-split-pdf' OR ${currentPage}=='extract-page' OR ${currentPage}=='pdf-to-single-page' ? 'active' : ''" >
2023-04-21 14:13:35 +02:00
< a class = "nav-link dropdown-toggle" href = "#" id = "navbarDropdown" role = "button" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2023-04-22 01:08:36 +02:00
< img class = "icon" src = "images/file-earmark-pdf.svg" alt = "icon" >
2023-04-21 17:59:59 +02:00
< span class = "icon-text" th:text = "#{navbar.pageOps}" > < / span >
2023-04-21 14:13:35 +02:00
< / a >
< div class = "dropdown-menu" aria-labelledby = "navbarDropdown" >
<!-- Existing menu items -->
2023-07-24 00:05:02 +02:00
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('merge-pdfs', 'images/union.svg', 'home.merge.title', 'home.merge.desc', 'merge.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('split-pdfs', 'images/layout-split.svg', 'home.split.title', 'home.split.desc', 'split.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ( 'pdf-organizer', 'images/sort-numeric-down.svg', 'home.pdfOrganiser.title', 'home.pdfOrganiser.desc', 'pdfOrganiser.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ( 'rotate-pdf', 'images/arrow-clockwise.svg', 'home.rotate.title', 'home.rotate.desc', 'rotate.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ( 'remove-pages', 'images/file-earmark-x.svg', 'home.removePages.title', 'home.removePages.desc', 'removePages.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ( 'multi-page-layout', 'images/page-layout.svg', 'home.pageLayout.title', 'home.pageLayout.desc', 'pageLayout.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ( 'scale-pages', 'images/scale-pages.svg', 'home.scalePages.title', 'home.scalePages.desc', 'scalePages.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ( 'auto-split-pdf', 'images/layout-split.svg', 'home.autoSplitPDF.title', 'home.autoSplitPDF.desc', 'autoSplitPDF.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('adjust-contrast', 'images/adjust-contrast.svg', 'home.adjust-contrast.title', 'home.adjust-contrast.desc', 'adjust-contrast.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('crop', 'images/crop.svg', 'home.crop.title', 'home.crop.desc', 'crop.tags')}" > < / div >
2023-08-06 00:03:49 +02:00
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('extract-page', 'images/extract.svg', 'home.extractPage.title', 'home.extractPage.desc', 'extractPage.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('pdf-to-single-page', 'images/single-page.svg', 'home.PdfToSinglePage.title', 'home.PdfToSinglePage.desc', 'PdfToSinglePage.tags')}" > < / div >
2023-07-15 12:39:10 +02:00
2023-05-27 15:23:25 +02:00
2023-04-21 14:13:35 +02:00
< / div >
< / li >
< li class = "nav-item nav-item-separator" > < / li >
2023-04-16 23:03:30 +02:00
< li class = "nav-item dropdown" th:classappend = "${currentPage}=='pdf-to-img' OR ${currentPage}=='img-to-pdf' OR ${currentPage}=='pdf-to-pdfa' OR ${currentPage}=='file-to-pdf' OR ${currentPage}=='xlsx-to-pdf' OR ${currentPage}=='pdf-to-word' OR ${currentPage}=='pdf-to-presentation' OR ${currentPage}=='pdf-to-text' OR ${currentPage}=='pdf-to-html' OR ${currentPage}=='pdf-to-xml' ? 'active' : ''" > < a class = "nav-link dropdown-toggle" href = "#" id = "navbarDropdown" role = "button" data-toggle = "dropdown"
2023-04-21 14:13:35 +02:00
aria-haspopup="true" aria-expanded="false">
2023-04-22 01:08:36 +02:00
< img class = "icon" src = "images/arrow-left-right.svg" alt = "icon" style = "width: 16px; height: 16px; vertical-align: middle;" >
2023-04-21 17:59:59 +02:00
< span class = "icon-text" th:text = "#{navbar.convert}" > < / span >
2023-04-21 14:13:35 +02:00
< / a >
2023-03-20 22:55:11 +01:00
< div class = "dropdown-menu" aria-labelledby = "navbarDropdown" >
2023-04-16 23:03:30 +02:00
<!-- Existing menu items -->
2023-07-24 00:05:02 +02:00
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('img-to-pdf', 'images/image.svg', 'home.imageToPdf.title', 'home.imageToPdf.desc', 'imageToPdf.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('file-to-pdf', 'images/file.svg', 'home.fileToPDF.title', 'home.fileToPDF.desc', 'fileToPDF.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('html-to-pdf', 'images/html.svg', 'home.HTMLToPDF.title', 'home.HTMLToPDF.desc', 'HTMLToPDF.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('url-to-pdf', 'images/url.svg', 'home.URLToPDF.title', 'home.URLToPDF.desc', 'URLToPDF.tags')}" > < / div >
2023-08-06 00:03:49 +02:00
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('markdown-to-pdf', 'images/markdown.svg', 'home.MarkdownToPDF.title', 'home.MarkdownToPDF.desc', 'MarkdownToPDF.tags')}" > < / div >
2023-05-16 23:44:53 +02:00
< hr class = "dropdown-divider" >
2023-07-24 00:05:02 +02:00
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('pdf-to-img', 'images/image.svg', 'home.pdfToImage.title', 'home.pdfToImage.desc', 'pdfToImage.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('pdf-to-word', 'images/file-earmark-word.svg', 'home.PDFToWord.title', 'home.PDFToWord.desc', 'PDFToWord.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('pdf-to-presentation', 'images/file-earmark-ppt.svg', 'home.PDFToPresentation.title', 'home.PDFToPresentation.desc', 'PDFToPresentation.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('pdf-to-text', 'images/filetype-txt.svg', 'home.PDFToText.title', 'home.PDFToText.desc', 'PDFToText.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('pdf-to-html', 'images/filetype-html.svg', 'home.PDFToHTML.title', 'home.PDFToHTML.desc', 'PDFToHTML.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('pdf-to-xml', 'images/filetype-xml.svg', 'home.PDFToXML.title', 'home.PDFToXML.desc', 'PDFToXML.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('pdf-to-pdfa', 'images/file-earmark-pdf.svg', 'home.pdfToPDFA.title', 'home.pdfToPDFA.desc', 'pdfToPDFA.tags')}" > < / div >
2023-05-16 23:44:53 +02:00
2023-04-21 14:13:35 +02:00
2023-04-18 11:52:38 +02:00
2023-03-20 22:55:11 +01:00
< / div >
< / li >
2023-04-21 14:13:35 +02:00
< li class = "nav-item nav-item-separator" > < / li >
2023-03-20 22:55:11 +01:00
2023-08-06 13:34:26 +02:00
< li class = "nav-item dropdown" th:classappend = "${currentPage}=='add-password' OR ${currentPage}=='remove-password' OR ${currentPage}=='add-watermark' OR ${currentPage}=='cert-sign' OR ${currentPage}=='sanitize-pdf' ? 'active' : ''" >
2023-04-21 14:13:35 +02:00
< a class = "nav-link dropdown-toggle" href = "#" id = "navbarDropdown" role = "button" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2023-04-22 01:08:36 +02:00
< img class = "icon" src = "images/shield-check.svg" alt = "icon" style = "width: 16px; height: 16px; vertical-align: middle;" > < span class = "icon-text" th:text = "#{navbar.security}" > < / span >
2023-04-21 14:13:35 +02:00
< / a >
< div class = "dropdown-menu" aria-labelledby = "navbarDropdown" >
2023-07-24 00:05:02 +02:00
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('add-password', 'images/lock.svg', 'home.addPassword.title', 'home.addPassword.desc', 'addPassword.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('remove-password', 'images/unlock.svg', 'home.removePassword.title', 'home.removePassword.desc', 'removePassword.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('change-permissions', 'images/shield-lock.svg', 'home.permissions.title', 'home.permissions.desc', 'permissions.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('add-watermark', 'images/droplet.svg', 'home.watermark.title', 'home.watermark.desc', 'watermark.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('cert-sign', 'images/award.svg', 'home.certSign.title', 'home.certSign.desc', 'certSign.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('sanitize-pdf', 'images/sanitize.svg', 'home.sanitizePdf.title', 'home.sanitizePdf.desc', 'sanitizePdf.tags')}" > < / div >
2023-08-06 13:34:26 +02:00
2023-04-21 14:13:35 +02:00
< / div >
< / li >
< li class = "nav-item nav-item-separator" > < / li >
2023-08-06 22:56:02 +02:00
< li class = "nav-item dropdown" th:classappend = "${currentPage}=='sign' OR ${currentPage}=='repair' OR ${currentPage}=='compare' OR ${currentPage}=='show-javascript' OR ${currentPage}=='flatten' OR ${currentPage}=='remove-blanks' OR ${currentPage}=='extract-image-scans' OR ${currentPage}=='change-metadata' OR ${currentPage}=='add-image' OR ${currentPage}=='ocr-pdf' OR ${currentPage}=='change-permissions' OR ${currentPage}=='extract-images' OR ${currentPage}=='compress-pdf' OR ${currentPage}=='add-page-numbers' OR ${currentPage}=='auto-rename' OR ${currentPage}=='get-info-on-pdf' ? 'active' : ''" >
2023-04-21 20:58:07 +02:00
< a class = "nav-link dropdown-toggle" href = "#" id = "navbarDropdown" role = "button" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2023-04-22 01:08:36 +02:00
< img class = "icon" src = "images/card-list.svg" alt = "icon" style = "width: 16px; height: 16px; vertical-align: middle;" >
2023-04-21 20:58:07 +02:00
< span class = "icon-text" th:text = "#{navbar.other}" > < / span >
< / a >
2023-03-20 22:55:11 +01:00
< div class = "dropdown-menu" aria-labelledby = "navbarDropdown" >
2023-07-24 00:05:02 +02:00
<!-- <div th:replace="~{fragments/navbarEntry :: navbarEntry ('pipeline', 'images/pipeline.svg', 'home.pipeline.title', 'home.pipeline.desc', 'pipeline.tags')}"></div> -->
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('ocr-pdf', 'images/search.svg', 'home.ocr.title', 'home.ocr.desc', 'ocr.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('add-image', 'images/file-earmark-richtext.svg', 'home.addImage.title', 'home.addImage.desc', 'addImage.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('compress-pdf', 'images/file-zip.svg', 'home.compressPdfs.title', 'home.compressPdfs.desc', 'compressPdfs.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('extract-images', 'images/images.svg', 'home.extractImages.title', 'home.extractImages.desc', 'extractImages.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('change-metadata', 'images/clipboard-data.svg', 'home.changeMetadata.title', 'home.changeMetadata.desc', 'changeMetadata.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('extract-image-scans', 'images/scanner.svg', 'home.ScannerImageSplit.title', 'home.ScannerImageSplit.desc', 'ScannerImageSplit.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('sign', 'images/sign.svg', 'home.sign.title', 'home.sign.desc', 'sign.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('flatten', 'images/flatten.svg', 'home.flatten.title', 'home.flatten.desc', 'flatten.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('repair', 'images/wrench.svg', 'home.repair.title', 'home.repair.desc', 'repair.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('remove-blanks', 'images/blank-file.svg', 'home.removeBlanks.title', 'home.removeBlanks.desc', 'removeBlanks.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('compare', 'images/scales.svg', 'home.compare.title', 'home.compare.desc', 'compare.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('add-page-numbers', 'images/add-page-numbers.svg', 'home.add-page-numbers.title', 'home.add-page-numbers.desc', 'add-page-numbers.tags')}" > < / div >
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('auto-rename', 'images/fonts.svg', 'home.auto-rename.title', 'home.auto-rename.desc', 'auto-rename.tags')}" > < / div >
2023-08-06 13:34:26 +02:00
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('get-info-on-pdf', 'images/info.svg', 'home.getPdfInfo.title', 'home.getPdfInfo.desc', 'getPdfInfo.tags')}" > < / div >
2023-08-06 22:56:02 +02:00
< div th:replace = "~{fragments/navbarEntry :: navbarEntry ('show-javascript', 'images/js.svg', 'home.showJS.title', 'home.showJS.desc', 'showJS.tags')}" > < / div >
2023-03-20 22:55:11 +01:00
< / div >
< / li >
2023-04-21 14:13:35 +02:00
< / ul >
< ul class = "navbar-nav ml-auto flex-nowrap" >
2023-05-12 19:16:47 +02:00
< li class = "nav-item dropdown" >
< a class = "nav-link dropdown-toggle" href = "#" id = "navbarDropdown" role = "button" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
< img class = "navbar-icon" src = "images/star.svg" alt = "icon" width = "24" height = "24" >
< / a >
< div class = "dropdown-menu" id = "favoritesDropdown" aria-labelledby = "navbarDropdown" >
<!-- Dropdown items will be added here by JavaScript -->
< / div >
< / li >
2023-04-21 18:50:59 +02:00
< li class = "nav-item" >
< a class = "nav-link" id = "dark-mode-toggle" href = "#" >
2023-04-22 01:08:36 +02:00
< img class = "navbar-icon" id = "dark-mode-icon" src = "moon.svg" alt = "icon" / >
2023-04-21 18:50:59 +02:00
< / a >
< / li >
2023-04-17 00:41:56 +02:00
2023-03-20 22:55:11 +01:00
< li class = "nav-item dropdown" >
< a class = "nav-link dropdown-toggle" href = "#" id = "languageDropdown" role = "button" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
< svg xmlns = "http://www.w3.org/2000/svg" width = "20" height = "20" fill = "currentColor" class = "bi bi-globe2" viewBox = "0 0 20 20" >
< path d = "M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855-.143.268-.276.56-.395.872.705.157 1.472.257 2.282.287V1.077zM4.249 3.539c.142-.384.304-.744.481-1.078a6.7 6.7 0 0 1 .597-.933A7.01 7.01 0 0 0 3.051 3.05c.362.184.763.349 1.198.49zM3.509 7.5c.036-1.07.188-2.087.436-3.008a9.124 9.124 0 0 1-1.565-.667A6.964 6.964 0 0 0 1.018 7.5h2.49zm1.4-2.741a12.344 12.344 0 0 0-.4 2.741H7.5V5.091c-.91-.03-1.783-.145-2.591-.332zM8.5 5.09V7.5h2.99a12.342 12.342 0 0 0-.399-2.741c-.808.187-1.681.301-2.591.332zM4.51 8.5c.035.987.176 1.914.399 2.741A13.612 13.612 0 0 1 7.5 10.91V8.5H4.51zm3.99 0v2.409c.91.03 1.783.145 2.591.332.223-.827.364-1.754.4-2.741H8.5zm-3.282 3.696c.12.312.252.604.395.872.552 1.035 1.218 1.65 1.887 1.855V11.91c-.81.03-1.577.13-2.282.287zm.11 2.276a6.696 6.696 0 0 1-.598-.933 8.853 8.853 0 0 1-.481-1.079 8.38 8.38 0 0 0-1.198.49 7.01 7.01 0 0 0 2.276 1.522zm-1.383-2.964A13.36 13.36 0 0 1 3.508 8.5h-2.49a6.963 6.963 0 0 0 1.362 3.675c.47-.258.995-.482 1.565-.667zm6.728 2.964a7.009 7.009 0 0 0 2.275-1.521 8.376 8.376 0 0 0-1.197-.49 8.853 8.853 0 0 1-.481 1.078 6.688 6.688 0 0 1-.597.933zM8.5 11.909v3.014c.67-.204 1.335-.82 1.887-1.855.143-.268.276-.56.395-.872A12.63 12.63 0 0 0 8.5 11.91zm3.555-.401c.57.185 1.095.409 1.565.667A6.963 6.963 0 0 0 14.982 8.5h-2.49a13.36 13.36 0 0 1-.437 3.008zM14.982 7.5a6.963 6.963 0 0 0-1.362-3.675c-.47.258-.995.482-1.565.667.248.92.4 1.938.437 3.008h2.49zM11.27 2.461c.177.334.339.694.482 1.078a8.368 8.368 0 0 0 1.196-.49 7.01 7.01 0 0 0-2.275-1.52c.218.283.418.597.597.932zm-.488 1.343a7.765 7.765 0 0 0-.395-.872C9.835 1.897 9.17 1.282 8.5 1.077V4.09c.81-.03 1.577-.13 2.282-.287z" / >
< / svg >
< / a >
< div class = "dropdown-menu" aria-labelledby = "languageDropdown" >
2023-04-21 14:13:35 +02:00
< a class = "dropdown-item lang_dropdown-item" href = "" data-language-code = "ar_AR" >
2023-05-10 20:01:05 +02:00
< img src = "images/flags/sa.svg" alt = "icon" width = "20" height = "15" > العربية
2023-04-21 14:13:35 +02:00
< / a >
2023-05-17 18:59:28 +02:00
< a class = "dropdown-item lang_dropdown-item" href = "" data-language-code = "ca_CA" >
< img src = "images/flags/es-ct.svg" alt = "icon" width = "20" height = "15" > Català
< / a >
< a class = "dropdown-item lang_dropdown-item" href = "" data-language-code = "zh_CN" >
< img src = "images/flags/cn.svg" alt = "icon" width = "20" height = "15" > 简体中文
< / a >
2023-04-21 14:13:35 +02:00
< a class = "dropdown-item lang_dropdown-item" href = "" data-language-code = "de_DE" >
2023-05-10 20:01:05 +02:00
< img src = "images/flags/de.svg" alt = "icon" width = "20" height = "15" > Deutsch
2023-04-21 14:13:35 +02:00
< / a >
2023-05-17 18:59:28 +02:00
< a class = "dropdown-item lang_dropdown-item" href = "" data-language-code = "en_GB" >
< img src = "images/flags/gb.svg" alt = "icon" width = "20" height = "15" > English
2023-04-21 14:13:35 +02:00
< / a >
2023-06-20 14:44:37 +02:00
< a class = "dropdown-item lang_dropdown-item" href = "" data-language-code = "eu_ES" >
2023-06-21 11:10:50 +02:00
< img src = "images/flags/eu.svg" alt = "icon" width = "20" height = "15" > Euskara
2023-06-20 14:44:37 +02:00
< / a >
< a class = "dropdown-item lang_dropdown-item" href = "" data-language-code = "es_ES" >
2023-05-10 20:01:05 +02:00
< img src = "images/flags/es.svg" alt = "icon" width = "20" height = "15" > Español
2023-04-21 14:13:35 +02:00
< / a >
2023-05-17 18:59:28 +02:00
< a class = "dropdown-item lang_dropdown-item" href = "" data-language-code = "fr_FR" >
< img src = "images/flags/fr.svg" alt = "icon" width = "20" height = "15" > Français
< / a >
2023-05-14 11:51:46 +02:00
< a class = "dropdown-item lang_dropdown-item" href = "" data-language-code = "it_IT" >
< img src = "images/flags/it.svg" alt = "icon" width = "20" height = "15" > Italiano
< / a >
2023-05-17 18:59:28 +02:00
< a class = "dropdown-item lang_dropdown-item" href = "" data-language-code = "pl_PL" >
< img src = "images/flags/pl.svg" alt = "icon" width = "20" height = "15" > Polski
2023-05-13 06:27:52 +02:00
< / a >
2023-05-26 01:49:04 +02:00
< a class = "dropdown-item lang_dropdown-item" href = "" data-language-code = "pt_BR" >
< img src = "images/flags/pt_br.svg" alt = "icon" width = "20" height = "15" > Português (BR)
< / a >
2023-05-22 17:25:58 +02:00
< a class = "dropdown-item lang_dropdown-item" href = "" data-language-code = "ro_RO" >
< img src = "images/flags/ro.svg" alt = "icon" width = "20" height = "15" > Romanian
< / a >
2023-05-17 00:55:16 +02:00
< a class = "dropdown-item lang_dropdown-item" href = "" data-language-code = "sv_SE" >
< img src = "images/flags/se.svg" alt = "icon" width = "20" height = "15" > Svenska
< / a >
2023-05-18 12:13:08 +02:00
< a class = "dropdown-item lang_dropdown-item" href = "" data-language-code = "ru_RU" >
< img src = "images/flags/ru.svg" alt = "icon" width = "20" height = "15" > Русский
< / a >
2023-05-22 17:57:48 +02:00
< a class = "dropdown-item lang_dropdown-item" href = "" data-language-code = "ko_KR" >
< img src = "images/flags/kr.svg" alt = "icon" width = "20" height = "15" > 한국어
< / a >
2023-06-12 07:57:51 +02:00
< a class = "dropdown-item lang_dropdown-item" href = "" data-language-code = "ja_JP" >
< img src = "images/flags/jp.svg" alt = "icon" width = "20" height = "15" > 日本語
< / a >
2023-03-20 22:55:11 +01:00
< / div >
< / li >
2023-05-17 18:59:28 +02:00
2023-03-20 22:55:11 +01:00
< li class = "nav-item" >
<!-- Settings Button -->
2023-04-21 20:58:07 +02:00
< a href = "#" class = "nav-link" data-toggle = "modal" data-target = "#settingsModal" >
2023-05-10 20:01:05 +02:00
< img class = "navbar-icon" src = "images/gear.svg" alt = "icon" width = "24" height = "24" >
2023-04-21 20:58:07 +02:00
< / a >
2023-04-21 14:13:35 +02:00
< / li >
2023-07-05 23:21:43 +02:00
<!-- Search Button and Search Bar -->
< li class = "nav-item position-relative" >
< a href = "#" class = "nav-link" id = "search-icon" >
< img class = "navbar-icon" src = "images/search.svg" alt = "icon" width = "24" height = "24" >
< / a >
<!-- Search Bar -->
< div class = "collapse position-absolute" id = "navbarSearch" >
2023-07-20 00:15:16 +02:00
< form class = "d-flex p-2 bg-white border search-form" id = "searchForm" >
< input class = "form-control search-input" type = "search" placeholder = "Search" aria-label = "Search" id = "navbarSearchInput" >
2023-07-05 23:21:43 +02:00
< / form >
<!-- Search Results -->
2023-07-20 00:15:16 +02:00
< div id = "searchResults" class = "border p-2 bg-white search-results" > < / div >
2023-07-05 23:21:43 +02:00
< / div >
< / li >
2023-07-20 00:15:16 +02:00
< style >
#search-icon i {
font-size: 24px; /* Adjust this to your desired size */
transition: color 0.3s;
}
2023-07-05 23:21:43 +02:00
2023-07-20 00:15:16 +02:00
#search-icon:hover i {
color: #666; /* Adjust this to your hover color */
}
#navbarSearch {
transition: all 0.3s;
max-height: 0;
overflow: hidden;
}
#navbarSearch.show {
max-height: 300px; /* Adjust this to your desired max height */
}
.search-input {
transition: border 0.3s, box-shadow 0.3s;
}
.search-input:focus {
border-color: #666; /* Adjust this to your focus color */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Adjust this to your desired shadow */
}
#searchResults {
max-width: 300px; /* Adjust to your preferred width */
transition: height 0.3s ease; /* Smooth height transition */
}
/* Set a fixed height and styling for each search result item */
.search-results a {
display: flex;
align-items: center;
gap: 10px; /* space between icon and text */
height: 40px; /* Adjust based on your design */
overflow: hidden; /* Prevent content from overflowing */
white-space: nowrap; /* Prevent text from wrapping to next line */
text-overflow: ellipsis; /* Truncate text if it's too long */
}
< / style >
2023-07-05 23:21:43 +02:00
2023-03-20 22:55:11 +01:00
< / ul >
< / div >
< / div >
2023-06-02 21:15:10 +02:00
< script src = "js/favourites.js" > < / script >
2023-07-05 23:21:43 +02:00
< script src = "js/search.js" > < / script >
2023-03-20 22:55:11 +01:00
< / nav >
2023-05-31 01:06:35 +02:00
< div th:insert = "~{fragments/errorBannerPerPage.html :: errorBannerPerPage}" > < / div >
2023-03-20 22:55:11 +01:00
< div class = "modal fade" id = "settingsModal" tabindex = "-1" role = "dialog" aria-labelledby = "settingsModalLabel" aria-hidden = "true" >
< div class = "modal-dialog modal-dialog-centered" role = "document" >
< div class = "modal-content dark-card" >
< div class = "modal-header" >
< h5 class = "modal-title" id = "settingsModalLabel" th:text = "#{settings.title}" > < / h5 >
< button type = "button" class = "close" data-dismiss = "modal" aria-label = "Close" >
< span aria-hidden = "true" > × < / span >
< / button >
< / div >
< div class = "modal-body" >
< div class = "d-flex justify-content-between align-items-center mb-3" >
2023-03-25 23:16:26 +01:00
< p class = "mb-0" th:utext = "#{settings.appVersion} + ' ' + ${@appVersion}" > < / p >
2023-06-01 12:22:44 +02:00
< a href = "https://github.com/sponsors/Frooodle" target = "_blank" >
< button type = "button" class = "btn btn-sm btn-outline-primary" > Sponsor Stirling-PDF< / button >
< / a >
2023-05-18 00:58:15 +02:00
< a href = "swagger-ui/index.html" target = "_blank" >
2023-06-01 12:22:44 +02:00
< button type = "button" class = "btn btn-sm btn-outline-primary" > API< / button >
2023-05-18 00:58:15 +02:00
< / a >
2023-06-01 12:22:44 +02:00
2023-03-20 22:55:11 +01:00
< a href = "https://github.com/Frooodle/Stirling-PDF/releases" target = "_blank" >
2023-03-25 23:16:26 +01:00
< button type = "button" class = "btn btn-sm btn-outline-primary" id = "update-btn" th:utext = "#{settings.update}" > < / button >
2023-03-20 22:55:11 +01:00
< / a >
2023-05-18 00:58:15 +02:00
2023-03-20 22:55:11 +01:00
< / div >
< div class = "form-group" >
2023-03-25 23:16:26 +01:00
< label for = "downloadOption" th:utext = "#{settings.downloadOption.title}" > < / label >
2023-03-20 22:55:11 +01:00
< select class = "form-control" id = "downloadOption" >
2023-03-25 23:16:26 +01:00
< option value = "sameWindow" th:utext = "#{settings.downloadOption.1}" > < / option >
< option value = "newWindow" th:utext = "#{settings.downloadOption.2}" > < / option >
< option value = "downloadFile" th:utext = "#{settings.downloadOption.3}" > < / option >
2023-03-20 22:55:11 +01:00
< / select >
< / div >
< div class = "form-group" >
2023-03-25 23:16:26 +01:00
< label for = "zipThreshold" th:utext = "#{settings.zipThreshold}" > < / label >
2023-04-22 01:08:36 +02:00
< input type = "range" class = "custom-range" min = "1" max = "9" step = "1" id = "zipThreshold" value = "4" >
2023-03-25 23:16:26 +01:00
< span id = "zipThresholdValue" class = "ml-2" > < / span >
2023-03-20 22:55:11 +01:00
< / div >
2023-04-30 18:29:35 +02:00
< div class = "form-group" >
< div class = "custom-control custom-checkbox" >
< input type = "checkbox" class = "custom-control-input" id = "boredWaiting" >
2023-05-13 14:26:28 +02:00
< label class = "custom-control-label" for = "boredWaiting" th:text = "#{bored}" > < / label >
2023-04-30 18:29:35 +02:00
< / div >
< / div >
2023-05-18 00:58:15 +02:00
2023-03-20 22:55:11 +01:00
< / div >
< div class = "modal-footer" >
< button type = "button" class = "btn btn-secondary" data-dismiss = "modal" th:text = "#{close}" > < / button >
< / div >
2023-06-01 12:22:44 +02:00
2023-03-20 22:55:11 +01:00
< / div >
< / div >
< / div >
2023-06-02 21:15:10 +02:00
< script src = "js/settings.js" > < / script >
2023-02-07 21:14:03 +01:00
2023-03-20 22:55:11 +01:00
2023-02-06 23:25:24 +01:00
< / div >