feat: begin adding settings menu, move theme to settings

This commit is contained in:
frosty
2026-03-30 10:37:46 +03:00
parent 9e6e763064
commit c3ed901738
18 changed files with 444 additions and 19 deletions

View File

@@ -8,7 +8,9 @@
OmniSearch
</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">
@@ -30,11 +32,13 @@
Search
</button>
<button type="submit" name="btnI" value="1" class="btn-secondary">
Surprise me
</div>
Surprise me
</button>
</div>
</form>
</div>
</div>
<a href="/settings" class="home-settings-btn" title="Settings"></a>
</body>
</html>