christmas/views/adminSettings.pug

28 lines
863 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
2020-10-29 20:50:36 -07:00
a(href=`${_CC.config.base}admin-settings/edit/${user.id}`)
span.is-size-7.icon.has-text-info
i.fas.fa-edit
span.is-sr-only
| Edit
2018-11-20 11:19:58 -08:00
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
.control
2020-10-29 20:50:36 -07:00
input.button.is-primary(type='submit' value='Add User')
h3 Version Info
p Christmas Community: v#{_CC.require('./package.json').version}
2020-11-02 16:07:12 -08:00
p Get Product Data: v#{_CC.require('get-product-name/package.json').version}
p Node: #{process.version}
p PID: #{process.pid}