Fix please wait modal

This commit is contained in:
Benjamin Renard 2014-01-12 21:09:32 +01:00
parent 5d8df9bdfe
commit 1c0c2629ae
2 changed files with 19 additions and 14 deletions

View file

@ -544,11 +544,11 @@ on_click_logoff_btn=function() {
*******************/
pleaseWaitShow=function() {
$('#pleaseWaitDialog').modal('show');
$('#please_wait_modal').modal('show');
}
pleaseWaitHide=function() {
$('#pleaseWaitDialog').modal('hide');
$('#please_wait_modal').modal('hide');
}
/*********************

View file

@ -338,6 +338,22 @@ body{
</div><!-- /.modal-dialog -->
</div>
<div class="modal fade" id="please_wait_modal" tabindex="-1" role="dialog" aria-labelledby="pleaseWaitModal" aria-hidden="true" data-keyboard='false' data-backdrop='static'>
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title">Chargement...</h2>
</div>
<div class="modal-body">
<div class="progress progress-striped active">
<div class="progress-bar" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
<span class="sr-only">Chargement...</span>
</div>
</div>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div>
<div class="modal fade" id="confirm_modal" tabindex="-1" role="dialog" aria-labelledby="confirmModal" aria-hidden="true">
<div class="modal-dialog">
@ -399,17 +415,6 @@ body{
</div><!-- /.modal-dialog -->
</div>
<div class="modal hide" id="pleaseWaitDialog" data-backdrop="static" data-keyboard="false">
<div class="modal-header">
<h1>Chargement...</h1>
</div>
<div class="modal-body">
<div class="progress progress-striped active">
<div class="bar" style="width: 100%;"></div>
</div>
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="inc/lib/jquery-1.10.2.min.js"></script>