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

Settings can now save

This commit is contained in:
Cadence Ember
2020-05-05 03:06:07 +12:00
parent 120faae576
commit e93b68abbe
5 changed files with 124 additions and 5 deletions

View File

@@ -1,3 +1,5 @@
//- Needs saved
mixin form-component(id, description)
.field-row
label.description(for=id)= description
@@ -33,8 +35,12 @@ html
title Settings | Bibliogram
include includes/head
body.settings-page
if saved
.status-notice Saved.
script.
history.replaceState(null, "", "/settings")
main.settings
form(action="/settings" method="post")
form(action="/settings" method="post" enctype="application/x-www-form-urlencoded")
h1 Settings
+fieldset("Features")