Skip to main content

Module server_stats_dialog

Module server_stats_dialog 

Source
Expand description

Server statistics dialog.

Presented when the user clicks the bottom-sidebar connection or server row. Pulls /api/server/statistics (admin) plus /api/assets/statistics (per-user) and /api/server/about to render a single summary view.

Functionsยง

append_asset_statistics ๐Ÿ”’
append_error_ui ๐Ÿ”’
append_server_statistics ๐Ÿ”’
append_version_badge ๐Ÿ”’
format_number ๐Ÿ”’
format_size ๐Ÿ”’
present
Present the server statistics dialog to the user.
stat_card_row ๐Ÿ”’
Build a row of colored stat cards arranged in a responsive FlowBox.
user_row ๐Ÿ”’
Build a row for a single user with quota progress bar if applicable.