westdc-zf1/application/admin/views/scripts/sys/problem-md.phtml

55 lines
2.1 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-ref"><a href="/admin/sys/problem/ac/ref">数据引用方式错误</a></li>
<li id="btn-file" ><a href="/admin/sys/problem/ac/file">缺少文件列表</a></li>
<li id="btn-tiny" ><a href="/admin/sys/problem/ac/tiny">数据实体过小</a></li>
<li id="btn-heihefund"><a href="/admin/sys/problem/ac/heihefund">黑河计划数据的项目信息缺失</a></a></li>
<li id="btn-unmoved"><a href="/admin/sys/problem/ac/unmoved">数据目录未从upload中转移</a></a></li>
<li id="btn-noemail"><a href="/admin/sys/problem/ac/noemail">缺少审核人email</a></li>
</ul>
</div>
<table class="stylized table table-bordered table-striped table-hover">
<thead><tr>
<th>数据标题</th>
<th>uuid</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><a href="/service/geonetwork?url=metadata.edit?id=<?= $item['gid']; ?>" target="_blank">编辑</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>