修改了数据评审中的模板
This commit is contained in:
parent
28a2bcab17
commit
7ada7a32ea
|
@ -81,6 +81,8 @@ class ReviewController extends Zend_Controller_Action
|
|||
* mdstatus 中status 字段值为 0 的元数据为收稿元数据
|
||||
*/
|
||||
function draftAction(){
|
||||
$this->view->pageID = "review-draft";
|
||||
|
||||
$page=@(int)$this->_request->getParam('page');
|
||||
if (empty($page)) $page=1;
|
||||
$offset=$this->limit*($page-1);
|
||||
|
@ -100,6 +102,8 @@ class ReviewController extends Zend_Controller_Action
|
|||
* mdstatus 中 status 字段值为 1 的元数据为进入评审的元数据
|
||||
*/
|
||||
function acceptAction(){
|
||||
$this->view->pageID = "review-accept";
|
||||
|
||||
$page=@(int)$this->_request->getParam('page');
|
||||
if (empty($page)) $page=1;
|
||||
$offset=$this->limit*($page-1);
|
||||
|
@ -119,6 +123,7 @@ class ReviewController extends Zend_Controller_Action
|
|||
* mdstatus 中 status 字段值为 2,3,4 的元数据为正在进行评审的元数据
|
||||
*/
|
||||
function inreviewAction(){
|
||||
$this->view->pageID = "review-inreview";
|
||||
$page=@(int)$this->_request->getParam('page');
|
||||
if (empty($page)) $page=1;
|
||||
$offset=$this->limit*($page-1);
|
||||
|
@ -138,6 +143,7 @@ class ReviewController extends Zend_Controller_Action
|
|||
* mdstatus 中 status 字段值为 5 的元数据为已经通过评审的元数据
|
||||
*/
|
||||
function reviewedAction(){
|
||||
$this->view->pageID = "review-reviewed";
|
||||
$page=@(int)$this->_request->getParam('page');
|
||||
if (empty($page)) $page=1;
|
||||
$offset=$this->limit*($page-1);
|
||||
|
@ -541,6 +547,7 @@ class ReviewController extends Zend_Controller_Action
|
|||
|
||||
function helpAction()
|
||||
{
|
||||
$this->view->pageID = "review-help";
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -10,38 +10,41 @@ $this->breadcrumb('接收元数据');
|
|||
$this->breadcrumb()->setSeparator(' > ');
|
||||
$this->headScript()->appendFile('/js/pubfunc.js');
|
||||
?>
|
||||
<div id='sidebar'>
|
||||
<div id='leftnavi'>
|
||||
<?= $this->partial('review/navi.phtml'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if (!empty($this->metadata)) : ?>
|
||||
<div id='mdlist'>
|
||||
<?php echo $this->page->getNavigation(); ?>
|
||||
<hr />
|
||||
<?php foreach($this->metadata as $md) :
|
||||
$thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid'];
|
||||
$thumburl.='/public/'.str_replace('_s.','.',$md['filename']);
|
||||
?>
|
||||
<div class="thumbmd">
|
||||
<div class="thumbtitle">
|
||||
<a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a>【接收时间:<?php echo date('Y-m-d',strtotime($md['ts_accepted'])); ?>】
|
||||
<?php if ($md['status']!=5) : ?>
|
||||
<a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="span3">
|
||||
<?= $this->partial('review/navi.phtml'); ?>
|
||||
</div>
|
||||
<div class="span9">
|
||||
<div id='mdlist'>
|
||||
<?php if (!empty($this->metadata)) : ?>
|
||||
<?php echo $this->page->getNavigation(); ?>
|
||||
<hr />
|
||||
<?php foreach($this->metadata as $md) :
|
||||
$thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid'];
|
||||
$thumburl.='/public/'.str_replace('_s.','.',$md['filename']);
|
||||
?>
|
||||
<div class="media" style="border-bottom:1px dashed #ccc;">
|
||||
<a class="pull-left" href="#">
|
||||
<img class="media-object pull-left" src="/service/thumb/id/<?php echo $md['id'];?>">
|
||||
</a>
|
||||
<div class="media-body">
|
||||
<h4 class="media-heading"><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a>【接收时间:<?php echo date('Y-m-d',strtotime($md['ts_accepted'])); ?>】</h4>
|
||||
<?php if ($md['status']!=5) : ?>
|
||||
<a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a>
|
||||
<?php endif; ?>
|
||||
<p><?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<hr class="clear"/>
|
||||
<?php echo $this->page->getNavigation();
|
||||
else :
|
||||
?>
|
||||
<div>
|
||||
<p>当前没有对应元数据。</p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<img class="thumbimg" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"
|
||||
onclick="fnCreate('<?php echo $thumburl; ?>')" />
|
||||
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<hr class="clear"/>
|
||||
<?php echo $this->page->getNavigation();
|
||||
else :
|
||||
?>
|
||||
<div>
|
||||
<p>当前没有对应元数据。</p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -10,35 +10,39 @@ $this->breadcrumb('投稿元数据');
|
|||
$this->breadcrumb()->setSeparator(' > ');
|
||||
$this->headScript()->appendFile('/js/pubfunc.js');
|
||||
?>
|
||||
<div id='sidebar'>
|
||||
<div id='leftnavi'>
|
||||
<?= $this->partial('review/navi.phtml'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if (!empty($this->metadata)) : ?>
|
||||
<div id='mdlist'>
|
||||
<?php echo $this->page->getNavigation(); ?>
|
||||
<hr />
|
||||
<?php foreach($this->metadata as $md) :
|
||||
$thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid'];
|
||||
$thumburl.='/public/'.str_replace('_s.','.',$md['filename']);
|
||||
?>
|
||||
<div class="thumbmd">
|
||||
<div class="thumbtitle">
|
||||
<?php echo $this->escape($md['title']); ?>【投稿时间:<?php echo date('Y-m-d',strtotime($md['ts_created'])); ?>】
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="span3">
|
||||
<?= $this->partial('review/navi.phtml'); ?>
|
||||
</div>
|
||||
<div class="span9">
|
||||
|
||||
<img class="thumbimg" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"
|
||||
onclick="fnCreate('<?php echo $thumburl; ?>')" />
|
||||
<?php if (!empty($this->metadata)) : ?>
|
||||
<div id='mdlist'>
|
||||
<?php echo $this->page->getNavigation(); ?>
|
||||
<hr />
|
||||
<?php foreach($this->metadata as $md) :
|
||||
$thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid'];
|
||||
$thumburl.='/public/'.str_replace('_s.','.',$md['filename']);
|
||||
?>
|
||||
<div class="thumbmd">
|
||||
<div class="thumbtitle">
|
||||
<?php echo $this->escape($md['title']); ?>【投稿时间:<?php echo date('Y-m-d',strtotime($md['ts_created'])); ?>】
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<hr class="clear"/>
|
||||
<?php echo $this->page->getNavigation();
|
||||
else :
|
||||
?>
|
||||
<div>
|
||||
<p>当前没有对应元数据。</p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<img class="thumbimg" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"
|
||||
onclick="fnCreate('<?php echo $thumburl; ?>')" />
|
||||
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<hr class="clear"/>
|
||||
<?php echo $this->page->getNavigation();
|
||||
else :
|
||||
?>
|
||||
<div>
|
||||
<p>当前没有对应元数据。</p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -8,16 +8,19 @@ $this->breadcrumb('<a href="/">首页</a>');
|
|||
$this->breadcrumb('<a href="/review">'.$this->config->title->review.'</a>');
|
||||
$this->breadcrumb('元数据评审说明');
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
$this->headScript()->appendFile('/js/pubfunc.js');
|
||||
?>
|
||||
<div id='sidebar'>
|
||||
<div id='leftnavi'>
|
||||
<?= $this->partial('review/navi.phtml'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div id='help'>
|
||||
<h1>为什么要进行数据评审?</h1>
|
||||
<p></p>
|
||||
<h1>如何进行数据评审?</h1>
|
||||
<p></p>
|
||||
<div class="row">
|
||||
<div class="span3">
|
||||
<?= $this->partial('review/navi.phtml'); ?>
|
||||
</div>
|
||||
<div class="span9">
|
||||
|
||||
<div id='help'>
|
||||
<h1>为什么要进行数据评审?</h1>
|
||||
<p></p>
|
||||
<h1>如何进行数据评审?</h1>
|
||||
<p></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -3,58 +3,55 @@ $config = Zend_Registry::get('config');
|
|||
$this->headTitle($config->title->site);
|
||||
$this->headTitle($config->title->review);
|
||||
$this->headTitle()->setSeparator(' - ');
|
||||
$this->headLink()->appendStylesheet('/css/mdreview.css');
|
||||
$this->breadcrumb('<a href="/">首页</a>');
|
||||
$this->breadcrumb('元数据评审');
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
$this->headLink()->appendStylesheet('/css/mdreview.css');
|
||||
?>
|
||||
<div class="row">
|
||||
<div class="span3">
|
||||
<div class="well sidebar-nav">
|
||||
<?= $this->partial('review/navi.phtml'); ?>
|
||||
</div>
|
||||
<?= $this->partial('review/navi.phtml'); ?>
|
||||
</div>
|
||||
<div class="span9">
|
||||
<div id='indexbody'>
|
||||
<?php if ($this->mdreceived) : ?>
|
||||
<ul>
|
||||
<div class="title"><a href="/review/draft">元数据:最新收稿</a></div>
|
||||
<h3><a href="/review/draft">元数据:最新收稿</a></h3>
|
||||
<ul class="unstyled">
|
||||
<?php foreach($this->mdreceived as $md) : ?>
|
||||
<div class="mditem">
|
||||
<li> <img src="/images/westdc_20w.gif" /> <?php echo $this->escape($md['title']);?>(收稿时间:<?php echo $md['ts_created'];?>)</li>
|
||||
</div>
|
||||
<li><img src="/images/westdc_20w.gif" /><?php echo $this->escape($md['title']);?>(收稿时间:<?php echo $md['ts_created'];?>)</li>
|
||||
<?php endforeach; ?>
|
||||
<li class="more"><a href="/review/draft">更多>></a></li>
|
||||
<li class="pull-right"><a href="/review/draft">更多>></a></li>
|
||||
</ul>
|
||||
<?php endif; if ($this->mdaccepted) : ?>
|
||||
<ul>
|
||||
<div class="title"><a href="/review/accept">元数据:已接收</a></div>
|
||||
<?php endif;?>
|
||||
|
||||
|
||||
<?php if ($this->mdaccepted) : ?>
|
||||
<hr />
|
||||
<h3><a href="/review/accept">元数据:已接收</a></h3>
|
||||
<ul class="unstyled">
|
||||
<?php foreach($this->mdaccepted as $md) : ?>
|
||||
<div class="mditem">
|
||||
<li> <img src="/images/westdc_20w.gif" /> <?php echo $this->escape($md['title']);?> [<a href="/review/review/uuid/<?php echo $md['uuid'];?>">评审</a> <a href="/data/<?php echo $md['uuid'];?>">查看</a>]</li>
|
||||
</div>
|
||||
<li><img src="/images/westdc_20w.gif" /><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a>[<a href="/review/review/uuid/<?php echo $md['uuid'];?>">评审</a>]</li>
|
||||
<?php endforeach; ?>
|
||||
<li class="more"><a href="/review/accept">更多>></a></li>
|
||||
<li class="pull-right"><a href="/review/accept">更多>></a></li>
|
||||
</ul>
|
||||
<?php endif; if ($this->mdinreview) : ?>
|
||||
<ul>
|
||||
<div class="title"><a href="/review/inreview">元数据:评审中</a></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->mdinreview) : ?>
|
||||
<hr />
|
||||
<h3><a href="/review/inreview">元数据:评审中</a></h3>
|
||||
<ul class="unstyled">
|
||||
<?php foreach($this->mdinreview as $md) : ?>
|
||||
<div class="mditem">
|
||||
<li> <img src="/images/westdc_20w.gif" /> <?php echo $this->escape($md['title']);?> [<a href="/review/review/uuid/<?php echo $md['uuid'];?>">评审</a> <a href="/data/<?php echo $md['uuid'];?>">查看</a>]</li>
|
||||
</div>
|
||||
<li><img src="/images/westdc_20w.gif" /> <?php echo $this->escape($md['title']);?> [<a href="/review/review/uuid/<?php echo $md['uuid'];?>">评审</a> <a href="/data/<?php echo $md['uuid'];?>">查看</a>]</li>
|
||||
<?php endforeach; ?>
|
||||
<li class="more"><a href="/review/inreview">更多>></a></li>
|
||||
<li class="pull-right"><a href="/review/inreview">更多>></a></li>
|
||||
</ul>
|
||||
<?php endif; if ($this->mdreviewed) : ?>
|
||||
<ul>
|
||||
<div class="title"><a href="/review/reviewed">元数据:最新完成评审</a></div>
|
||||
<hr />
|
||||
<h3><a href="/review/reviewed">元数据:最新完成评审</a></h3>
|
||||
<ul class="unstyled">
|
||||
<?php foreach($this->mdreviewed as $md) : ?>
|
||||
<div class="mditem">
|
||||
<li> <img src="/images/westdc_20w.gif" /> <a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a> </li>
|
||||
</div>
|
||||
<li><img src="/images/westdc_20w.gif" /> <a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a> </li>
|
||||
<?php endforeach; ?>
|
||||
<li class="more"><a href="/review/reviewed">更多>></a></li>
|
||||
<li class="pull-right"><a href="/review/reviewed">更多>></a></li>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
|
|
@ -8,40 +8,42 @@ $this->breadcrumb('<a href="/">首页</a>');
|
|||
$this->breadcrumb('<a href="/review">'.$this->config->title->review.'</a>');
|
||||
$this->breadcrumb('在审元数据');
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
$this->headScript()->appendFile('/js/pubfunc.js');
|
||||
?>
|
||||
<div id='sidebar'>
|
||||
<div id='leftnavi'>
|
||||
<?= $this->partial('review/navi.phtml'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if (!empty($this->metadata)) : ?>
|
||||
<div id='mdlist'>
|
||||
<?php echo $this->page->getNavigation(); ?>
|
||||
<hr />
|
||||
<?php foreach($this->metadata as $md) :
|
||||
$thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid'];
|
||||
$thumburl.='/public/'.str_replace('_s.','.',$md['filename']);
|
||||
?>
|
||||
<div class="thumbmd">
|
||||
<div class="thumbtitle">
|
||||
<a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a> 【接收时间:<?php echo date('Y-m-d',strtotime($md['ts_accepted'])); ?>】
|
||||
<?php if ($md['status']!=5) : ?>
|
||||
<a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="span3">
|
||||
<?= $this->partial('review/navi.phtml'); ?>
|
||||
</div>
|
||||
<div class="span9">
|
||||
<div id='mdlist'>
|
||||
<?php if (!empty($this->metadata)) : ?>
|
||||
<?php echo $this->page->getNavigation(); ?>
|
||||
<hr />
|
||||
<?php foreach($this->metadata as $md) :
|
||||
$thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid'];
|
||||
$thumburl.='/public/'.str_replace('_s.','.',$md['filename']);
|
||||
?>
|
||||
<div class="media" style="border-bottom:1px dashed #ccc;">
|
||||
<a class="pull-left" href="#">
|
||||
<img class="media-object pull-left" src="/service/thumb/id/<?php echo $md['id'];?>">
|
||||
</a>
|
||||
<div class="media-body">
|
||||
<h4 class="media-heading"><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a> 【接收时间:<?php echo date('Y-m-d',strtotime($md['ts_accepted'])); ?>】</h4>
|
||||
<?php if ($md['status']!=5) : ?>
|
||||
<a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a>
|
||||
<?php endif; ?>
|
||||
<p><?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<hr class="clear"/>
|
||||
<?php echo $this->page->getNavigation();
|
||||
else :
|
||||
?>
|
||||
<div>
|
||||
<p>当前没有对应元数据。</p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<img class="thumbimg" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"
|
||||
onclick="fnCreate('<?php echo $thumburl; ?>')" />
|
||||
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<hr class="clear"/>
|
||||
<?php echo $this->page->getNavigation();
|
||||
else :
|
||||
?>
|
||||
<div>
|
||||
<p>当前没有对应元数据。</p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
|
@ -7,13 +7,11 @@ $this->breadcrumb('<a href="/">首页</a>');
|
|||
$this->breadcrumb('<a href="/review">'.$this->config->title->review.'</a>');
|
||||
$this->breadcrumb('我参审的元数据');
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
$this->headScript()->appendFile('/js/pubfunc.js');
|
||||
$this->headLink()->appendStylesheet('/css/mdreview.css');
|
||||
?>
|
||||
<div class="row">
|
||||
<div class="span3">
|
||||
<div class="well sidebar-nav">
|
||||
<?= $this->partial('review/navi.phtml'); ?>
|
||||
</div>
|
||||
<?= $this->partial('review/navi.phtml'); ?>
|
||||
</div>
|
||||
<div class="span9">
|
||||
<div id='mdlist'>
|
||||
|
@ -24,19 +22,21 @@ $this->headScript()->appendFile('/js/pubfunc.js');
|
|||
$thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid'];
|
||||
$thumburl.='/public/'.str_replace('_s.','.',$md['filename']);
|
||||
?>
|
||||
<div class="thumbmd">
|
||||
<div class="thumbtitle">
|
||||
<a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a>【状态:<?php echo $md['statustext']; ?>】
|
||||
<?php if ($md['status']!=5) : ?>
|
||||
<a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a>
|
||||
<?php else : ?>
|
||||
【接收时间:<?php echo date('Y-m-d',strtotime($md['ts_accepted'])); ?>
|
||||
审结时间:<?php echo date('Y-m-d',strtotime($md['ts_finished'])); ?>】
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<img class="img-polaroid" style="height:100px;" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"
|
||||
onclick="fnCreate('<?php echo $thumburl; ?>')" />
|
||||
</div>
|
||||
<div class="media" style="border-bottom:1px dashed #ccc;">
|
||||
<a class="pull-left" href="#">
|
||||
<img class="media-object pull-left" src="/service/thumb/id/<?php echo $md['id'];?>">
|
||||
</a>
|
||||
<div class="media-body">
|
||||
<h4 class="media-heading"><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a>【状态:<?php echo $md['statustext']; ?>】</h4>
|
||||
<?php if ($md['status']!=5) : ?>
|
||||
<a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a>
|
||||
<?php else : ?>
|
||||
【接收时间:<?php echo date('Y-m-d',strtotime($md['ts_accepted'])); ?>
|
||||
审结时间:<?php echo date('Y-m-d',strtotime($md['ts_finished'])); ?>】
|
||||
<?php endif; ?>
|
||||
<p><?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<hr class="clear"/>
|
||||
<?php echo $this->page->getNavigation();
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
<ul class="nav nav-list">
|
||||
<li id="Nav-review-myreview"><a href="/review/myreview">我参审的元数据</a></li>
|
||||
<li id="Nav-review-draft"><a href="/review/draft">投稿元数据</a></li>
|
||||
<li id="Nav-review-accept"><a href="/review/accept">已接收元数据</a></li>
|
||||
<li id="Nav-review-inreview"><a href="/review/inreview">评审中元数据</a></li>
|
||||
<li id="Nav-review-reviewed"><a href="/review/reviewed">已通过元数据</a></li>
|
||||
<li id="Nav-review-help"><a href="/review/help">元数据评审说明</a></li>
|
||||
</ul>
|
||||
<div class="sidebar-nav bs-review-nav">
|
||||
<ul class="nav nav-list bs-review-sidenav">
|
||||
<li id="Nav-review-myreview"><a href="/review/myreview"><i class="icon-chevron-right"></i>我参审的元数据</a></li>
|
||||
<li id="Nav-review-draft"><a href="/review/draft"><i class="icon-chevron-right"></i>投稿元数据</a></li>
|
||||
<li id="Nav-review-accept"><a href="/review/accept"><i class="icon-chevron-right"></i>已接收元数据</a></li>
|
||||
<li id="Nav-review-inreview"><a href="/review/inreview"><i class="icon-chevron-right"></i>评审中元数据</a></li>
|
||||
<li id="Nav-review-reviewed"><a href="/review/reviewed"><i class="icon-chevron-right"></i>已通过元数据</a></li>
|
||||
<li id="Nav-review-help"><a href="/review/help"><i class="icon-chevron-right"></i>元数据评审说明</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<form class="form-search" id="search" enctype="application/x-www-form-urlencoded" action="/review/search" method="post">
|
||||
<input type="text" name="q" id="q" value="<?php echo (empty($this->key))?'':$this->key; ?>" placeholder="搜索标题和摘要">
|
||||
<input class="keyword" type="text" name="q" id="q" value="<?php echo (empty($this->key))?'':$this->key; ?>" placeholder="搜索标题和摘要">
|
||||
</form>
|
|
@ -5,7 +5,6 @@
|
|||
$this->headTitle()->setSeparator(' - ');
|
||||
$this->headLink()->appendStylesheet('/css/mdreview.css');
|
||||
$this->headLink()->appendStylesheet('/static/js/uploadify/uploadify.css');
|
||||
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
||||
$this->headScript()->appendFile('/static/js/uploadify/swfobject.js');
|
||||
$this->headScript()->appendFile('/static/js/uploadify/jquery.uploadify.v2.1.4.min.js');
|
||||
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
|
||||
|
@ -72,15 +71,15 @@
|
|||
</p>
|
||||
<p>
|
||||
元数据意见(必填)<br/>
|
||||
<textarea id="mdcomment" class="medium full" name="mdcomment"><?php echo $this->review['mdcomment'];?></textarea>
|
||||
<textarea id="mdcomment" class="span10" name="mdcomment"><?php echo $this->review['mdcomment'];?></textarea>
|
||||
</p>
|
||||
<p>
|
||||
对数据的意见:<br/>
|
||||
<textarea id="datacomment" class="small full" name="datacomment"><?php echo $this->review['datacomment'];?></textarea>
|
||||
<textarea id="datacomment" class="span10" name="datacomment"><?php echo $this->review['datacomment'];?></textarea>
|
||||
</p>
|
||||
<p>
|
||||
给数据中心的意见:<br/>
|
||||
<textarea id="editorcomment" class="small full" name="editorcomment"><?php echo $this->review['editorcomment'];?></textarea>
|
||||
<textarea id="editorcomment" class="span10" name="editorcomment"><?php echo $this->review['editorcomment'];?></textarea>
|
||||
</p>
|
||||
<p>
|
||||
评审附件:
|
||||
|
@ -93,7 +92,7 @@
|
|||
</p>
|
||||
<br />
|
||||
<p>
|
||||
<button class="btn btn-green" type="button" id="submit" onclick="return confirm('是否确定提交评审意见?')">提交</button>
|
||||
<button class="btn btn-success" type="button" id="submit" onclick="return confirm('是否确定提交评审意见?')">提交</button>
|
||||
<button class="btn btn-small" type="button" id="save">存草稿</button>
|
||||
<button class="btn btn-small" type="reset" id="reset" onclick="return confirm('是否确定重置已经填写的意见?')">重置</button>
|
||||
</p>
|
||||
|
|
|
@ -8,40 +8,43 @@ $this->breadcrumb('<a href="/">首页</a>');
|
|||
$this->breadcrumb('<a href="/review">'.$this->config->title->review.'</a>');
|
||||
$this->breadcrumb('审结元数据');
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
$this->headScript()->appendFile('/js/pubfunc.js');
|
||||
?>
|
||||
<div id='sidebar'>
|
||||
<div id='leftnavi'>
|
||||
<?= $this->partial('review/navi.phtml'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if (!empty($this->metadata)) : ?>
|
||||
<div id='mdlist'>
|
||||
<?php echo $this->page->getNavigation(); ?>
|
||||
<hr />
|
||||
<?php foreach($this->metadata as $md) :
|
||||
$thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid'];
|
||||
$thumburl.='/public/'.str_replace('_s.','.',$md['filename']);
|
||||
?>
|
||||
<div class="thumbmd">
|
||||
<div class="thumbtitle">
|
||||
<a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a>【接收时间:<?php echo date('Y-m-d',strtotime($md['ts_finished'])); ?>】
|
||||
<?php if ($md['status']!=5) : ?>
|
||||
<a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="span3">
|
||||
<?= $this->partial('review/navi.phtml'); ?>
|
||||
</div>
|
||||
<div class="span9">
|
||||
|
||||
<img class="thumbimg" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"
|
||||
onclick="fnCreate('<?php echo $thumburl; ?>')" />
|
||||
<?php if (!empty($this->metadata)) : ?>
|
||||
<div id='mdlist'>
|
||||
<?php echo $this->page->getNavigation(); ?>
|
||||
<hr />
|
||||
<?php foreach($this->metadata as $md) :
|
||||
$thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid'];
|
||||
$thumburl.='/public/'.str_replace('_s.','.',$md['filename']);
|
||||
?>
|
||||
<div class="thumbmd">
|
||||
<div class="thumbtitle">
|
||||
<a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a>【接收时间:<?php echo date('Y-m-d',strtotime($md['ts_finished'])); ?>】
|
||||
<?php if ($md['status']!=5) : ?>
|
||||
<a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<hr class="clear"/>
|
||||
<?php echo $this->page->getNavigation();
|
||||
else :
|
||||
?>
|
||||
<div>
|
||||
<p>当前没有对应元数据。</p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<img class="thumbimg" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"
|
||||
onclick="fnCreate('<?php echo $thumburl; ?>')" />
|
||||
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<hr class="clear"/>
|
||||
<?php echo $this->page->getNavigation();
|
||||
else :
|
||||
?>
|
||||
<div>
|
||||
<p>当前没有对应元数据。</p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
|
@ -1,3 +1,40 @@
|
|||
.bs-review-nav{
|
||||
padding:14px;
|
||||
}
|
||||
.bs-review-sidenav{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
}
|
||||
.bs-review-sidenav > li:first-child > a {
|
||||
border-radius: 6px 6px 0 0;
|
||||
}
|
||||
.bs-review-sidenav > li:last-child > a {
|
||||
border-radius: 0 0 6px 6px;
|
||||
}
|
||||
.bs-review-sidenav li{
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
line-height:30px;
|
||||
}
|
||||
.bs-review-sidenav li a {
|
||||
border:1px solid #E5E5E5;
|
||||
margin: 0 0 -1px;
|
||||
}
|
||||
.bs-review-sidenav li.active a {
|
||||
border:none;
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
.bs-review-sidenav li i{
|
||||
float:right;
|
||||
margin-top:8px;
|
||||
}
|
||||
.bs-review-nav .form-search{
|
||||
margin:10px auto;
|
||||
}
|
||||
.bs-review-nav .form-search .keyword{
|
||||
width:95%;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
---------------------------------------------------------------------*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue