diff --git a/src/main/java/stirling/software/SPDF/config/EndpointConfiguration.java b/src/main/java/stirling/software/SPDF/config/EndpointConfiguration.java index 16121170..a1b1ab7a 100644 --- a/src/main/java/stirling/software/SPDF/config/EndpointConfiguration.java +++ b/src/main/java/stirling/software/SPDF/config/EndpointConfiguration.java @@ -11,7 +11,6 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import lombok.extern.slf4j.Slf4j; - import stirling.software.SPDF.model.ApplicationProperties; @Service @@ -164,14 +163,8 @@ public class EndpointConfiguration { addEndpointToGroup("CLI", "ocr-pdf"); addEndpointToGroup("CLI", "html-to-pdf"); addEndpointToGroup("CLI", "url-to-pdf"); - addEndpointToGroup("CLI", "book-to-pdf"); - addEndpointToGroup("CLI", "pdf-to-book"); addEndpointToGroup("CLI", "pdf-to-rtf"); - // Calibre - addEndpointToGroup("Calibre", "book-to-pdf"); - addEndpointToGroup("Calibre", "pdf-to-book"); - // python addEndpointToGroup("Python", "extract-image-scans"); addEndpointToGroup("Python", "html-to-pdf"); diff --git a/src/main/resources/messages_en_GB.properties b/src/main/resources/messages_en_GB.properties index c142bf42..45c61e0a 100644 --- a/src/main/resources/messages_en_GB.properties +++ b/src/main/resources/messages_en_GB.properties @@ -516,14 +516,6 @@ home.AddStampRequest.desc=Add text or add image stamps at set locations AddStampRequest.tags=Stamp, Add image, center image, Watermark, PDF, Embed, Customize,Customise -home.PDFToBook.title=PDF to Book -home.PDFToBook.desc=Converts PDF to Book/Comic formats using calibre -PDFToBook.tags=Book,Comic,Calibre,Convert,manga,amazon,kindle,epub,mobi,azw3,docx,rtf,txt,html,lit,fb2,pdb,lrf - -home.BookToPDF.title=Book to PDF -home.BookToPDF.desc=Converts Books/Comics formats to PDF using calibre -BookToPDF.tags=Book,Comic,Calibre,Convert,manga,amazon,kindle,epub,mobi,azw3,docx,rtf,txt,html,lit,fb2,pdb,lrf - home.removeImagePdf.title=Remove image home.removeImagePdf.desc=Remove image from PDF to reduce file size removeImagePdf.tags=Remove Image,Page operations,Back end,server side @@ -848,19 +840,6 @@ compare.complex.message=One or both of the provided documents are large files, a compare.large.file.message=One or Both of the provided documents are too large to process compare.no.text.message=One or both of the selected PDFs have no text content. Please choose PDFs with text for comparison. -#BookToPDF -BookToPDF.title=Books and Comics to PDF -BookToPDF.header=Book to PDF -BookToPDF.credit=Uses Calibre -BookToPDF.submit=Convert - -#PDFToBook -PDFToBook.title=PDF to Book -PDFToBook.header=PDF to Book -PDFToBook.selectText.1=Format -PDFToBook.credit=Uses Calibre -PDFToBook.submit=Convert - #sign sign.title=Sign sign.header=Sign PDFs diff --git a/src/main/resources/static/js/homecard.js b/src/main/resources/static/js/homecard.js index 89170660..33d49a78 100644 --- a/src/main/resources/static/js/homecard.js +++ b/src/main/resources/static/js/homecard.js @@ -17,7 +17,7 @@ function filterCards() { // Get the navbar tags associated with the card var navbarItem = document.querySelector(`a.dropdown-item[href="${card.id}"]`); var navbarTags = navbarItem ? navbarItem.getAttribute('data-bs-tags') : ''; - var navbarTags = navbarItem ? navbarTags + ',' + navbarItem.getAttribute('data-bs-title') : ''; + navbarTags = navbarItem ? navbarTags + ',' + navbarItem.getAttribute('data-bs-title') + ',' + navbarItem.children[0].getAttribute('data-title') : navbarTags; var content = (title + ' ' + navbarTags).toUpperCase(); diff --git a/src/main/resources/static/js/pages/home.js b/src/main/resources/static/js/pages/home.js index f29028ad..1a5390ae 100644 --- a/src/main/resources/static/js/pages/home.js +++ b/src/main/resources/static/js/pages/home.js @@ -51,7 +51,7 @@ document.addEventListener('DOMContentLoaded', function () { const storedVersion = localStorage.getItem('surveyVersion'); if (storedVersion && storedVersion !== surveyVersion) { localStorage.setItem('pageViews', '0'); - localStorage.setItem('surveyVersion', surveyVersion)); + localStorage.setItem('surveyVersion', surveyVersion); } let pageViews = parseInt(localStorage.getItem('pageViews') || '0'); diff --git a/src/main/resources/templates/convert/book-to-pdf.html b/src/main/resources/templates/convert/book-to-pdf.html deleted file mode 100644 index 2de6011f..00000000 --- a/src/main/resources/templates/convert/book-to-pdf.html +++ /dev/null @@ -1,29 +0,0 @@ - - -
-