Some changes in bootstrap style

This commit is contained in:
Hani Rouatbi
2022-11-20 21:07:17 +01:00
committed by GitHub
parent ac03d83e60
commit b726823298

View File

@@ -210,10 +210,14 @@
uploadProgress.classList.add("bg-success");
let newHTML = self.humanSize + " complete";
stats.innerHTML = newHTML;
loadbox.innerHTML = '';
html = "<div class=\"card mb-5\">\n<ul class=\"list-group list-group-flush\">\n";
loadbox.remove();
response.forEach(element => {
loadbox.innerHTML += element.i + '<hr><br>';
typeclass = element.t == 'index_info' ? '' : ' list-group-item-danger';
html += "<li class=\"list-group-item"+typeclass+"\">\n"+element.i+"</li>";
});
html += "</ul>";
speed.insertAdjacentHTML("afterend", html);
}
else if (this.readyState == 4 && this.status != 200)
{
@@ -233,4 +237,4 @@
}
</script>
</script>