(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 %}")