remove -lg- / bootstrap 5
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
</svg>
|
||||
|
||||
<div class="container-fluid">
|
||||
<h3 class="offset-lg-2">{{page_title}}</h3>
|
||||
<h3 class="offset-2">{{page_title}}</h3>
|
||||
<div class="row">
|
||||
<form id="psform" class="d-flex justify-content-center form-inline" method="POST" action="">
|
||||
<input type="hidden" name="fe_msg_id" value="{{fe_msg_id}}"></input>
|
||||
@@ -71,7 +71,7 @@
|
||||
}
|
||||
</script>
|
||||
<div class="row">
|
||||
<form class="form form-inline col-lg-12" action="{{url_for('rm_dups')}}" method="POST">
|
||||
<form class="form form-inline col-12" action="{{url_for('rm_dups')}}" method="POST">
|
||||
{# pass this through so that the back-end can delete this message when it rm_dups #}
|
||||
<input type="hidden" name="fe_msg_id" value={{fe_msg_id}}>
|
||||
{% set auto=namespace(str="") %}
|
||||
@@ -93,7 +93,7 @@
|
||||
{% set all_count.k_files = all_count.k_files + count.keep %}
|
||||
{% set all_count.d_files = all_count.d_files + count.del %}
|
||||
{% endif %}
|
||||
<h5 class="col-lg-12">Choose between these files:</h5>
|
||||
<h5 class="col-12">Choose between these files:</h5>
|
||||
{% set count=namespace( del=0, keep=0, man_del=0, man_keep=0 ) %}
|
||||
{% for dups in DD.per_file_dups %}
|
||||
{% set outer_loop=loop.index %}
|
||||
@@ -123,7 +123,7 @@
|
||||
{% endif %}
|
||||
{% if page.cnt <= pagesize %}
|
||||
{% if loop.index == 1 %}
|
||||
<div class="col-lg-12 py-2">
|
||||
<div class="col-12 py-2">
|
||||
{% set kfid.count = kfid.count+1 %}
|
||||
<input type="hidden" name="kfhash-{{kfid.count}}" value="{{dup.h}}">
|
||||
<input type="hidden" id="kfid-{{kfid.count}}" name="kfid-{{kfid.count}}" value="">
|
||||
@@ -140,7 +140,7 @@
|
||||
F[{{kfid.count}}{{loop.index}}]="{{dup.id}}"
|
||||
</script>
|
||||
{% if loop.index == dups|length %}
|
||||
</div class="col-lg-12">
|
||||
</div class="col-12">
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
@@ -175,8 +175,8 @@
|
||||
{% set count.m_files = count.m_files + dup.hashes|wordcount %}
|
||||
{% set count.m_dirs = count.m_dirs +1 %}
|
||||
{% if page.cnt <= pagesize %}
|
||||
<div class="col-lg-12 py-2">
|
||||
<h5 class="col-lg-12 mt-3">Choose path to KEEP (same file names in 2 different directories):</h5>
|
||||
<div class="col-12 py-2">
|
||||
<h5 class="col-12 mt-3">Choose path to KEEP (same file names in 2 different directories):</h5>
|
||||
{{dup.count}} duplicates in:
|
||||
{% if dup.d1 == "" %}
|
||||
{% set d1="/" %}
|
||||
@@ -203,7 +203,7 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if count.keep_d %}
|
||||
<div class="col-lg-12">
|
||||
<div class="col-12">
|
||||
{% set auto.str = auto.str + "<li>Keeping {} files in {} paths, Deleting={} file in {} paths</li>".format( count.keep_f, count.keep_d, count.keep_f, count.keep_d) %}
|
||||
{% set all_count.k_files = all_count.k_files + count.keep_f %}
|
||||
{% set all_count.d_files = all_count.d_files + count.keep_f %}
|
||||
@@ -224,7 +224,7 @@ So by counting/double-check, uniq files kept = {{all_count.k_files+all_count.mk_
|
||||
#}
|
||||
</alert>
|
||||
{% endif %}
|
||||
<div class="col-lg-12"></div>
|
||||
<div class="col-12"></div>
|
||||
<input class="btn btn-danger mt-2" type="submit" value="Delete Duplicates">
|
||||
</form>
|
||||
</div class="row">
|
||||
|
||||
Reference in New Issue
Block a user