jschan - Anonymous imageboard software. Classic look, modern features and feel. Works without JavaScript and supports Tor, I2P, Lokinet, etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

31 lines
1.1 KiB

extends ../layout.pug
include ../mixins/globalmanagenav.pug
block head
title #{__('Edit Account')}
block content
h1.board-title #{__('Global Management')}
br
+globalmanagenav('accounts', true)
hr(size=1)
h4.mv-5 Edit account permissions for: "#{accountUsername}"
- const jsonPermissions = accountPermissions.toJSON();
.form-wrapper.flexleft
form(action=`/forms/global/editaccount` method='POST')
input(type='hidden' name='_csrf' value=csrf)
input(type='hidden' name='username' value=accountUsername)
include ../includes/globalpermissionsform.pug
hr(size=1)
h4.mv-5 #{__('Or, apply a role')}:
.row
.label Role
select(name='template')
option(disabled selected) #{__('None')}
//- limiting which ones atm
option(value=roles.ANON.base64) #{__('Regular User')}
option(value=roles.BOARD_STAFF.base64) #{__('Global Board Staff')}
option(value=roles.BOARD_OWNER.base64) #{__('Global Board Owner')}
option(value=roles.GLOBAL_STAFF.base64) #{__('Global Staff')}
option(value=roles.ADMIN.base64) #{__('Admin')}
input(type='submit', value=__('Apply'))