修改黑河专题数据汇交计划相关页面

This commit is contained in:
Li Jianxuan 2013-04-16 03:44:06 +00:00
parent 1b7ce74a20
commit 83d4b08779
4 changed files with 71 additions and 80 deletions

View File

@ -3,14 +3,12 @@ $this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data); $this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css'); $this->headLink()->appendStylesheet('/css/water.css');
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
$this->headLink()->appendStylesheet('/css/colorbox.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>'); $this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>'); $this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
$this->breadcrumb('数据文档'); $this->breadcrumb('数据文档');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
$this->theme->AppendPlus($this,'colorbox');
?> ?>
<div class="row"> <div class="row">
<div class="span2"> <div class="span2">

View File

@ -5,7 +5,6 @@ $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css'); $this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>'); $this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
$this->breadcrumb($this->config->title->heihe); $this->breadcrumb($this->config->title->heihe);
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>

View File

@ -8,74 +8,71 @@ $this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>'); $this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
$this->breadcrumb('数据汇交计划'); $this->breadcrumb('数据汇交计划');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('/js/jquery-1.7.min.js'); $this->theme->AppendPlus($this,'colorbox');
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
$this->headLink()->appendStylesheet('/css/colorbox.css');
?> ?>
<div id='sidebar'> <div class="row">
<div id='leftnavi'> <div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?> <?= $this->partial('heihe/navi.phtml'); ?>
</div> </div>
</div> <div class="span10">
<div id='right'> <?php if(!empty($this->error)) {?>
<div class="clear">&nbsp;</div> <div id="intro"><?php echo $this->error;?></div>
<?php if(!empty($this->error)) {?> <?php } else{ ?>
<div id="intro"><?php echo $this->error;?></div> <div style="overflow:hidden;">
<?php } else{ ?> <div>
<div style="overflow:hidden;"> <ul class="nav nav-pills">
<div id="tabs-controller"> <li><a class="text-shadow" href="/heihe/projects/">所有项目</a></li>
<ul> <li><a class="text-shadow" href="/heihe/projects/ac/my">我负责的</a></li>
<li class="box-shadow"><a class="text-shadow" href="/heihe/projects/">所有项目</a></li> <li><a class="text-shadow" href="/heihe/projects/ac/submitting">正在提交</a></li>
<li class="box-shadow"><a class="text-shadow" href="/heihe/projects/ac/my">我负责的</a></li> <li><a class="text-shadow" href="/heihe/projects/ac/unsubmit">未提交</a></li>
<li class="box-shadow"><a class="text-shadow" href="/heihe/projects/ac/submitting">正在提交</a></li> <li><a class="text-shadow" href="/heihe/projects/ac/submit">已提交</a></li>
<li class="box-shadow"><a class="text-shadow" href="/heihe/projects/ac/unsubmit">未提交</a></li> </ul>
<li class="box-shadow"><a class="text-shadow" href="/heihe/projects/ac/submit">已提交</a></li> </div>
</ul> <?php if(!empty($this->searchLink)){ ?>
</div> <div class="input-append">
<?php if(!empty($this->searchLink)){ ?> <form id="datasearch" class="search_form" action="<?= $this->searchLink ?>">
<div> <input type="text" id="keyword" name="q" value="<?= $this->searchKeyword; ?>" />
<form id="datasearch" class="search_form" action="<?= $this->searchLink ?>"> <button type="submit" class="btn" id="search_btn">搜索</button>
<input type="text" id="keyword" name="q" value="<?= $this->searchKeyword; ?>" /> </form>
<button type="submit" class="btn" id="search_btn">搜索</button> </div>
</form> <?php }?>
</div> <div>
<?php }?>
<div id="datalist">
<?php
if (count($this->paginator)):
echo "<ul>";
$autoindex=0;
foreach ($this->paginator as $item):
$autoindex++;
?>
<li>
<p><span class="title"><?php echo $item['title'];?></span></p>
<p>
编号:<label><?= $item['code'];?></label> |
负责人:<?= $item['name'];?> |
开始时间:<?= $item['pstart'];?> | 
状态:<?= $item['status'];?>
<?php if(!empty($item['attachid'])) { ?>
 | <a href="/service/attach/id/<?= $item['attachid'];?>">下载</a>
<?php } ?>
</p>
<?php <?php
if($this->user_email == $item['email']) if (count($this->paginator)):
{ ?> echo "<ul>";
<p><a href="/heihe/projects/ac/upload/pid/<?= $item['id']?>" class="iframe">上传计划</a></p> $autoindex=0;
<?php } foreach ($this->paginator as $item):
?> $autoindex++;
?>
<li class="well well-small">
<p><span class="title"><?php echo $item['title'];?></span></p>
<p>
编号:<label><?= $item['code'];?></label> |
负责人:<?= $item['name'];?> |
开始时间:<?= $item['pstart'];?> | 
状态:<?= $item['status'];?>
<?php if(!empty($item['attachid'])) { ?>
 | <a href="/service/attach/id/<?= $item['attachid'];?>">下载</a>
<?php } ?>
</p>
<?php
if($this->user_email == $item['email'])
{ ?>
<p><a href="/heihe/projects/ac/upload/pid/<?= $item['id']?>" class="iframe">上传计划</a></p>
<?php }
?>
</li>
<?php
endforeach;
echo "</ul>";
endif; ?>
</div>
<div class="pagenavi"><?= $this->paginator; ?></div>
</li>
<?php
endforeach;
echo "</ul>";
endif; ?>
</div> </div>
<div class="pagenavi"><?= $this->paginator; ?></div> <?php } ?>
</div> </div>
<?php } ?>
</div> </div>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
$(document).ready(function(){ $(document).ready(function(){

View File

@ -8,22 +8,19 @@ $this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>'); $this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
$this->breadcrumb('数据汇交计划'); $this->breadcrumb('数据汇交计划');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('/js/jquery-1.7.min.js'); $this->theme->AppendPlus($this,'colorbox');
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
$this->headLink()->appendStylesheet('/css/colorbox.css');
?> ?>
<div id='sidebar'> <div class="row">
<div id='leftnavi'> <div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?> <?= $this->partial('heihe/navi.phtml'); ?>
</div> </div>
</div> <div class="span10">
<div id='right'> <?php if(!empty($this->error)) {?>
<div class="clear">&nbsp;</div> <div id="intro"><?php echo $this->error;?></div>
<?php if(!empty($this->error)) {?> <?php }else{?>
<div id="intro"><?php echo $this->error;?></div>
<?php }else{?>
<?php } ?> <?php } ?>
</div>
</div> </div>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
$(document).ready(function(){ $(document).ready(function(){