Line | |
---|
1 | {if isset($waiting)} |
---|
2 | <div class="content-progress" id="content-progress" style="display:none;"> |
---|
3 | <div id="conteneur" style="display:none; width:auto; height:50px;"> |
---|
4 | <div class="progress" id="progress" style="width:0%; height: 50px; background-color:white"> |
---|
5 | <div class="progress-barre"> |
---|
6 | <div id="pourcentage" style="font-size:30px"> </div> |
---|
7 | </div> |
---|
8 | </div> |
---|
9 | </div> |
---|
10 | |
---|
11 | <script>document.getElementById('content-progress').style.display = "block";</script> |
---|
12 | <script>document.getElementById('conteneur').style.display = "block";</script> |
---|
13 | |
---|
14 | <script> |
---|
15 | document.getElementById('pourcentage').innerHTML='{$waiting}%'; |
---|
16 | document.getElementById('progress').style.width='{$waiting}%'; |
---|
17 | </script> |
---|
18 | </div> |
---|
19 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.