Compare commits
2 Commits
7b09b19e81
...
594a430eb9
Author | SHA1 | Date | |
---|---|---|---|
594a430eb9 | |||
ae4a031584 |
@@ -141,7 +141,7 @@ function show_service($name, $containers) {
|
||||
}
|
||||
|
||||
function show_service_update($name, $update, $uptodate) {
|
||||
$str = '<table id="'.$name.'">';
|
||||
$str = '<table id="update_'.$name.'">';
|
||||
$str .= "<tr><th>{$name}</th></tr>";
|
||||
|
||||
$update = trim($update);
|
||||
|
13
manage.html
13
manage.html
@@ -284,6 +284,19 @@ function update(service) {
|
||||
else alert(service+' update under construction');
|
||||
}
|
||||
|
||||
function check_upgrade() {
|
||||
var url = 'scan.php?op=check_upgrade';
|
||||
jQuery.get(url, function(data) {
|
||||
console.log('check_upgrade: '+data);
|
||||
if (data=="WAIT" || data=="") {
|
||||
setTimeout(check_upgrade, 1000);
|
||||
}
|
||||
else {
|
||||
// TODO
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function framework_upgrade() {
|
||||
var url = 'scan.php?op=upgrade';
|
||||
jQuery.get(url, function(data) {
|
||||
|
Reference in New Issue
Block a user