数据首页 最近更新数据,最多浏览数据 小图标与文字调整。

This commit is contained in:
Li Heng 2014-06-20 02:39:44 +00:00
parent 838c4c295d
commit c49cc92175
1 changed files with 4 additions and 4 deletions

View File

@ -57,18 +57,18 @@
</div> </div>
<div class="row"> <div class="row">
<div class="span6"> <div class="span6">
<h4>数据最近更新<a href="/service/feed" target="_blank"><i class="icon-rss"></i></a></h4> <h4>数据最近更新 <a href="/service/feed" target="_blank"><i class="icon-rss"></i></a></h4>
<ul class="unstyled"> <ul class="unstyled">
<?php foreach($this->metadata as $md) : ?> <?php foreach($this->metadata as $md) : ?>
<li><i class="icon-map-marker"></i><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a> [<?= date('Y-m-d',strtotime($md['ts_created'])) ?>]</li> <li><a href="/data/<?php echo $md['uuid'];?>"><i class="icon-map-marker"> </i><?php echo $this->escape($md['title']);?></a><small class="pull-right">[<?= date('Y-m-d',strtotime($md['ts_created'])) ?>]</small></li>
<?php endforeach; ?> <?php endforeach; ?>
</ul> </ul>
</div> </div>
<div class="span6"> <div class="span6">
<h4>最多浏览数据集</h4> <h4>最多浏览数据集 </h4>
<ul class="unstyled"> <ul class="unstyled">
<?php foreach($this->viewedmd as $md) : ?> <?php foreach($this->viewedmd as $md) : ?>
<li><i class="icon-map-marker"></i><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a>[<?= $md['viewed'] ?>]</li> <li><a href="/data/<?php echo $md['uuid'];?>"><i class="icon-map-marker"> </i><?php echo $this->escape($md['title']);?></a><small>&nbsp;&nbsp;[<?= $md['viewed'] ?>]</small></li>
<?php endforeach; ?> <?php endforeach; ?>
</ul> </ul>
</div> </div>