if we have current_file_num > 0 but dont know total in num_files, at least show count to show progress
This commit is contained in:
@@ -45,6 +45,9 @@
|
|||||||
<div class="progress" style="height:80%">
|
<div class="progress" style="height:80%">
|
||||||
<div class="progress-bar bg-info" role="progressbar" style="width: {{prog}}%;" aria-valuenow="{{prog}}" aria-valuemin="0" aria-valuemax="100">{{job.current_file_num}} of {{job.num_files}} - {{prog}}%</div>
|
<div class="progress-bar bg-info" role="progressbar" style="width: {{prog}}%;" aria-valuenow="{{prog}}" aria-valuemin="0" aria-valuemax="100">{{job.current_file_num}} of {{job.num_files}} - {{prog}}%</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% elif job.num_files == 0 and job.current_file_num > 0 %}
|
||||||
|
<label class="form-control-plaintext
|
||||||
|
col-lg-10">{{job.current_file_num}} of Unknown Total</label>
|
||||||
{% else %}
|
{% else %}
|
||||||
<label class="form-control-plaintext col-lg-10">N/A</label>
|
<label class="form-control-plaintext col-lg-10">N/A</label>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user