diff --git a/root/app/www/public/ajax/containers.php b/root/app/www/public/ajax/containers.php index 783bc52..46cf97d 100644 --- a/root/app/www/public/ajax/containers.php +++ b/root/app/www/public/ajax/containers.php @@ -33,156 +33,164 @@ } ?>
- -
- There is currently no pull data available to show the Updates state. If the Updates column is set to Ignore then no checks will be made for that container. If you want current data, please set all the Update Options to Check for updates or Auto update and click save at the bottom. Once that is done you can click the check all and select Update: Check or Pull from the list. This will take a minute or two as it has to check every image. +
+ +
+
+ There is currently no pull data available to show the Updates state. If the Updates column is set to Ignore then no checks will be made for that container. If you want current data, please set all the Update Options to Check for updates or Auto update and click save at the bottom. Once that is done you can click the check all and select Update: Check or Pull from the list. This will take a minute or two as it has to check every image. +
- -
-
- - Real time updates: - + +
+
+
+ + + + + +
+
+ +
+
+ + + +
+
- - - - - - - - - - - - - - - - - $containerGroup['id']])['result']; - $groupCPU = $groupMemory = $groupContainerCount = 0; - - foreach ($processList as $process) { - $nameHash = md5($process['Names']); - - foreach ($groupContainers as $groupContainer) { - if ($nameHash == $groupContainer['hash']) { - $memUsage = floatval(str_replace('%', '', $process['stats']['MemPerc'])); - $groupMemory += $memUsage; - - $cpuUsage = floatval(str_replace('%', '', $process['stats']['CPUPerc'])); - if (intval($settingsTable['cpuAmount']) > 0) { - $cpuUsage = number_format(($cpuUsage / intval($settingsTable['cpuAmount'])), 2); +
+
+ + Real time updates: + +
+
+
+
+
NameUpdatesStateHealthMountsEnvironmentPortsCPU/MEM
+ + + + + + + + + + + + + + + + $containerGroup['id']])['result']; + $groupCPU = $groupMemory = $groupContainerCount = 0; + + foreach ($processList as $process) { + $nameHash = md5($process['Names']); + + foreach ($groupContainers as $groupContainer) { + if ($nameHash == $groupContainer['hash']) { + $memUsage = floatval(str_replace('%', '', $process['stats']['MemPerc'])); + $groupMemory += $memUsage; + + $cpuUsage = floatval(str_replace('%', '', $process['stats']['CPUPerc'])); + if (intval($settingsTable['cpuAmount']) > 0) { + $cpuUsage = number_format(($cpuUsage / intval($settingsTable['cpuAmount'])), 2); + } + $groupCPU += $cpuUsage; + + $groupContainerCount++; + } + } + } + ?> + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - -
NameUpdatesStateHealthMountsEnvironmentPortsCPU/MEM
+
+ Containers: +
      %
%
-
- Containers: -
      %
%
-
- - - - - -
- -
- - - -
- - -
-
- - -
-
+ ?> + + + + +
+ + +
+ + + + +
+
+ +