2011-10-14 07:22:15 +00:00
|
|
|
<?php
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
$this->headTitle('后台管理');
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
2011-10-20 02:06:24 +00:00
|
|
|
$this->headScript()->appendFile('/js/jquery-1.6.4.min.js');
|
2011-10-14 07:22:15 +00:00
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|
|
|
$this->breadcrumb('元数据评审');
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
?>
|
2014-09-13 02:18:32 +00:00
|
|
|
<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">
|
2014-11-04 02:32:01 +00:00
|
|
|
<form action="" method="get" class="input-group">
|
2014-09-13 02:18:32 +00:00
|
|
|
<input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" />
|
|
|
|
<input type="hidden" name="search" value='1' />
|
|
|
|
<input type="hidden" name="id" value='<?php echo $this->id;?>' />
|
|
|
|
<span class="input-group-btn"><button type="submit" class="btn btn-default">搜索</button></span>
|
|
|
|
</form>
|
|
|
|
</div><!-- search DIV -->
|
|
|
|
<table class="stylized table table-bordered table-striped table-hover">
|
|
|
|
<thead><tr>
|
|
|
|
<td>标题</td>
|
|
|
|
<td width='140'>管理员</td>
|
|
|
|
<td width='140'>结束时间</td>
|
|
|
|
<td width="180">操作</td>
|
|
|
|
</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['realname'].' [ '.$item['username'].' ]'; ?></td>
|
|
|
|
<td><?php echo date("Y-m-d H:i",strtotime($item['ts_finished']));?></td>
|
|
|
|
<td><a href="/admin/review/comments/ac/list/uuid/<?php echo $item['uuid'];?>">查看评审意见</a> <a href="/admin/review/rollback/id/<?php echo $item['id'];?>" onclick="return confirm('是否确定重审该元数据?')">重新评审</a></td>
|
|
|
|
</tr>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</tbody>
|
|
|
|
<?php endif; ?>
|
|
|
|
</table>
|
|
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
|
|
</div>
|
2011-10-20 02:06:24 +00:00
|
|
|
</div>
|
|
|
|
<script>$("#list tr").mouseover(function(){$(this).addClass("high")}).mouseout(function(){$(this).removeClass("high")})</script>
|