Skip to content

Commit

Permalink
Fix to display explanation why live stats history cannot be updated i…
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Oct 25, 2024
1 parent 31ad1ce commit f157302
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion authentic-lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,18 @@ sub get_extended_sysinfo
<span data-chart="proc"></span>
<span data-chart="disk"></span>
<span data-chart="net"></span>';
my $live_stats_not_live;
$live_stats_not_live =
'<span data-live="'.
($theme_server_webprefix ? 0 : 1).'"'.get_button_tooltip(
theme_text('theme_xhred_tooltip_dashboard_live_stats_offline',
undef), undef, 'auto right').
'></span>' if ($theme_server_webprefix);
$returned_sysinfo .=
print_panel(
1,
'live_stats',
"$theme_text{'theme_dashboard_accordion_live_stats'}<span class=\"pull-right on-hover\"><i class=\"fa fa-fw fa-times-thin\" "
"$theme_text{'theme_dashboard_accordion_live_stats'}${live_stats_not_live}<span class=\"pull-right on-hover\"><i class=\"fa fa-fw fa-times-thin\" "
.
get_button_tooltip(
theme_text('theme_xhred_tooltip_dashboard_panels_disable',
Expand Down
1 change: 1 addition & 0 deletions lang/en
Original file line number Diff line number Diff line change
Expand Up @@ -1481,3 +1481,4 @@ theme_xhred_dashboard_chart_disk_read=Read
theme_xhred_dashboard_chart_disk_write=Write
theme_xhred_dashboard_chart_net_read=In
theme_xhred_dashboard_chart_net_write=Out
theme_xhred_tooltip_dashboard_live_stats_offline=Live stats aren’t available when the system is accessed in proxy mode; only previously collected stats will be displayed, and only if available, and the page will need to be reloaded to update these stats
2 changes: 1 addition & 1 deletion unauthenticated/css/bundle.min.css

Large diffs are not rendered by default.

Binary file modified unauthenticated/css/bundle.min.css.gz
Binary file not shown.

0 comments on commit f157302

Please sign in to comment.