2016-04-26 08:30:48 +00:00
|
|
|
{% load i18n %}
|
|
|
|
<!-- Please wait dialog -->
|
|
|
|
<div class="modal fade" id="pleaseWaitDialog" tabindex="-1" role="dialog" aria-labelledby="pleaseWaitDialogLabel" data-backdrop="static" data-keyboard="false">
|
|
|
|
<div class="modal-dialog modal-sm">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
2020-05-19 16:53:54 +00:00
|
|
|
<h5 class="modal-title">{% trans "Processing" %}...</h5>
|
2016-04-26 08:30:48 +00:00
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<div class="progress">
|
2020-05-21 13:16:21 +00:00
|
|
|
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width:100%">
|
2016-04-26 08:30:48 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
function showPleaseWaitDialog() {
|
|
|
|
$('#pleaseWaitDialog').modal();
|
2017-03-09 14:14:38 +00:00
|
|
|
backgroundJobRunning = true;
|
2016-04-26 08:30:48 +00:00
|
|
|
}
|
|
|
|
function hidePleaseWaitDialog() {
|
|
|
|
$('#pleaseWaitDialog').modal('hide');
|
2017-03-09 14:14:38 +00:00
|
|
|
backgroundJobRunning = false;
|
2016-04-26 08:30:48 +00:00
|
|
|
}
|
|
|
|
</script>
|