show sync progress as # of items

This commit is contained in:
Your Name 2021-10-11 21:16:13 -04:00
parent 8097ead947
commit 4d5799134a
4 changed files with 5 additions and 4 deletions

View file

@ -2073,7 +2073,7 @@ select::placeholder {
background-color: #d5d5d5;
border-radius: 0;
height: 10px;
width: 65%;
width: 54%;
}
.import-panel .import-panel__progress progress::-webkit-progress-bar {

File diff suppressed because one or more lines are too long

View file

@ -202,7 +202,8 @@ $(document).ready( function() {
if (!data.total_items == 0) {
progress.attr("max", data.total_items);
progress.attr("value", data.finished_items);
percent.text(Math.floor(100 * data.finished_items / data.total_items) + '%');
progress.attr("value", data.finished_items);
percent.text("" + data.finished_items + "/" + data.total_items);
}
setTimeout(() => {
poll();

View file

@ -236,7 +236,7 @@ $panel-padding : 0
background-color: $color-quaternary
border-radius: 0
height: 10px
width: 65%
width: 54%
progress::-webkit-progress-bar
background-color: $color-quaternary