1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/mipilin synced 2025-05-13 08:43:07 +00:00
Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
Rae 5e 2025-01-28 23:31:31 -05:00
parent 65c29b0564
commit ccc894dc33
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
10 changed files with 111 additions and 41 deletions

View file

@ -5,7 +5,10 @@ block content
h1 Admin Panel
p Don't Be Evil
h2 Users
table
p
| Selected:
strong#user-selected [none]
table#users
tbody
tr
th UID
@ -17,7 +20,13 @@ block content
td
a(href=`/users/${user.uname}`)= user.uname
td= user.status.toString(2).padStart(4, "0")
h2 Invite codes
br
form(action="#", method="post", data-url="/users/{}/edit?param=status&status=4")
button#btn-trust Trust
button#btn-ban Ban
form(action="#", method="post", data-url="/users/{}/edit?param=status&status=0")
button#btn-reset Revoke all stati
h2(style="margin-top:1em;") Invite codes
p Well Rae. You've made quite a The Closed Beta.
form(action="/codes/delete", method="post")
table
@ -41,3 +50,4 @@ block content
form(action="/codes/create", method="post")
input(type="datetime-local", name="expiration")
button(type="submit") Create
script(src="/js/admin.js", nonce=nonce)