making this look usable on ipad and okay on larger desktop browser

This commit is contained in:
2021-06-18 00:40:40 +10:00
parent beb1ae6eb8
commit 9e5e74bcdb
2 changed files with 3 additions and 3 deletions

View File

@@ -42,7 +42,7 @@
{% if job.num_files and job.num_files > 0 %} {% if job.num_files and job.num_files > 0 %}
<div class="col-lg-10 px-0"> <div class="col-lg-10 px-0">
{% set prog=(job.current_file_num/job.num_files*100)|round|int %} {% set prog=(job.current_file_num/job.num_files*100)|round|int %}
<div class="progress" style="height:80%"> <div class="progress mt-2" style="height:24px">
<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 %} {% elif job.num_files == 0 and job.current_file_num > 0 %}

View File

@@ -10,7 +10,7 @@
row='<tr><td><a href="{{url_for('joblog', id=job.id)}}">Job #{{job.id}} - {{job.name}}</a>' row='<tr><td><a href="{{url_for('joblog', id=job.id)}}">Job #{{job.id}} - {{job.name}}</a>'
{% if job.name != "rmdups" %} {% if job.name != "rmdups" %}
{% for ex in job.extra %} {% for ex in job.extra %}
{% if 'path' in ex.name %} {% if 'path' == ex.name or ('path_prefix'==ex.name and job.name == 'checkdups') %}
row+=' ({{ex.name}} == {{ ex.value }})' row+=' ({{ex.name}} == {{ ex.value }})'
{% endif %} {% endif %}
{% endfor %} {% endfor %}
@@ -20,7 +20,7 @@
{% if job.num_files and job.num_files > 0 %} {% if job.num_files and job.num_files > 0 %}
{% set prog=(job.current_file_num/job.num_files*100)|round|int %} {% set prog=(job.current_file_num/job.num_files*100)|round|int %}
row +=` row +=`
<div class="progress" style="line-height:2"> <div class="progress">
<div class="progress-bar bg-info" role="progressbar" style="width: {{prog}}%;" aria-valuenow="{{prog}}" aria-valuemin="0" aria-valuemax="100"> <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}}% {{job.current_file_num}} of {{job.num_files}} - {{prog}}%
</div> </div>