This commit is contained in:
parent
2fa3959252
commit
cc649ea28f
|
@ -1,5 +1,5 @@
|
||||||
<footer>
|
<footer>
|
||||||
<p style="text-align:center;font-size:12px;">© 中国西部环境与生态科学数据中心 2006-2013 | <a href="/about/contact" >联系我们</a> | <a href="/about/terms">使用条款和免责申明</a>
|
<p style="text-align:center;font-size:12px;">© 时空三极环境大数据平台 2017-2020
|
||||||
| <a href="http://www.miibeian.gov.cn" target="_blank">陇ICP备05000491号</a></p>
|
| <a href="http://www.miibeian.gov.cn" target="_blank">陇ICP备05000491号</a></p>
|
||||||
</footer>
|
</footer>
|
||||||
<?php if(!empty($this->pageID)) {?>
|
<?php if(!empty($this->pageID)) {?>
|
||||||
|
|
|
@ -1,47 +1,69 @@
|
||||||
<div class="masthead">
|
|
||||||
<div class="row">
|
<div id="author-header" >
|
||||||
<div class="span5"><a href="/"><img src="/images/sanji-logo.jpg" alt="Westdc Logo" /></a></div>
|
|
||||||
<div class="span5 pull-right">
|
<div class="container">
|
||||||
<form method="get" action="/search" id="search" style="padding-top:17px;">
|
<div class="navbar ">
|
||||||
<div class="input-append">
|
<div class="navbar-inner">
|
||||||
<input type="text" value="" id="q" name="q" class="span4" placeholder="全文搜索">
|
<div class="container">
|
||||||
<button type="submit" class="btn"><i class="icon-search"></i>搜索</button>
|
|
||||||
</div></form>
|
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
|
||||||
</div>
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
</div>
|
<span class="icon-bar"></span>
|
||||||
<div class="navbar">
|
<span class="icon-bar"></span>
|
||||||
<div class="navbar-inner">
|
<span class="icon-bar"></span>
|
||||||
<div class="container">
|
</a>
|
||||||
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
|
||||||
<span class="icon-bar"></span>
|
<!-- Be sure to leave the brand out there if you want it shown -->
|
||||||
<span class="icon-bar"></span>
|
<a class="brand" href="#">时空三极环境大数据平台</a>
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
<div class="nav-collapse collapse navbar-responsive-collapse">
|
||||||
<a class="brand" href="/">POLES</a>
|
|
||||||
<div class="nav-collapse collapse">
|
<ul class="nav pull-right">
|
||||||
<ul class="nav" id="mainmenu">
|
<li ><a href="/">首页</a></li>
|
||||||
<li id="main-nav-index"><a href="/"><span>首页</span></a></li>
|
<li><a href="/data" class="scroll-link">数据产品</a></li>
|
||||||
<li id="main-nav-data"><a href="/data"><span>数据产品</span></a></li>
|
<li><a href="/archives/news/localnews" class="scroll-link">新闻动态</a></li>
|
||||||
<li id="main-nav-author"><a href="/author"><span>数据作者</span></a></li>
|
<li><a href="/about" class="scroll-link">关于本站</a></li>
|
||||||
<li><a href="/archives/news/localnews"><span>新闻动态</span></a></li>
|
<li><a href="/author" class="scroll-link">数据提交</a></li>
|
||||||
<li><a href="/about"><span>关于本站</span></a></li>
|
<li>
|
||||||
</ul>
|
<form class="navbar-search pull-left" action="/search" id="search-form">
|
||||||
|
<input type="text" class="search-query span2" name="q" id="q" placeholder="Search">
|
||||||
<p class="navbar-text pull-right">
|
</form>
|
||||||
<?php
|
</li>
|
||||||
$auth = Zend_Auth::getInstance();
|
<li class="divider-vertical"></li>
|
||||||
if($auth->hasIdentity())
|
<li class="dropdown">
|
||||||
{
|
<a class="dropdown-toggle"
|
||||||
$user = $auth->getIdentity();
|
data-toggle="dropdown"
|
||||||
echo '<a href="/account"><i class="icon-user"></i>'.$user->username.'</a> ';
|
href="#">
|
||||||
if ($user->usertype=="administrator") echo '<a href="/admin"><i class="icon-cog"></i>后台</a> ';
|
<i class="icon-user"></i>
|
||||||
echo '<a href="/data/order"><i class="icon-shopping-cart"></i>数据篮</a> <a href="/account/logout">注销</a>';
|
<b class="caret"></b>
|
||||||
} else {
|
</a>
|
||||||
echo '<a href="/account/login"><i class="icon-user"></i>登录</a> <a href="/account/register">注册</a>';
|
<ul class="dropdown-menu">
|
||||||
} ?>
|
<?php
|
||||||
</p>
|
$auth = Zend_Auth::getInstance();
|
||||||
|
if($auth->hasIdentity())
|
||||||
|
{
|
||||||
|
$user = $auth->getIdentity();
|
||||||
|
echo '<li><a href="/account"><i class="icon-user"></i>'.$user->username.'</a> </li>';
|
||||||
|
if ($user->usertype=="administrator") echo '<li><a href="/admin"><i class="icon-cog"></i>后台</a></li> ';
|
||||||
|
echo '<li><a href="/data/order"><i class="icon-shopping-cart"></i>数据篮</a></li> <li><a href="/account/logout">注销</a></li>';
|
||||||
|
} else {
|
||||||
|
echo '<li><a href="/account/login"><i class="icon-user"></i>登录</a></li> <li><a href="/account/register">注册</a></li>';
|
||||||
|
} ?>
|
||||||
|
<li class="divider"></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="user-nav">
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /.navbar -->
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
<link rel="stylesheet" href="/js/lib/bootstrap/css/font-awesome-ie7.min.css">
|
<link rel="stylesheet" href="/js/lib/bootstrap/css/font-awesome-ie7.min.css">
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<link href="/js/lib/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen">
|
<link href="/js/lib/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen">
|
||||||
|
<link href="/css/author-header.css" rel="stylesheet" >
|
||||||
<script src="/js/lib/jquery.lasted.js"></script>
|
<script src="/js/lib/jquery.lasted.js"></script>
|
||||||
<script src="/js/lib/bootstrap/js/bootstrap.min.js"></script>
|
<script src="/js/lib/bootstrap/js/bootstrap.min.js"></script>
|
||||||
<script src="/js/navi.js"></script>
|
<script src="/js/navi.js"></script>
|
||||||
|
@ -21,10 +22,13 @@
|
||||||
<link rel="pingback" href="http://westdc.westgis.ac.cn/data/pingback" />
|
<link rel="pingback" href="http://westdc.westgis.ac.cn/data/pingback" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="">
|
||||||
<?= $this->render('header.phtml') ?>
|
<?= $this->render('header.phtml') ?>
|
||||||
<!--<div class="breadcrumb"><?= $this->breadcrumb() ?> </div>-->
|
<!--<div class="breadcrumb"><?= $this->breadcrumb() ?> </div>-->
|
||||||
<?= $this->layout()->content ?>
|
<div class="container">
|
||||||
|
<?= $this->layout()->content ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?= $this->render('footer.phtml') ?>
|
<?= $this->render('footer.phtml') ?>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -0,0 +1,42 @@
|
||||||
|
|
||||||
|
|
||||||
|
#author-header{
|
||||||
|
background-color: #124075;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-inner{
|
||||||
|
background-color: #999; !important;
|
||||||
|
background-image: linear-gradient(to bottom,#124075,#124075);
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#author-header .brand{
|
||||||
|
color: #fff;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#author-header .navbar .nav>li>a{
|
||||||
|
color: #fff;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#author-header .divider-vertical{
|
||||||
|
border-left: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#author-header .user-nav{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#author-header .user-nav a{
|
||||||
|
color:#fff;
|
||||||
|
font-size: 8px;
|
||||||
|
font-family: 宋体, Arial;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar-nav .bs-review-sidenav li .active{
|
||||||
|
background-color: crimson;
|
||||||
|
}
|
Loading…
Reference in New Issue