更新在线、离线视图

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

View File

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