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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user