diff --git a/functions.php b/functions.php
index 1325c2c..7f84f78 100644
--- a/functions.php
+++ b/functions.php
@@ -161,7 +161,7 @@ function show_service($name, $containers) {
function show_service_update($name, $update, $uptodate) {
$str = '
';
- $str .= "{$name} | Container name | Status | Action |
";
+ $str .= "{$name} |
";
$update = trim($update);
if (!empty($update)) {
diff --git a/scan.php b/scan.php
index d34f639..33c7fa2 100644
--- a/scan.php
+++ b/scan.php
@@ -45,6 +45,7 @@ switch ($_GET["op"]) {
if ($data["INSTALL_STATUS"]==2) echo "NEW";
elseif ($data["INSTALL_STATUS"]==1) {
if ($_GET["services"]==1) {
+ echo "Service/Container | Image | Status | Action |
";
foreach ($data["INSTALLED_SERVICES"] as $service_name => $object) {
//echo base64_decode($content);
show_service($service_name, $object["running"]);
@@ -74,10 +75,10 @@ switch ($_GET["op"]) {
if ($key=="services") {
if ($data["INSTALL_STATUS"]==2) echo "NEW";
elseif ($data["INSTALL_STATUS"]==1) {
- echo "Service/Container | Image | Status | Action |
";
+ echo "Service/Container | Image | Status | Action |
";
foreach ($data["INSTALLED_SERVICES"] as $service_name => $object) {
//echo base64_decode($object["content"]);
- show_service($service_name, $object["running"].":Up");
+ show_service($service_name, $object["running"]);
}
echo "
";
}
@@ -101,6 +102,7 @@ switch ($_GET["op"]) {
foreach ($arr as $key=>$data) {
if ($key=="updates") {
if ($data["INSTALL_STATUS"]==1) {
+ echo "Service/Container | Image | Status | Action |
";
foreach ($data["INSTALLED_SERVICES"] as $service_name => $object) {
show_service_update($service_name, trim($object["update"]), trim($object["uptodate"]));
}