mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-28 03:40:54 +00:00
83 lines
2.6 KiB
Smarty
83 lines
2.6 KiB
Smarty
|
{block name=content}
|
||
|
|
||
|
<div class="row-fluid">
|
||
|
<div class="box span12">
|
||
|
<div class="box-header well">
|
||
|
<h2><i class="icon-info-sign"></i>{$syncing_title}</h2>
|
||
|
<div class="box-icon">
|
||
|
<a href="#" class="btn btn-round" onclick="javascript:show_help('intro');return false;"><i class="icon-info-sign"></i></a>
|
||
|
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
|
||
|
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
|
||
|
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="box-content">
|
||
|
<center>
|
||
|
<p>{$syncing_info}</p>
|
||
|
{if $shard eq "online"}
|
||
|
<div class="alert alert-success">
|
||
|
<i class="icon-refresh icon-white"></i>{$shard_online}<a href="#" id="sync" onclick="sync()">{$syncing_sync}</a>
|
||
|
<script>
|
||
|
function sync(){
|
||
|
xmlhttp=new XMLHttpRequest();
|
||
|
xmlhttp.open("POST","../../../ams_lib/cron/sync_cron.php",true);
|
||
|
xmlhttp.send();
|
||
|
}
|
||
|
</script>
|
||
|
</div>
|
||
|
{else}
|
||
|
<div class="alert alert-error">
|
||
|
<strong><i class="icon-refresh icon-white"></i></strong> {$shard_offline}
|
||
|
</div>
|
||
|
{/if}
|
||
|
</center>
|
||
|
<div class="clearfix"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row-fluid sortable">
|
||
|
<div class="box span12">
|
||
|
<div class="box-header well" data-original-title>
|
||
|
<h2><i class="icon-user"></i> {$members}</h2>
|
||
|
<div class="box-icon">
|
||
|
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
|
||
|
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
|
||
|
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="box-content">
|
||
|
<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><!--/span-->
|
||
|
|
||
|
</div><!--/row-->
|
||
|
{/block}
|
||
|
|