add: more mod panel stats add: show user invite in mod panel add:
ability to share to twitter/bluesky
This commit is contained in:
parent
66beef6b1d
commit
2676340fba
8 changed files with 201 additions and 22 deletions
|
@ -202,6 +202,20 @@
|
|||
(text "{% for user in associations -%}")
|
||||
(text "{{ components::user_plate(user=user, show_menu=false) }}")
|
||||
(text "{%- endfor %}")))
|
||||
(text "{% if invite -%}")
|
||||
(div
|
||||
("class" "card-nest w-full")
|
||||
(div
|
||||
("class" "card small flex items-center justify-between gap-2")
|
||||
(div
|
||||
("class" "flex items-center gap-2")
|
||||
(text "{{ icon \"ticket\" }}")
|
||||
(span
|
||||
(text "{{ text \"mod_panel:label.invited_by\" }}"))))
|
||||
(div
|
||||
("class" "card lowered flex flex-wrap gap-2")
|
||||
(text "{{ components::user_plate(user=invite[0], show_menu=false) }}")))
|
||||
(text "{%- endif %}")
|
||||
(div
|
||||
("class" "card-nest w-full")
|
||||
(div
|
||||
|
|
|
@ -29,6 +29,15 @@
|
|||
(b
|
||||
(text "Socket tasks: "))
|
||||
(span
|
||||
(text "{{ (active_users_chats + active_users) * 3 }}")))))))
|
||||
(text "{{ (active_users_chats + active_users) * 3 }}"))))
|
||||
|
||||
(hr)
|
||||
(ul
|
||||
(li (b (text "Users: ")) (span (text "{{ table_users }}")))
|
||||
(li (b (text "IP bans: ")) (span (text "{{ table_ipbans }}")))
|
||||
(li (b (text "Invite codes: ")) (span (text "{{ table_invite_codes }}")))
|
||||
(li (b (text "Posts: ")) (span (text "{{ table_posts }}")))
|
||||
(li (b (text "Uploads: ")) (span (text "{{ table_uploads }}")))
|
||||
(li (b (text "Communities: ")) (span (text "{{ table_communities }}")))))))
|
||||
|
||||
(text "{% endblock %}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue