more bootstrap 5 fixes

This commit is contained in:
2021-07-22 19:51:07 +10:00
parent 2064e02ae8
commit e9020373c6

View File

@@ -35,7 +35,7 @@
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<h5 id="dbox-title" class="modal-title"></h5> <h5 id="dbox-title" class="modal-title"></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
</div> </div>
@@ -121,7 +121,7 @@
</nav> </nav>
{% if GetMessage()|length %} {% if GetMessage()|length %}
<div id="status" class="row alert alert-{{GetAlert()}}"> <div id="status" class="py-2 mx-1 alert alert-{{GetAlert()}}">
{{ GetMessage()|safe}} {{ GetMessage()|safe}}
{{ ClearStatus() }} {{ ClearStatus() }}
</div> </div>
@@ -129,7 +129,7 @@
{% if GetJM_Message() != None %} {% if GetJM_Message() != None %}
{% set msg=GetJM_Message() %} {% set msg=GetJM_Message() %}
{% if request.endpoint != "fix_dups" and request.endpoint != "rm_dups" %} {% if request.endpoint != "fix_dups" and request.endpoint != "rm_dups" %}
<div class="row alert alert-{{msg.alert}}"> <div class="py-2 mx-1 alert alert-{{msg.alert}}">
{% if msg.job_id %} {% if msg.job_id %}
<a href="{{url_for('joblog', id=msg.job_id)}}">Job #{{msg.job_id}}</a>: <a href="{{url_for('joblog', id=msg.job_id)}}">Job #{{msg.job_id}}</a>:
{% endif %} {% endif %}