aboutsummaryrefslogtreecommitdiff
path: root/templates/images.html
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-03-30 10:37:46 +0300
committerfrosty <gabriel@bwaaa.monster>2026-03-30 10:37:46 +0300
commitc3ed9017385342944badec46de263560c6ab07c8 (patch)
treed7f7e86e26ebffd9f277fc340b74a1681eb707d7 /templates/images.html
parent9e6e76306471b3cc139ae68c0363ec95616d1b23 (diff)
downloadomnisearch-c3ed9017385342944badec46de263560c6ab07c8.tar.gz
feat: begin adding settings menu, move theme to settings
Diffstat (limited to 'templates/images.html')
-rw-r--r--templates/images.html8
1 files changed, 7 insertions, 1 deletions
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 @@
<title>
OmniSearch Images - {{query}}
</title>
- <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<link rel="stylesheet" href="static/main.css">
+ {{if theme == "light"}}<link rel="stylesheet" href="static/theme-light.css">{{endif}}
+ {{if theme == "dark"}}<link rel="stylesheet" href="static/theme-dark.css">{{endif}}
</head>
<body class="images-view">
@@ -20,6 +22,7 @@
<input name="q" autocomplete="off"="text" class="search-box" placeholder="Search for images..."
value="{{query}}">
</form>
+ <a href="/settings?q={{query}}" class="nav-settings-icon" title="Settings"></a>
</header>
<nav class="nav-tabs">
<div class="nav-container">
@@ -29,6 +32,9 @@
<a href="/images?q={{query}}" class="active">
Images
</a>
+ <a href="/settings?q={{query}}" class="nav-settings-link">
+ Settings
+ </a>
</div>
</nav>
<main class="image-results-container">