更新在线、离线视图

This commit is contained in:
wlx 2013-07-14 10:04:11 +00:00
parent b71f0c79e9
commit b7b62a9960
2 changed files with 34 additions and 16 deletions

View File

@ -5,12 +5,17 @@ $this->headTitle('离线数据浏览');
$this->headTitle()->setSeparator(' - ');
$this->nav[] = array('link'=>"/heihe/offline",'title'=>'离线数据浏览');
?>
<div class="row-fluid">
<?= $this->render('breadcrumbs.phtml'); ?>
</div>
<?php echo $this->page->getNavigation(); ?>
<hr />
<?php foreach($this->metadata as $md) : ?>
<?= $this->render('breadcrumbs.phtml') ?>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
<div class="span10">
<?php echo $this->page->getNavigation(); ?>
<hr />
<div class="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<div class="media well well-small">
<a href="/service/bigthumb/uuid/<?= $md['uuid'] ?>" class="pull-left colorbox">
<img class="media-object" src="/service/thumb/id/<?php echo $md['id'];?>">
@ -21,5 +26,9 @@ $this->nav[] = array('link'=>"/heihe/offline",'title'=>'离线数据浏览');
</div>
</div>
<?php endforeach; ?>
<hr />
<?php echo $this->page->getNavigation(); ?>
</ol>
</div>
<hr />
<?php echo $this->page->getNavigation(); ?>
</div>
</div>

View File

@ -5,12 +5,17 @@ $this->headTitle('在线数据浏览');
$this->headTitle()->setSeparator(' - ');
$this->nav[] = array('link'=>"/heihe/offline",'title'=>'在线数据浏览');
?>
<div>
<?= $this->render('breadcrumbs.phtml'); ?>
</div>
<?php echo $this->page->getNavigation(); ?>
<hr />
<?php foreach($this->metadata as $md) : ?>
<?= $this->render('breadcrumbs.phtml') ?>
<div class="row">
<div class="span2">
<?= $this->partial('heihe/navi.phtml'); ?>
</div>
<div class="span10">
<?php echo $this->page->getNavigation(); ?>
<hr />
<div class="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<div class="media well well-small">
<a href="/service/bigthumb/uuid/<?= $md['uuid'] ?>" class="pull-left colorbox">
<img class="media-object" src="/service/thumb/id/<?php echo $md['id'];?>">
@ -21,5 +26,9 @@ $this->nav[] = array('link'=>"/heihe/offline",'title'=>'在线数据浏览');
</div>
</div>
<?php endforeach; ?>
<hr />
<?php echo $this->page->getNavigation(); ?>
</ol>
</div>
<hr />
<?php echo $this->page->getNavigation(); ?>
</div>
</div>