diff --git a/functions.php b/functions.php
index 69fa4ce..995667f 100644
--- a/functions.php
+++ b/functions.php
@@ -148,7 +148,7 @@ function show_service_update($name, $update, $uptodate) {
if (!empty($update)) {
$arr = explode(" ",$update);
foreach ($arr as $container) {
- $str .= "
| ".$container." | UPDATE AVAILABLE | UPDATE |
";
+ $str .= " | ".$container." | UPDATE AVAILABLE | UPDATE |
";
}
}
diff --git a/manage.html b/manage.html
index 9ed8367..39af3fb 100644
--- a/manage.html
+++ b/manage.html
@@ -277,6 +277,23 @@ function get_updates() {
});
}
+function update(service) {
+ if (service=='framework') {
+ framework_upgrade();
+ }
+ else alert(service+' update under construction');
+}
+
+function framework_upgrade() {
+ var url = 'scan.php?op=upgrade';
+ jQuery.get(url, function(data) {
+ console.log('framework upgrade: '+data);
+ if (data=="OK") {
+ setTimeout(check_upgrade, 1000);
+ }
+ });
+}
+
function load_template(additional) {
jQuery("div.deployment").each(function(index) {