You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
753 B
15 lines
753 B
extends ../layouts/main
|
|
block content
|
|
|
|
section.uk-section.uk-section-default.uk-section-small
|
|
.uk-container
|
|
h1 Settings
|
|
form(method="POST", action=`/user/core/${userProfile._id}/settings`, onsubmit="return dtp.app.submitForm(event, 'user account update');").uk-form
|
|
.uk-margin
|
|
label(for="theme").uk-form-label UI Theme
|
|
select(id="theme", name="theme").uk-select
|
|
option(value="dtp-light", selected= user ? userProfile.theme === 'dtp-light' : true) Light Mode
|
|
option(value="dtp-dark", selected= user ? userProfile.theme === 'dtp-dark' : false) Dark Mode
|
|
|
|
.uk-margin
|
|
button(type="submit").uk-button.uk-button-primary Update settings
|