christmas/views/adminSettings.pug

32 lines
1.3 KiB
Text
Raw Normal View History

2018-11-20 11:19:58 -08:00
extends layout.pug
block content
2021-12-03 08:13:43 -08:00
h2= lang('ADMIN_SETTINGS_USERS_HEADER')
2018-11-20 11:19:58 -08:00
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
2021-12-03 08:13:43 -08:00
= lang('ADMIN_SETTINGS_USERS_EDIT')
2018-11-20 11:19:58 -08:00
br
2021-12-03 08:13:43 -08:00
h3= lang('ADMIN_SETTINGS_USERS_ADD_HEADER')
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
p.has-text-danger#error-label= add_user_error
2021-12-03 08:13:43 -08:00
label.label= lang('ADMIN_SETTINGS_USERS_ADD_USERNAME')
2018-11-20 11:19:58 -08:00
.control.has-icons-left
2021-12-03 08:13:43 -08:00
input.input(type='text', name='newUserUsername', placeholder=lang('ADMIN_SETTINGS_USERS_ADD_PLACEHOLDER'))
2018-11-20 11:19:58 -08:00
span.icon.is-small.is-left
i.fas.fa-user
.field
.control
2021-12-03 08:13:43 -08:00
input.button.is-primary(type='submit' value=lang('ADMIN_SETTINGS_USERS_ADD_BUTTON'))
h3= lang('ADMIN_SETTINGS_CLEARDB_HEADER')
p!= lang('ADMIN_SETTINGS_CLEARDB_DESCRIPTION')
a.button.is-danger(href=`${_CC.config.base}admin-settings/clear-wishlists`)= lang('ADMIN_SETTINGS_CLEARDB_BUTTON')
h3= lang('ADMIN_SETTINGS_VERSION_INFO')
2021-10-13 12:23:22 -07:00
p Christmas Community: v#{_CC.package.version}
p Get Product Data: v#{_CC.require('get-product-name/package.json').version}
2020-11-02 16:07:12 -08:00
p Node: #{process.version}
p PID: #{process.pid}