diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-11-18 12:02:37 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:23:19 +0100 |
commit | f1870b5c9f1c99b1669907b0fc1a431233f3a047 (patch) | |
tree | 91de12eabb300e993f19b4f51bc1f7450629c9c1 /ishtar_common/templates | |
parent | 54088bebcad32ce911ea681147121504ba2da371 (diff) | |
download | Ishtar-f1870b5c9f1c99b1669907b0fc1a431233f3a047.tar.bz2 Ishtar-f1870b5c9f1c99b1669907b0fc1a431233f3a047.zip |
Imports: display post-process advance
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r-- | ishtar_common/templates/ishtar/import_table.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ishtar_common/templates/ishtar/import_table.html b/ishtar_common/templates/ishtar/import_table.html index 62c32f657..310e1c84d 100644 --- a/ishtar_common/templates/ishtar/import_table.html +++ b/ishtar_common/templates/ishtar/import_table.html @@ -87,13 +87,13 @@ $("#import-list").find('input').prop('disabled', true); <a href='{{import.match_file.url}}'>{% trans "File" context "not a directory" %}</a> {% endif %}</td> </tr> - {% if import.state == 'IP' and import.current_line %} + {% if import.state == 'IP' or import.state == 'PP' and import.current_line %} <tr> - <td colspan="10"> - <div class="progress"> - <div class="progress-bar progress-bar-striped bg-success progress-bar-animated" role="progressbar" + <td colspan="11"> + <div class="progress bg-secondary"> + <div class="progress-bar progress-bar-striped {% if import.state == 'IP'%}bg-success{% else %}bg-info{% endif %} progress-bar-animated" role="progressbar" aria-valuenow="{{import.current_line}}" aria-valuemin="0" aria-valuemax="{{import.number_of_line}}" style="width: {{import.progress_percent}}%"> - {{import.current_line}} / {{import.number_of_line}} + {{import.current_line}} / {{import.number_of_line}} </div> </div> </td> |