diff --git a/common.js b/common.js
index ea7a165..aee3e85 100644
--- a/common.js
+++ b/common.js
@@ -18,13 +18,13 @@ function check_deployments() {
console.log(data[k]);
service_name = data[k].name;
orig_service_name = data[k].orig_name;
- content = data[k].content;
+ version = data[k].version;
installed = data[k].installed;
if (installed=='true') {
- html_data += '
';
+ html_data += '';
}
else {
- html_data += '';
+ html_data += '';
}
html_data += '';
}
diff --git a/functions.php b/functions.php
index 5eb1d9d..a1e219d 100644
--- a/functions.php
+++ b/functions.php
@@ -141,23 +141,24 @@ function show_service($name, $containers) {
}
function show_service_update($name, $update, $uptodate, $error) {
- $str = '';
- $str .= "{$name} |
";
+ $str = "";
$update = trim($update);
if (!empty($update)) {
$arr = explode(" ",$update);
foreach ($arr as $container) {
- $str .= " | ".$container." | UPDATE AVAILABLE | UPDATE |
";
+ $str .= " | ".$container." | UPDATE AVAILABLE | |
";
}
+ $update_str = "UPDATE";
}
$uptodate = trim($uptodate);
if (!empty($uptodate)) {
$arr = explode(" ",$uptodate);
foreach ($arr as $container) {
- $str .= " | ".$container." | Already up to date | FORCE UPDATE |
";
+ $str .= " | ".$container." | Already up to date | |
";
}
+ $update_str = "FORCE UPDATE";
}
$error = trim($error);
@@ -165,13 +166,15 @@ function show_service_update($name, $update, $uptodate, $error) {
$arr = explode(" ",$error);
foreach ($arr as $container) {
//$str .= " | ".$container." | N/A | |
";
- $str .= " | ".$container." | N/A | TRY UPDATE |
";
+ $str .= " | ".$container." | N/A | |
";
}
+ $update_str = "TRY UPDATE";
}
- $str .= '
';
-
+ echo '';
+ echo "{$name} | | | {$update_str} |
";
echo $str;
+ echo '
';
}
// not in use
diff --git a/installer.css b/installer.css
index b67477d..deb9ca8 100644
--- a/installer.css
+++ b/installer.css
@@ -1,5 +1,5 @@
.hidden {display:none}
-fieldset {border: 1px solid #049dff; padding-left: 40px; padding-right: 20px}
+fieldset {border: 1px solid #049dff; padding-left: 40px; padding-right: 20px; border-radius: 10px; width: 100%}
legend {width: auto;text-align: left !important; padding: 10px; color: #049dff;}
fieldset.sub_block {border: 1px solid black; margin:-20px 0px 20px -15px}
fieldset.sub_block legend {color: black}
diff --git a/manage.html b/manage.html
index a453a1c..79c8cb4 100644
--- a/manage.html
+++ b/manage.html
@@ -8,7 +8,7 @@
-
+
@@ -152,6 +152,6 @@
-
+