1
0
Fork 0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2026-03-02 02:41:34 +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
No known key found for this signature in database
GPG key ID: 128B99B1B74A6412
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)