58 lines
2.6 KiB
PHTML
58 lines
2.6 KiB
PHTML
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle('后台管理');
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|
$this->breadcrumb('元数据评审');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
?>
|
|
<div class="row">
|
|
<div class="hidden-sm hidden-xs col-md-2">
|
|
<?= $this->partial('review/left.phtml'); ?>
|
|
</div>
|
|
<div class="col-md-10 col-sm-12">
|
|
<?php if ($this->msg or $this->messages) :?>
|
|
<div id="message" class="alert alert-info">
|
|
<?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; ?>
|
|
<div class="input-group form-group">
|
|
<form action="" method="get" class="search_form">
|
|
<input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" />
|
|
<input type="hidden" name="search" value='1' />
|
|
<span class="input-group-btn"><button type="submit" class="btn btn-default">搜索</button></span>
|
|
</form>
|
|
</div>
|
|
<table class="stylized table table-bordered table-striped table-hover">
|
|
<thead><tr>
|
|
<th>标题</td>
|
|
<th>状态</th>
|
|
<th>责任编辑</th>
|
|
<th>操作</th>
|
|
</tr></thead>
|
|
<?php if (count($this->paginator)): ?>
|
|
<tbody id="list">
|
|
<?php foreach ($this->paginator as $item): ?>
|
|
<tr>
|
|
<td><a href="/data/<?php echo $item['uuid'];?>"><?php echo $item['title']; ?></a></td>
|
|
<td><?php echo $item['status']; ?></td>
|
|
<td><?php echo $item['realname'].'['.$item['username'].']'; ?></td>
|
|
<td>
|
|
<a href="/admin/review/inreview/show/<?php echo $item['id']; ?>">查看详细</a>
|
|
<a href="/admin/review/invite/?id=<?php echo $item['id'];?>">邀请专家</a>
|
|
<a href="/admin/review/changeadmin/?id=<?php echo $item['id'];?>">分配编辑</a>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
<?php endif; ?>
|
|
</table>
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
</div>
|
|
</div>
|