首页增加专题链接,区分展示在线、离线数据top 5

This commit is contained in:
wlx 2015-06-04 21:59:47 +08:00
parent a839bdde54
commit 6816e777ad
1 changed files with 10 additions and 4 deletions

View File

@ -45,6 +45,11 @@
</ul>
</div>
<hr />
<div class="span12">
<h4><i class="icon-folder-open"></i>Data Collection</h4>
<a class="btn btn-info" href="/water"><i class="icon-folder-open"></i>WATER</a>
<a class="btn btn-info" href="/hiwater"><i class="icon-folder-open"></i>HiWATER</a>
</div>
<div class="span12">
<h4><a href="/data/doi">Latest Datasets Published with DOI</a></h4>
<ul class="unstyled">
@ -53,16 +58,17 @@
endforeach;
?>
</ul>
</div>
<div class="span12 row">
<h4>Hottest Datasets</h4>
</div>
<div class="span12 row">
<h4>Top 5 Downloaded Online Datasets</h4>
<ul class="unstyled">
<?php foreach($this->mdtop as $i=>$md) : ?>
<li><img src="/images/no<?php echo $i+1; ?>.gif" align="absmiddle" style="border-width:0px;" />
<a class="item" href="/data/<?php echo $md->uuid; ?>"><?php echo $md->title; ?></a>
</li>
<?php endforeach; ?>
</ul>
</ul>
<h4>Top 5 Applied Offline Datasets</h4>
<ul class="unstyled">
<?php foreach($this->offlinemdtop as $i=>$md) : ?>
<li><img src="/images/no<?php echo $i+1; ?>.gif" align="absmiddle" style="border-width:0px;" />