diff options
| author | frosty <gabriel@bwaaa.monster> | 2026-03-30 10:37:46 +0300 |
|---|---|---|
| committer | frosty <gabriel@bwaaa.monster> | 2026-03-30 10:37:46 +0300 |
| commit | c3ed9017385342944badec46de263560c6ab07c8 (patch) | |
| tree | d7f7e86e26ebffd9f277fc340b74a1681eb707d7 /templates/results.html | |
| parent | 9e6e76306471b3cc139ae68c0363ec95616d1b23 (diff) | |
| download | omnisearch-c3ed9017385342944badec46de263560c6ab07c8.tar.gz | |
feat: begin adding settings menu, move theme to settings
Diffstat (limited to 'templates/results.html')
| -rw-r--r-- | templates/results.html | 8 |
1 files changed, 7 insertions, 1 deletions
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}} </title> <link rel="stylesheet" href="static/main.css"> - <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> + {{if theme == "light"}}<link rel="stylesheet" href="static/theme-light.css">{{endif}} + {{if theme == "dark"}}<link rel="stylesheet" href="static/theme-dark.css">{{endif}} + <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> <link rel="search" type="application/opensearchdescription+xml" title="OmniSearch" href="/opensearch.xml"> @@ -24,6 +26,7 @@ <input name="q" type="text" class="search-box" autocomplete="off" placeholder="Search the web..." value="{{query}}"> </form> + <a href="/settings?q={{query}}" class="nav-settings-icon" title="Settings"></a> </header> <nav class="nav-tabs"> <div class="nav-container"> @@ -33,6 +36,9 @@ <a href="/images?q={{query}}"> Images </a> + <a href="/settings?q={{query}}" class="nav-settings-link"> + Settings + </a> </div> </nav> <div class="content-layout"> |
