2013-06-29 04:46:10 +00:00
|
|
|
{block name=content}
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
<div class="box span12">
|
|
|
|
<div class="box-header well">
|
2013-08-05 03:37:18 +00:00
|
|
|
<h2><i class="icon-info-sign"></i>{$syncing_title}</h2>
|
2013-06-29 04:46:10 +00:00
|
|
|
<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">
|
2013-06-29 17:05:54 +00:00
|
|
|
<center>
|
2013-08-05 03:37:18 +00:00
|
|
|
<p>{$syncing_info}</p>
|
2013-06-29 17:05:54 +00:00
|
|
|
{if $shard eq "online"}
|
|
|
|
<div class="alert alert-success">
|
2013-08-05 03:37:18 +00:00
|
|
|
<i class="icon-refresh icon-white"></i>{$shard_online}<a href="#" id="sync" onclick="sync()">{$syncing_sync}</a>
|
2013-06-29 18:46:38 +00:00
|
|
|
<script>
|
|
|
|
function sync(){
|
|
|
|
xmlhttp=new XMLHttpRequest();
|
|
|
|
xmlhttp.open("POST","../../../ams_lib/cron/sync_cron.php",true);
|
|
|
|
xmlhttp.send();
|
|
|
|
}
|
|
|
|
</script>
|
2013-06-29 17:05:54 +00:00
|
|
|
</div>
|
|
|
|
{else}
|
|
|
|
<div class="alert alert-error">
|
|
|
|
<strong><i class="icon-refresh icon-white"></i></strong> {$shard_offline}
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
</center>
|
2013-06-29 04:46:10 +00:00
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-06-29 17:05:54 +00:00
|
|
|
<div class="row-fluid sortable">
|
|
|
|
<div class="box span12">
|
|
|
|
<div class="box-header well" data-original-title>
|
2013-06-29 18:46:38 +00:00
|
|
|
<h2><i class="icon-user"></i> {$members}</h2>
|
2013-06-29 17:05:54 +00:00
|
|
|
<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">
|
2013-08-05 03:27:19 +00:00
|
|
|
<table class="table table-striped table-bordered">
|
2013-06-29 17:05:54 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2013-06-29 18:46:38 +00:00
|
|
|
<th>{$id}</th>
|
|
|
|
<th>{$type}</th>
|
2013-06-29 17:05:54 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{foreach from=$liblist item=element}
|
|
|
|
<tr>
|
|
|
|
<td>{$element.id}</td>
|
|
|
|
<td class="center">{$element.type}</td>
|
2013-07-03 04:03:01 +00:00
|
|
|
|
2013-06-29 17:05:54 +00:00
|
|
|
|
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
|
|
|
|
</tbody>
|
2013-08-05 03:27:19 +00:00
|
|
|
</table>
|
|
|
|
<div style="width: 300px; margin:0px auto;">
|
|
|
|
<ul class="pagination">
|
2013-08-05 03:37:18 +00:00
|
|
|
<li><a href="index.php?page=syncing&pagenum=1">«</a></li>
|
2013-08-05 03:27:19 +00:00
|
|
|
{foreach from=$links item=link}
|
2013-08-05 03:37:18 +00:00
|
|
|
<li {if $link == $currentPage}class="active"{/if}><a href="index.php?page=syncing&pagenum={$link}">{$link}</a></li>
|
2013-08-05 03:27:19 +00:00
|
|
|
{/foreach}
|
2013-08-05 03:37:18 +00:00
|
|
|
<li><a href="index.php?page=syncing&pagenum={$lastPage}">»</a></li>
|
2013-08-05 03:27:19 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2013-06-29 17:05:54 +00:00
|
|
|
</div>
|
|
|
|
</div><!--/span-->
|
|
|
|
|
|
|
|
</div><!--/row-->
|
2013-06-29 04:46:10 +00:00
|
|
|
{/block}
|
|
|
|
|