diff --git a/functions.php b/functions.php
index 952f814..83e4374 100644
--- a/functions.php
+++ b/functions.php
@@ -146,39 +146,37 @@ function get_vpn_url($domain,$passkey) {
}
function show_service($name, $containers) {
- $str = '
'.$name."
";
- $str .= '';
+ $str = '
';
+ $str .= "{$name} | Container name | Status | Action |
";
$containers = trim($containers);
$arr = explode(" ",$containers);
foreach ($arr as $container) {
- $str .= $container."
";
+ $c_arr = explode(":",$container);
+ $str .= " | ".$c_arr[0]." | ".$c_arr[1]." | RESTART |
";
}
- $str .= '';
+ $str .= '
';
echo $str;
}
function show_service_update($name, $update, $uptodate) {
- $str = '
'.$name."
";
+ $str = '
';
+ $str .= "{$name} | Container name | Status | Action |
";
$update = trim($update);
if (!empty($update)) {
- $str .= '';
$arr = explode(" ",$update);
foreach ($arr as $container) {
- $str .= $container." - UPDATE AVAILABLE
";
+ $str .= "
| ".$container." | UPDATE AVAILABLE | UPDATE |
";
}
- $str .= '';
}
$uptodate = trim($uptodate);
if (!empty($uptodate)) {
- $str .= '';
$arr = explode(" ",$uptodate);
foreach ($arr as $container) {
- $str .= $container." - Already up to date
";
+ $str .= "
| ".$container." | Already up to date | |
";
}
- $str .= '';
}
echo $str;
diff --git a/installer.css b/installer.css
index fedf5f3..1d66551 100644
--- a/installer.css
+++ b/installer.css
@@ -6,6 +6,10 @@ fieldset.sub_block legend {color: black}
h1 { color: #049dff; margin-top:50px;}
a.stop {font-weight:bold; text-decoration:none; font-size:30px}
+table {border: 1px solid #049dff; width:100%;}
+table th {padding-left: 20px; color: #049dff; width: 25%;}
+table td {padding-left: 20px; text-align:left; width: 25%;}
+
body#scan{
/* background-color: #7E57C2; */
}
diff --git a/manage.html b/manage.html
index 408c88e..9f36b22 100644
--- a/manage.html
+++ b/manage.html
@@ -8,7 +8,7 @@
-
+
@@ -67,7 +67,7 @@