2021-11-25 01:25:27 +00:00
|
|
|
extends ../layout
|
|
|
|
|
|
|
|
block stylesheets
|
|
|
|
link(rel='stylesheet', href='/stylesheets/submit.css')
|
|
|
|
link(rel='stylesheet', href='/stylesheets/form.css')
|
|
|
|
|
|
|
|
block content
|
2021-11-25 19:40:19 +00:00
|
|
|
form#submission-form(action='/manage/account', method='POST')
|
2021-11-26 19:08:45 +00:00
|
|
|
if accountID
|
|
|
|
input#account-id(type="hidden" name="account" value=accountID)
|
2021-12-02 20:06:02 +00:00
|
|
|
span(class='form-section')
|
|
|
|
label Name
|
|
|
|
span(class='form-section-input')
|
|
|
|
input#name-textbox(type="text" name="name" disabled)
|
2021-11-25 01:25:27 +00:00
|
|
|
span(class='form-section')
|
|
|
|
label Email
|
|
|
|
span(class='form-section-input')
|
2021-12-02 20:06:02 +00:00
|
|
|
input#email-textbox(type="email" name="email" disabled)
|
2021-11-25 01:25:27 +00:00
|
|
|
span(class='form-section')
|
|
|
|
label Password
|
2021-11-25 19:17:53 +00:00
|
|
|
span(class='form-section-input' )
|
|
|
|
input#password-textbox(type="password" name="password" disabled)
|
2021-11-26 19:08:45 +00:00
|
|
|
span#admin-checkbox-section(class='form-section')
|
2021-11-25 05:29:29 +00:00
|
|
|
span(class='form-section-checkbox')
|
2021-11-25 19:17:53 +00:00
|
|
|
input#admin-checkbox(type="checkbox" name="admin" disabled)
|
|
|
|
label(for="admin-checkbox") Grant admin privileges
|
2021-11-26 22:41:36 +00:00
|
|
|
.error #{message}
|
2021-11-25 01:25:27 +00:00
|
|
|
span(class='form-section')
|
2021-11-25 19:17:53 +00:00
|
|
|
button#submit-button(type="submit" disabled) Submit
|
|
|
|
span(class='form-section')
|
|
|
|
button#delete-button(type="delete" disabled) Delete
|
|
|
|
|
|
|
|
block scripts
|
|
|
|
script(src='/scripts/manage/account.js' type="module")
|