first-pass of popups for job creation for more than just move files, and fix BUG-112 (after move highlighting is broken)

This commit is contained in:
2023-01-04 12:26:25 +11:00
parent 7e115902fc
commit c3971eb495
7 changed files with 21 additions and 12 deletions

View File

@@ -133,12 +133,6 @@
</div class="container-fluid">
</nav>
{% if GetMessage()|length %}
<div id="status" class="py-2 mx-1 alert alert-{{GetAlert()}}">
{{ GetMessage()|safe}}
{{ ClearStatus() }}
</div>
{% endif %}
{% if GetJM_Message() != None %}
{% set msg=GetJM_Message() %}
{% if request.endpoint != "fix_dups" and request.endpoint != "rm_dups" and request.endpoint != "stale_jobs" %}
@@ -178,6 +172,17 @@
</div>
</div>
</div>
{% if GetMessage()|length %}
<script>
$(document).ready(function() {
msg = "{{ GetMessage()|safe }}"
msg=msg.replace('href=', 'class=link-light href=')
$('.toast-body').html( msg )
$('.toast').toast("show");
} )
</script>
{{ ClearStatus() }}
{% endif %}
</body>
</html>
{% endif %}