add: finish ui rewrite
This commit is contained in:
parent
e9846016e6
commit
5dec98d698
119 changed files with 8776 additions and 9350 deletions
34
crates/app/src/public/html/mod/stats.lisp
Normal file
34
crates/app/src/public/html/mod/stats.lisp
Normal file
|
@ -0,0 +1,34 @@
|
|||
(text "{% extends \"root.html\" %} {% block head %}")
|
||||
(title
|
||||
(text "Server stats - {{ config.name }}"))
|
||||
|
||||
(text "{% endblock %} {% block body %} {{ macros::nav() }}")
|
||||
(main
|
||||
("class" "flex flex-col gap-2")
|
||||
(div
|
||||
("class" "card-nest w-full")
|
||||
(div
|
||||
("class" "card small flex items-center gap-2")
|
||||
(text "{{ icon \"chart-line\" }}")
|
||||
(span
|
||||
(text "{{ text \"general:link.stats\" }}")))
|
||||
(div
|
||||
("class" "card flex flex-col gap-2")
|
||||
(ul
|
||||
(li
|
||||
(b
|
||||
(text "Active user streams:"))
|
||||
(span
|
||||
(text "{{ active_users }}")))
|
||||
(li
|
||||
(b
|
||||
(text "Active chat subscriptions:"))
|
||||
(span
|
||||
(text "{{ active_users_chats }}")))
|
||||
(li
|
||||
(b
|
||||
(text "Socket tasks:"))
|
||||
(span
|
||||
(text "{{ (active_users_chats + active_users) * 3 }}")))))))
|
||||
|
||||
(text "{% endblock %}")
|
Loading…
Add table
Add a link
Reference in a new issue