westdc-zf1/application/admin/views/scripts/sys/recovery.phtml

64 lines
2.4 KiB
PHTML
Raw Normal View History

2013-05-28 03:32:53 +00:00
<?php
$this->headTitle($this->config->title->site);
$this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - ');
2014-07-23 08:38:32 +00:00
$this->headLink()->appendStylesheet('/css/admin.css');
2013-05-28 09:11:43 +00:00
$this->theme->AppendPlus($this,'colorbox');
2013-05-28 03:32:53 +00:00
?>
2014-07-23 08:38:32 +00:00
<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>
2013-05-28 03:32:53 +00:00
</div>
2014-07-23 08:38:32 +00:00
<?php if(!empty($this->activeID)) : ?>
<script>$('#<?= $this->activeID?>').addClass("active");</script>
<?php endif; ?>
2013-05-28 09:11:43 +00:00
<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>