mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-29 23:26:00 +00:00
6f1197d633
HG : Enter commit message. Lines beginning with 'HG:' are removed.
75 lines
2 KiB
Smarty
75 lines
2 KiB
Smarty
{block name=content}
|
|
|
|
<div class="row-fluid">
|
|
<div class="box col-md-12">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<span class="icon-info-sign"></span>{$syncing_title}
|
|
</div>
|
|
<div class="panel-body">
|
|
<center>
|
|
<p>{$syncing_info}</p>
|
|
{if $shard eq "online"}
|
|
<div class="alert alert-success">
|
|
<span class="icon-refresh icon-white"></span>{$shard_online}<a href="#" id="sync" onclick="sync()">{$syncing_sync}</a>
|
|
<script>
|
|
function sync(){
|
|
xmlhttp=new XMLHttpRequest();
|
|
xmlhttp.open("POST","cron/sync_cron.php",true);
|
|
xmlhttp.send();
|
|
}
|
|
</script>
|
|
</div>
|
|
{else}
|
|
<div class="alert alert-error">
|
|
<strong><span class="icon-refresh icon-white"></span></strong> {$shard_offline}
|
|
</div>
|
|
{/if}
|
|
</center>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row-fluid sortable">
|
|
<div class="box col-md-12">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading" data-original-title>
|
|
<span class="icon-user"></span> {$members}
|
|
</div>
|
|
<div class="panel-body">
|
|
<table class="table table-striped table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>{$id}</th>
|
|
<th>{$type}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{foreach from=$liblist item=element}
|
|
<tr>
|
|
<td>{$element.id}</td>
|
|
<td class="center">{$element.type}</td>
|
|
|
|
|
|
</tr>
|
|
{/foreach}
|
|
|
|
</tbody>
|
|
</table>
|
|
<div style="width: 300px; margin:0px auto;">
|
|
<ul class="pagination">
|
|
<li><a href="index.php?page=syncing&pagenum=1">«</a></li>
|
|
{foreach from=$links item=link}
|
|
<li {if $link == $currentPage}class="active"{/if}><a href="index.php?page=syncing&pagenum={$link}">{$link}</a></li>
|
|
{/foreach}
|
|
<li><a href="index.php?page=syncing&pagenum={$lastPage}">»</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!--/span-->
|
|
|
|
</div><!--/row-->
|
|
{/block}
|
|
|