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
This commit is contained in:
Wingy 2022-12-10 12:04:07 -05:00 committed by GitHub
parent 363146c331
commit 0d7d73744c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1569 changed files with 25 additions and 1159 deletions

20
src/views/login.pug Normal file
View file

@ -0,0 +1,20 @@
extends layout.pug
block content
form(method='POST')
.field
label.label= lang('LOGIN_USERNAME')
.control.has-icons-left
input.input(type='text', name='username', placeholder=lang('LOGIN_USERNAME_PLACEHOLDER'))
span.icon.is-small.is-left
i.fas.fa-user
.field
label.label= lang('LOGIN_PASSWORD')
.control.has-icons-left
input.input(type='password', name='password', placeholder=lang('LOGIN_PASSWORD_PLACEHOLDER'))
span.icon.is-small.is-left
i.fas.fa-lock
.field
.control
input.button.is-primary(type='submit' value=lang('LOGIN_BUTTON'))