mirror of
https://github.com/simon987/Simple-Incremental-Search-Tool.git
synced 2025-12-14 07:39:05 +00:00
bulk indexing
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
{# todo: box-shadow 0 1px 10px 1px #1AC8DE#}
|
||||
</style>
|
||||
</head>
|
||||
<body class="keen-dashboard" style="padding-top: 80px;">
|
||||
<body>
|
||||
|
||||
<div>
|
||||
<span>Navbar1</span>
|
||||
|
||||
@@ -75,8 +75,15 @@
|
||||
var percent = currentTask.parsed / currentTask.total * 100;
|
||||
|
||||
try {
|
||||
document.getElementById("task-bar-" + currentTask.id).setAttribute("style", "width: " + percent + "%;");
|
||||
|
||||
var bar = document.getElementById("task-bar-" + currentTask.id);
|
||||
bar.setAttribute("style", "width: " + percent + "%;");
|
||||
document.getElementById("task-label-" + currentTask.id).innerHTML = currentTask.parsed + " / " + currentTask.total + " (" + percent.toFixed(2) + "%)";
|
||||
|
||||
if (percent === 100) {
|
||||
bar.classList.add("bg-success")
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
window.reload();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user