From c3ed9017385342944badec46de263560c6ab07c8 Mon Sep 17 00:00:00 2001 From: frosty Date: Mon, 30 Mar 2026 10:37:46 +0300 Subject: feat: begin adding settings menu, move theme to settings --- templates/home.html | 10 +++++--- templates/images.html | 8 +++++- templates/results.html | 8 +++++- templates/settings.html | 67 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 88 insertions(+), 5 deletions(-) create mode 100644 templates/settings.html (limited to 'templates') diff --git a/templates/home.html b/templates/home.html index 90fc904..ae00824 100644 --- a/templates/home.html +++ b/templates/home.html @@ -8,7 +8,9 @@ OmniSearch - + {{if theme == "light"}}{{endif}} + {{if theme == "dark"}}{{endif}} + @@ -30,11 +32,13 @@ Search + + diff --git a/templates/images.html b/templates/images.html index f04867b..92ab7b5 100644 --- a/templates/images.html +++ b/templates/images.html @@ -7,8 +7,10 @@ OmniSearch Images - {{query}} - + + {{if theme == "light"}}{{endif}} + {{if theme == "dark"}}{{endif}} @@ -20,6 +22,7 @@ +
diff --git a/templates/results.html b/templates/results.html index 57c2265..4128245 100644 --- a/templates/results.html +++ b/templates/results.html @@ -8,7 +8,9 @@ OmniSearch - {{query}} - + {{if theme == "light"}}{{endif}} + {{if theme == "dark"}}{{endif}} + @@ -24,6 +26,7 @@ +
diff --git a/templates/settings.html b/templates/settings.html new file mode 100644 index 0000000..780e438 --- /dev/null +++ b/templates/settings.html @@ -0,0 +1,67 @@ + + + + + + + + OmniSearch - Settings + + + {{if theme == "light"}}{{endif}} + {{if theme == "dark"}}{{endif}} + + + + + +
+

+ OmniSearch +

+
+ +
+ +
+ +
+
+
+ +
+

Theme

+

Choose your preferred colour scheme.

+
+ + +
+
+
+ +
+
+
+
+ + + -- cgit v1.2.3