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.
19 lines
635 B
19 lines
635 B
mixin renderAdminUserTable (users)
|
|
.uk-overflow-auto
|
|
table.uk-table.uk-table-small.uk-table-justify
|
|
thead
|
|
tr
|
|
th Username
|
|
th Display Name
|
|
th Email
|
|
th(uk-tooltip="(A)dmin (M)oderator (E)mailVerify (G)Cloaked Can(L)ogin Can(C)hat CanC(O)mment Can(R)eport ") Flags
|
|
th Created
|
|
tbody
|
|
each user in users
|
|
tr
|
|
td
|
|
a(href=`/admin/user/${user._id}`)= user.username
|
|
td= user.displayName || '---'
|
|
td= user.email
|
|
td.uk-text-fixed= getUserFlags(user)
|
|
td= dayjs(user.created).fromNow()
|