64 lines
2.4 KiB
PHTML
64 lines
2.4 KiB
PHTML
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle('后台管理');
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
|
$this->theme->AppendPlus($this,'colorbox');
|
|
?>
|
|
<div class="row">
|
|
<div class="hidden-sm hidden-xs col-md-2">
|
|
<?= $this->partial('sys/left.phtml'); ?>
|
|
</div>
|
|
<div class="col-md-10 col-sm-12">
|
|
<div class="form-group">
|
|
<ul class="nav nav-tabs">
|
|
<li id="btn-online"><a href="/admin/sys/recovery/ac/online">在线数据</a></li>
|
|
<li id="btn-heihe" ><a href="/admin/sys/recovery/ac/heihe">黑河专题数据</a></li>
|
|
<li id="btn-water" ><a href="/admin/sys/recovery/ac/water">WATER</a></li>
|
|
<li id="btn-westee"><a href="/admin/sys/recovery/ac/westee">西部计划</a></a></li>
|
|
<li id="btn-hiwater"><a href="/admin/sys/recovery/ac/hiwater">Hiwater</a></a></li>
|
|
<li id="btn-heihe1"><a href="/admin/sys/recovery/ac/heihe1">黑河计划未发布数据</a></li>
|
|
<li id="btn-other" ><a href="/admin/sys/recovery/ac/other">其他数据</a></li>
|
|
</ul>
|
|
</div>
|
|
<table class="stylized table table-bordered table-striped table-hover">
|
|
<thead><tr>
|
|
<th>数据标题</th>
|
|
<th>UUID</th>
|
|
<th>FTP主机</th>
|
|
<th>路径</th>
|
|
<th>大小</th>
|
|
<th>文件数</th>
|
|
<th>操作</th>
|
|
</tr></thead>
|
|
<tbody>
|
|
<?php
|
|
if (count($this->paginator)):
|
|
$autoindex=0;
|
|
foreach ($this->paginator as $item):
|
|
$autoindex++;?>
|
|
<tr>
|
|
<td><a href="/data/<?php echo $item['uuid'];?>"><?php echo $item['title'];?></a></td>
|
|
<td><?php echo $item['uuid'];?></td>
|
|
<td><?php echo $item['host'];?></td>
|
|
<td><?php echo $item['path'];?></td>
|
|
<td><?php echo $item['filesize'];?></td>
|
|
<td><?php echo $item['filecount'];?></td>
|
|
<td><a href="/admin/data/dataset/ac/getdataset/uuid/<?php echo $item['uuid'];?>" class="iframe">数据路径</a></td>
|
|
</tr>
|
|
<?php endforeach; endif; ?>
|
|
</tbody>
|
|
</table>
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
</div>
|
|
</div>
|
|
<?php if(!empty($this->activeID)) : ?>
|
|
<script>$('#<?= $this->activeID?>').addClass("active");</script>
|
|
<?php endif; ?>
|
|
<script>
|
|
$(".iframe").colorbox({iframe:true, width:"50%", height:"50%"});
|
|
$(".inline").colorbox({inline:true, width:"50%"});
|
|
function Alert(html){
|
|
$.colorbox({'innerWidth':'50%','html':'<h4 style="font-size:16px;font-weight:bold;">'+html+'</h4>'});
|
|
}
|
|
</script>
|