From f5ceede3cd26899f8bb71db7f86c6b8ddf2b2feb Mon Sep 17 00:00:00 2001
From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
Date: Fri, 21 Apr 2023 17:50:59 +0100
Subject: [PATCH] darkmode test (weirdly slow not sure if PC)
---
src/main/resources/messages_ar_AR.properties | 3 ++
src/main/resources/messages_de_DE.properties | 3 ++
src/main/resources/messages_es_ES.properties | 3 ++
src/main/resources/messages_fr_FR.properties | 4 +++
src/main/resources/static/moon.svg | 1 +
src/main/resources/static/sun.svg | 1 +
.../resources/templates/fragments/common.html | 33 ++++++++++++-------
.../resources/templates/fragments/navbar.html | 12 +++++--
8 files changed, 46 insertions(+), 14 deletions(-)
create mode 100644 src/main/resources/static/moon.svg
create mode 100644 src/main/resources/static/sun.svg
diff --git a/src/main/resources/messages_ar_AR.properties b/src/main/resources/messages_ar_AR.properties
index bbe98581..d2640f69 100644
--- a/src/main/resources/messages_ar_AR.properties
+++ b/src/main/resources/messages_ar_AR.properties
@@ -181,6 +181,9 @@ pdfOrganiser.title=منظم الصفحة
pdfOrganiser.header=منظم صفحات PDF
pdfOrganiser.submit=إعادة ترتيب الصفحات
+#multiTool
+multiTool.title = أداة متعددة PDF
+multiTool.header = أداة متعددة PDF
#pageRemover
pageRemover.title=مزيل الصفحة
diff --git a/src/main/resources/messages_de_DE.properties b/src/main/resources/messages_de_DE.properties
index f64b6a08..a7cd44bb 100644
--- a/src/main/resources/messages_de_DE.properties
+++ b/src/main/resources/messages_de_DE.properties
@@ -180,6 +180,9 @@ pdfOrganiser.title=Seiten anordnen
pdfOrganiser.header=PDF Seitenorganisation
pdfOrganiser.submit=Seiten anordnen
+#Mehrfachwerkzeug
+multiTool.title=PDF-Multitool
+multiTool.header=PDF-Multitool
#pageRemover
pageRemover.title=Seiten entfernen
diff --git a/src/main/resources/messages_es_ES.properties b/src/main/resources/messages_es_ES.properties
index f34bd319..907eefbd 100644
--- a/src/main/resources/messages_es_ES.properties
+++ b/src/main/resources/messages_es_ES.properties
@@ -182,6 +182,9 @@ pdfOrganiser.title=Organizador de páginas
pdfOrganiser.header=Organizador de páginas PDF
pdfOrganiser.submit=Organiza páginas
+#herramienta multiple
+multiTool.title=Multiherramienta PDF
+multiTool.header=Multiherramienta PDF
#pageRemover
pageRemover.title=Eliminador de páginas
diff --git a/src/main/resources/messages_fr_FR.properties b/src/main/resources/messages_fr_FR.properties
index ebb519a2..ece14e52 100644
--- a/src/main/resources/messages_fr_FR.properties
+++ b/src/main/resources/messages_fr_FR.properties
@@ -183,6 +183,10 @@ pdfOrganiser.title=Organisateur de pages
pdfOrganiser.header=Organisateur de pages PDF
pdfOrganiser.submit=Réorganiser les pages
+#Outil Multi-fonction
+multiTool.title=Multi-outil PDF
+multiTool.header=Outil multiple PDF
+
#pageRemover
pageRemover.title=Suppresseur de pages
diff --git a/src/main/resources/static/moon.svg b/src/main/resources/static/moon.svg
new file mode 100644
index 00000000..4b3efb8e
--- /dev/null
+++ b/src/main/resources/static/moon.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/main/resources/static/sun.svg b/src/main/resources/static/sun.svg
new file mode 100644
index 00000000..bcc13f7d
--- /dev/null
+++ b/src/main/resources/static/sun.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/main/resources/templates/fragments/common.html b/src/main/resources/templates/fragments/common.html
index 52a35367..33154eff 100644
--- a/src/main/resources/templates/fragments/common.html
+++ b/src/main/resources/templates/fragments/common.html
@@ -31,38 +31,47 @@
diff --git a/src/main/resources/templates/fragments/navbar.html b/src/main/resources/templates/fragments/navbar.html
index 0dc64a7f..9ee7da45 100644
--- a/src/main/resources/templates/fragments/navbar.html
+++ b/src/main/resources/templates/fragments/navbar.html
@@ -107,6 +107,11 @@ function compareVersions(version1, version2) {
background-color: #ccc; /* Adjust the color as needed */
}
+#dark-mode-icon {
+ width: 20px;
+ height: 20px;
+}
+