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.
28 lines
1.2 KiB
28 lines
1.2 KiB
extends ../../layouts/main
|
|
block content
|
|
|
|
include ../../user/components/list-item
|
|
|
|
form(method="POST", action=`/admin/user/local/${userAccount._id}/archive`).uk-form
|
|
input(type="hidden", name="userId", value= userAccount._id)
|
|
.uk-card.uk-card-default.uk-card-small
|
|
.uk-card-header
|
|
h1.uk-card-title
|
|
span
|
|
i.fas.fa-id-card
|
|
span.uk-margin-small-left Archive Local User
|
|
.uk-card-body
|
|
.uk-margin
|
|
+renderUserListItem(userAccount)
|
|
|
|
.uk-margin
|
|
p This action will archive #{userAccount.displayName || userAccount.username}'s content to a .zip file, place the .zip file on storage, create a UserArchive record for this User account, ban this User account, and remove this User account from the database.
|
|
|
|
p #{userAccount.displayName || userAccount.username}'s email address and username will become locked, and will remain unavailable for use for as long as this archive exists.
|
|
|
|
.uk-card-footer.uk-flex.uk-flex-middle
|
|
.uk-width-expand
|
|
+renderBackButton()
|
|
|
|
.uk-width-auto
|
|
button(type="submit").uk-button.uk-button-danger.uk-border-rounded Archive User
|