Add pleaseWaitDialog and functions to use it
This commit is contained in:
parent
50b4cadb72
commit
f92011ac52
2 changed files with 21 additions and 0 deletions
11
inc/myco.js
11
inc/myco.js
|
@ -532,6 +532,17 @@ on_click_logoff_btn=function() {
|
||||||
logged_out_menu();
|
logged_out_menu();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*******************
|
||||||
|
* pleaseWaitDialog
|
||||||
|
*******************/
|
||||||
|
|
||||||
|
pleaseWaitShow=function() {
|
||||||
|
$('#pleaseWaitDialog').modal('show');
|
||||||
|
}
|
||||||
|
|
||||||
|
pleaseWaitHide=function() {
|
||||||
|
$('#pleaseWaitDialog').modal('hide');
|
||||||
|
}
|
||||||
|
|
||||||
/*********************
|
/*********************
|
||||||
* Activate
|
* Activate
|
||||||
|
|
10
index.html
10
index.html
|
@ -399,6 +399,16 @@ body{
|
||||||
</div><!-- /.modal-dialog -->
|
</div><!-- /.modal-dialog -->
|
||||||
</div>
|
</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>
|
</div>
|
||||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||||
|
|
Loading…
Reference in a new issue