Fix topProcesses page: Remove auto-refresh and fix double percentage signs

- Remove auto-refresh timeout (3 seconds) from topProcesses page
- Add manual refresh button in page header
- Fix double percentage signs (%% -> %) in CPU Time Distribution
- Remove duplicate serverStatus.js script loading in footer_scripts block

Changes:
- Removed $timeout($scope.topProcessesStatus, 3000) from serverStatus.js
- Removed extra % sign from template (backend already includes % in values)
- Added refresh button with loading state indicator
This commit is contained in:
master3395
2026-01-19 20:21:12 +01:00
parent 4b5b3a281f
commit ac2b30f2ee
4 changed files with 223 additions and 28 deletions

View File

@@ -930,7 +930,7 @@ app.controller('topProcesses', function ($scope, $http, $timeout) {
$scope.stoppedProcesses = response.data.stoppedProcesses;
$scope.zombieProcesses = response.data.zombieProcesses;
$timeout($scope.topProcessesStatus, 3000);
// Auto-refresh removed - user can manually refresh using the button
} else {
new PNotify({
title: 'Operation Failed!',