mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-07 12:56:51 +02:00
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:
@@ -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!',
|
||||
|
||||
Reference in New Issue
Block a user