christmas/src/views/setup.pug
Wingy 0d7d73744c
Refactor: move src to folder (#63)
* move all source code to src/

* replace express response patch with middleware

* fix readdir not looking in src

* fix stray redirect

* add base to manifest

* remove secret.txt from src/config/secret

* add src/config/secret/secret.txt to gitignore
2022-12-10 12:04:07 -05:00

20 lines
No EOL
714 B
Text

extends layout.pug
block content
h2= lang('SETUP_ADMIN_USER')
form(action=`${_CC.config.base}setup`, method='POST')
.field
label.label= lang('SETUP_USERNAME')
.control.has-icons-left
input.input(type='text', name='adminUsername', placeholder=lang('SETUP_USERNAME_PLACEHOLDER'))
span.icon.is-small.is-left
i.fas.fa-user
.field
label.label= lang('SETUP_PASSWORD')
.control.has-icons-left
input.input(type='password', name='adminPassword', placeholder=lang('SETUP_PASSWORD_PLACEHOLDER'))
span.icon.is-small.is-left
i.fas.fa-lock
.field
.control
input.button.is-primary(type='submit' value=lang('SETUP_BUTTON'))