完善HiWATER多级导航

This commit is contained in:
wlx 2014-09-02 12:40:06 +00:00
parent bf0d32d418
commit 02b56ccb25
2 changed files with 50 additions and 10 deletions

View File

@ -17,7 +17,7 @@ class HiwaterController extends DataController
{ {
$this->view->pageIn = "collapse2"; $this->view->pageIn = "collapse2";
} }
else if(in_array($acName,array("hmon",'super','normal','prec'))) else if(in_array($acName,array("hmon",'hmon2012','hmon2013','hmon2012up','hmon2012middle','hmon2012down','hmon2013up','hmon2013middle','hmon2013down','super','normal','prec')))
{ {
$this->view->pageIn = "collapse3"; $this->view->pageIn = "collapse3";
} }
@ -381,6 +381,46 @@ class HiwaterController extends DataController
$this->getmdlimited(array('NPP',''),'卫星遥感产品'); $this->getmdlimited(array('NPP',''),'卫星遥感产品');
$this->_helper->viewRenderer('base'); $this->_helper->viewRenderer('base');
} }
function hmon2012Action()
{
$this->getmdrestricted(array('2012','水文气象观测网'));
$this->_helper->viewRenderer('base');
}
function hmon2013Action()
{
$this->getmdrestricted(array('2013','水文气象观测网'));
$this->_helper->viewRenderer('base');
}
function hmon2012upAction()
{
$this->getmdrestricted(array('2012','上游寒区水文试验区','水文气象观测网'));
$this->_helper->viewRenderer('base');
}
function hmon2012middleAction()
{
$this->getmdrestricted(array('2012','中游人工绿洲试验区','水文气象观测网'));
$this->_helper->viewRenderer('base');
}
function hmon2012downAction()
{
$this->getmdrestricted(array('2012','下游天然绿洲试验区','水文气象观测网'));
$this->_helper->viewRenderer('base');
}
function hmon2013upAction()
{
$this->getmdrestricted(array('2013','上游寒区水文试验区','水文气象观测网'));
$this->_helper->viewRenderer('base');
}
function hmon2013middleAction()
{
$this->getmdrestricted(array('2013','中游人工绿洲试验区','水文气象观测网'));
$this->_helper->viewRenderer('base');
}
function hmon2013downAction()
{
$this->getmdrestricted(array('2013','下游天然绿洲试验区','水文气象观测网'));
$this->_helper->viewRenderer('base');
}
function listAction() function listAction()
{ {

View File

@ -52,27 +52,27 @@
<li> <li>
<div class="tree-toggle"> <div class="tree-toggle">
<div class="accordion-heading"> <div class="accordion-heading">
<a href="/hiwater/aviation" title="查看详细" class="detail-link pull-right"><i class="icon-arrow-right"></i></a> <a href="/hiwater/hmon2012" title="查看详细" class="detail-link pull-right"><i class="icon-arrow-right"></i></a>
<a class="accordion-toggle" href="#">2012</a> <a class="accordion-toggle" href="#">2012</a>
</div> </div>
</div> </div>
<ul class="nav nav-list tree"> <ul class="nav nav-list tree">
<li><a href="#"><i class="icon-double-angle-right"></i>上游</a></li> <li><a href="/hiwater/hmon2012up"><i class="icon-double-angle-right"></i>上游</a></li>
<li><a href="#"><i class="icon-double-angle-right"></i>中游</a></li> <li><a href="/hiwater/hmon2012middle"><i class="icon-double-angle-right"></i>中游</a></li>
<li><a href="#"><i class="icon-double-angle-right"></i>下游</a></li> <li><a href="/hiwater/hmon2012down"><i class="icon-double-angle-right"></i>下游</a></li>
</ul> </ul>
</li> </li>
<li> <li>
<div class="tree-toggle"> <div class="tree-toggle">
<div class="accordion-heading"> <div class="accordion-heading">
<a href="/hiwater/aviation" title="查看详细" class="detail-link pull-right"><i class="icon-arrow-right"></i></a> <a href="/hiwater/hmon201" title="查看详细" class="detail-link pull-right"><i class="icon-arrow-right"></i></a>
<a class="accordion-toggle" href="#">2013</a> <a class="accordion-toggle" href="#">2013</a>
</div> </div>
</div> </div>
<ul class="nav nav-list tree"> <ul class="nav nav-list tree">
<li><a href="#"><i class="icon-double-angle-right"></i>上游</a></li> <li><a href="/hiwater/hmon2013up"><i class="icon-double-angle-right"></i>上游</a></li>
<li><a href="#"><i class="icon-double-angle-right"></i>中游</a></li> <li><a href="/hiwater/hmon2013middle"><i class="icon-double-angle-right"></i>中游</a></li>
<li><a href="#"><i class="icon-double-angle-right"></i>下游</a></li> <li><a href="/hiwater/hmon2013down"><i class="icon-double-angle-right"></i>下游</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>