lots of cucc
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
root
2024-11-26 18:40:46 +01:00
parent 8f48a99184
commit c0d7365c0f
4 changed files with 77 additions and 34 deletions

View File

@@ -94,10 +94,13 @@
function check_repositories() {
var url = 'scan.php?op=check_repositories';
jQuery.get(url, function(data) {
if (data!="") {
jQuery("#repositories").html(data);
console.log('check_repositories: '+data);
if (data=="WAIT" || data=="") {
setTimeout(check_repositories, 500);
}
else {
jQuery("#repositories").html(data);
}
else setTimeout(check_repositories, 500);
});
}
@@ -107,6 +110,7 @@ function get_repositories() {
if (data=="OK") {
setTimeout(check_repositories, 500);
}
else alert(data);
});
}
@@ -137,6 +141,7 @@ function get_system() {
if (data=="OK") {
setTimeout(check_system, 1000);
}
else alert(data);
});
}
@@ -296,9 +301,9 @@ function get_containers() {
jQuery(document).ready(function(){
get_deployments();
get_system();
get_repositories();
get_deployments();
get_services();
jQuery('#settings_btn').click(function() {