44 lines
1.6 KiB
PHTML
44 lines
1.6 KiB
PHTML
<?php
|
||
$this->headTitle($this->config->title->site);
|
||
$this->headTitle('后台管理');
|
||
$this->headTitle()->setSeparator(' - ');
|
||
$this->headLink()->appendStylesheet('/css/admin.css');
|
||
$this->breadcrumb('<a href="/">首页</a>');
|
||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
|
||
$this->breadcrumb('特色数据集管理</a>');
|
||
$this->breadcrumb()->setSeparator(' > ');
|
||
?>
|
||
<div id="leftPanel">
|
||
<?= $this->partial('data/left.phtml'); ?>
|
||
</div>
|
||
<div id="rightPanel">
|
||
<?php if ($this->msg or $this->messages) :?>
|
||
<div id="message">
|
||
<?php if ($this->msg) : ?>
|
||
<p><?php echo $this->msg; ?></p>
|
||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||
<p><?php echo $msg; ?></p>
|
||
<?php endforeach;endif; ?>
|
||
</div>
|
||
<?php endif; ?>
|
||
<a href="/admin/data/datasetcd/add/1">添加新的特色数据集</a>
|
||
<?php if (count($this->paginator)): ?>
|
||
<div id="datalist">
|
||
<ul>
|
||
<?php foreach ($this->paginator as $item): ?>
|
||
<li>
|
||
<p><?= $item['title']; ?>[大小:<?= $item['size']; ?>M,创建时间:<?= date('Y-m-d',strtotime($item['ts_created'])); ?>]</p>
|
||
<p><a href="/data/<?= $item['uuid']; ?>">元数据</a> (<a href="<?= $item['document']; ?>">数据文档</a>)</p>
|
||
<p>操作:
|
||
<a href="/admin/data/datasetcd/edit/<?= $item['id']; ?>">编辑</a>
|
||
<a href="/admin/data/datasetcd/delete/<?= $item['id']; ?>">删除</a>
|
||
</p>
|
||
<p><img src="<?= $item['img']; ?>" style="float:left;" /><?= $item['descript']; ?></p></li>
|
||
|
||
<?php endforeach; ?>
|
||
</ul>
|
||
</div>
|
||
<?php endif; ?>
|
||
<?= $this->paginator; ?>
|
||
</div>
|