christmas/views/adminSettings.pug

30 lines
897 B
Text
Raw Normal View History

2018-11-20 11:19:58 -08:00
extends layout.pug
block content
h2 Users
each user in users
span.is-size-6.inline= user.id
if !user.doc.admin
2020-10-29 11:14:38 -07:00
a(href=`${_CC.config.base}admin-settings/remove/${user.id}`)
2018-11-20 11:19:58 -08:00
span.is-size-7.icon.has-text-danger
i.fas.fa-times
span.is-sr-only
Remove
br
h3 Add user
2020-10-29 11:14:38 -07:00
form(action=`${_CC.config.base}admin-settings/add`, method='POST')
2018-11-20 11:19:58 -08:00
.field
label.label Username
.control.has-icons-left
input.input(type='text', name='newUserUsername', placeholder='john')
span.icon.is-small.is-left
i.fas.fa-user
.field
label.label Password
.control.has-icons-left
input.input(type='password', name='newUserPassword', placeholder='pa$$word!')
span.icon.is-small.is-left
i.fas.fa-lock
.field
.control
input.button.is-primary(type='submit' value='Add User')