1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2025-12-15 02:45:09 +00:00

Make additional themes more easily configurable

This commit is contained in:
Cadence Ember
2020-05-09 23:37:56 +12:00
parent 9fbbf66e62
commit 8aac24bac8
4 changed files with 17 additions and 12 deletions

View File

@@ -63,10 +63,7 @@ html
+checkbox("spa", "Fast navigation", "Enabled", false)
+fieldset("Appearance")
+select("theme", "Theme", false, [
{value: "classic", text: "Classic"},
{value: "blue", text: "Classic blue"}
])
+select("theme", "Theme", false, constants.themes.map(entry => ({value: entry.file, text: entry.name})))
+checkbox("display_top_nav", "Display top bar", "Always", false)