Linux multi-monitor fullscreen support
[ryzomcore.git] / web / public_php / ams / templates / syncing.tpl
blob8fc161e0ee6bb1ddc7ced23096d36cf717671cc3
1 {block name=content}
3         <div class="row-fluid">
4                 <div class="box col-md-12">
5                 <div class="panel panel-default">
6                         <div class="panel-heading">
7                                 <span class="icon-info-sign"></span>{$syncing_title}
8                         </div>
9                         <div class="panel-body">
10                                 <center>
11                                 <p>{$syncing_info}</p>
12                                 {if $shard eq "online"}
13                                 <div class="alert alert-success">
14                                         <span class="icon-refresh icon-white"></span>{$shard_online}<a href="#" id="sync" onclick="sync()">{$syncing_sync}</a>
15                                         <script>
16                                                 function sync(){
17                                                         xmlhttp=new XMLHttpRequest();
18                                                         xmlhttp.open("POST","cron/sync_cron.php",true);
19                                                         xmlhttp.send();
20                                                 }
21                                         </script>
22                                 </div>
23                                 {else}
24                                 <div class="alert alert-error">
25                                         <strong><span class="icon-refresh icon-white"></span></strong> {$shard_offline}
26                                 </div>
27                                 {/if}
28                                 </center>
29                                 <div class="clearfix"></div>
30                         </div>
31                         </div>
32                 </div>
33         </div>
34                         <div class="row-fluid sortable">
35                                 <div class="box col-md-12">
36                                 <div class="panel panel-default">
37                                         <div class="panel-heading" data-original-title>
38                                                 <span class="icon-user"></span> {$members}
39                                         </div>
40                                         <div class="panel-body">
41                                                 <table class="table table-striped table-bordered">
42                                                   <thead>
43                                                           <tr>
44                                                                   <th>{$id}</th>
45                                                                   <th>{$type}</th>
46                                                           </tr>
47                                                   </thead>
48                                                   <tbody>
49                                                         {foreach from=$liblist item=element}
50                                                         <tr>
51                                                                 <td>{$element.id}</td>
52                                                                 <td class="center">{$element.type}</td>
55                                                         </tr>
56                                                         {/foreach}
58                                                   </tbody>
59                                           </table>
60                                                 <div style="width: 300px; margin:0px auto;">
61                                                         <ul class="pagination">
62                                                                 <li><a href="index.php?page=syncing&pagenum=1">&laquo;</a></li>
63                                                                 {foreach from=$links item=link}
64                                                                 <li {if $link == $currentPage}class="active"{/if}><a href="index.php?page=syncing&pagenum={$link}">{$link}</a></li>
65                                                                 {/foreach}
66                                                                 <li><a href="index.php?page=syncing&pagenum={$lastPage}">&raquo;</a></li>
67                                                         </ul>
68                                                 </div>
69                                         </div>
70                                         </div>
71                                 </div><!--/span-->
73                         </div><!--/row-->
74 {/block}