样式修改

This commit is contained in:
wlx 2013-04-11 07:43:38 +00:00
parent 0219df692d
commit 34c426ab5c
1 changed files with 16 additions and 16 deletions

View File

@ -18,25 +18,26 @@ $this->headTitle()->setSeparator(' - ');
</div>
<div class="span12">
<h4><i class="icon-flag"></i>特色导航</h4>
<form method="get" action="/search" id="search" class="form-search inline">
<form method="get" action="/search" id="search" class="form-search">
<div class="input-append">
<input type="text" value="" id="q" name="q" class="span2 search-query" placeholder="全文搜索">
<button type="submit" class="btn"><i class="icon-search"></i>搜索</button>
</div>
<a class="btn" href="/data/advancesearch"><i class="icon-search"></i>高级搜索</a>
</form>
<ul class="unstyled inline">
<a class="btn" href="/data/advancesearch"><i class="icon-search"></i>高级搜索</a>
<a class="btn" href="/data/browse"><i class="icon-reorder"></i>数据列表浏览</a>
<a class="btn" href="/data/onlinelist"><i class="icon-th"></i>在线数据清单</a>
<a class="btn" href="/data/offlinelist"><i class="icon-th"></i>离线数据清单</a>
<li><a class="btn" href="/data/thumb"><i class="icon-road"></i>缩略图浏览</a></li>
</form>
<ul class="unstyled inline">
<li><a class="btn" href="/data/thumb"><i class="icon-picture"></i>缩略图浏览</a></li>
<li><a class="btn" href="/data/timeline"><i class="icon-calendar"></i>时间轴浏览</a></li>
<li><a class="btn" href="/data/map"><i class="icon-globe"></i>空间浏览</a></li>
<li><a class="btn" href="/data/timemap"><i class="icon-film"></i>时空浏览</a></li>
<li><a class="btn" href="/data/browse"><i class="icon-reorder"></i>数据列表浏览</a></li>
<li><a class="btn" href="/data/onlinelist"><i class="icon-th"></i>在线数据清单</a></li>
<li><a class="btn" href="/data/offlinelist"><i class="icon-th"></i>离线数据清单</a></li>
<li><a class="btn" href="/data/offlinelist"><i class="icon-filter"></i>单位浏览</a></li>
<li><a class="btn" href="/data/offlinelist"><i class="icon-user-md"></i>数据作者浏览</a></li>
<li><a class="btn" href="/data/offlinelist"><i class="icon-exchange"></i>文献浏览</a></li>
<li><a class="btn" href="/data/organization"><i class="icon-filter"></i>单位浏览</a></li>
<li><a class="btn" href="/data/author"><i class="icon-user-md"></i>数据作者浏览</a></li>
<li><a class="btn" href="/knowledge"><i class="icon-exchange"></i>文献浏览</a></li>
</ul>
</div>
<?php
@ -45,12 +46,11 @@ $this->headTitle()->setSeparator(' - ');
if (is_array($kcg) && count($kcg)>0 ) :
?>
<div class="span6">
<h4><a href="/data/tag/"><i class="icon-tags"></i><?php echo $keytypezh[$type]; ?></a></h4>
<h4><a href="/data/tag/keytype/<?= $type; ?>"><i class="icon-tags"></i><?php echo $keytypezh[$type]; ?></a></h4>
<ul class="unstyled inline">
<?php foreach($kcg as $cg) : ?>
<li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><i class="icon-tag"></i><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endforeach; ?>
<li class="more"><a href='/data/tag/'>...更多>>></a></li>
</ul>
</div>
<?php endif;endforeach; ?>
@ -62,7 +62,7 @@ $this->headTitle()->setSeparator(' - ');
<fieldset><legend><a href="/data/category">数据集类别</a></legend>
<ul class="unstyled inline">
<?php foreach($this->category as $cg) : ?>
<li><a href='/data/category/code/<?php echo $cg['code']; ?>'><?php (empty($cg['name_zh']))?print($cg['name']):print($cg['name_zh']); ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<li><a href='/data/category/code/<?php echo $cg['code']; ?>'><i class="icon-th-large"></i><?php (empty($cg['name_zh']))?print($cg['name']):print($cg['name_zh']); ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endforeach; ?>
</ul></fieldset>
</div>
@ -72,7 +72,7 @@ $this->headTitle()->setSeparator(' - ');
<fieldset><legend><a href="/data/series">数据集序列</a></legend>
<ul class="unstyled inline">
<?php foreach($this->serie as $cg) : ?>
<li><a href='/data/series/<?php echo $cg['id']; ?>'><?php echo $cg['name']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<li><a href='/data/series/<?php echo $cg['id']; ?>'><i class="icon-list-ol"></i><?php echo $cg['name']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endforeach; ?>
</ul></fieldset>
</div>