Add pleaseWaitDialog and functions to use it

This commit is contained in:
Benjamin Renard 2014-01-12 20:33:11 +01:00
parent 50b4cadb72
commit f92011ac52
2 changed files with 21 additions and 0 deletions

View file

@ -532,6 +532,17 @@ on_click_logoff_btn=function() {
logged_out_menu();
}
/*******************
* pleaseWaitDialog
*******************/
pleaseWaitShow=function() {
$('#pleaseWaitDialog').modal('show');
}
pleaseWaitHide=function() {
$('#pleaseWaitDialog').modal('hide');
}
/*********************
* Activate

View file

@ -399,6 +399,16 @@ 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) -->