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:
parent
363146c331
commit
0d7d73744c
1569 changed files with 25 additions and 1159 deletions
20
src/views/login.pug
Normal file
20
src/views/login.pug
Normal 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'))
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue