修改了在线和离线数据清单的样式
This commit is contained in:
parent
002eb8aded
commit
7ab923aac2
|
@ -13,14 +13,19 @@ $this->breadcrumb()->setSeparator(' > ');
|
|||
<div id='tools'>
|
||||
<?= $this->partial('data/tools.phtml'); ?>
|
||||
</div>
|
||||
<?php echo $this->page->getNavigation(); ?>
|
||||
<hr />
|
||||
<?php foreach($this->metadata as $md) : ?>
|
||||
<div class="mditem">
|
||||
<a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a>
|
||||
<a href="/data/xml/id/<?php echo $md['id'];?>"><img src="/images/xml.gif" /></a>
|
||||
<a href="/data/doc/uuid/<?php echo $md['uuid'];?>"><img src="/images/doc-icon.png" /></a>
|
||||
<div class="datalist clear mt12">
|
||||
<ul id="datalist">
|
||||
<?php if($this->metadata) : foreach($this->metadata as $md) : ?>
|
||||
<li id="data_<?php echo $md['uuid']; ?>" class="databox box-shadow">
|
||||
<div class="subject text-shadow"><a href="/data/<?php echo $md['uuid']; ?>"><?php echo $this->escape($md['title']);?></a><div class="more"><a href="/data/<?php echo $md['uuid']; ?>">查看详细</a></div></div>
|
||||
<div class="data_content clear">
|
||||
<div class="thumb box-shadow"><img src="/service/thumb/id/<?php echo $md['id'];?>" /></div>
|
||||
<div class="description"><?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?></div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<hr />
|
||||
</li>
|
||||
<?php endforeach;endif; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="PageNavigation">
|
||||
<?php echo $this->page->getNavigation(); ?>
|
||||
</div>
|
|
@ -13,14 +13,19 @@ $this->breadcrumb()->setSeparator(' > ');
|
|||
<div id='tools'>
|
||||
<?= $this->partial('data/tools.phtml'); ?>
|
||||
</div>
|
||||
<?php echo $this->page->getNavigation(); ?>
|
||||
<hr />
|
||||
<?php foreach($this->metadata as $md) : ?>
|
||||
<div class="mditem">
|
||||
<a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a>
|
||||
<a href="/data/xml/id/<?php echo $md['id'];?>"><img src="/images/xml.gif" /></a>
|
||||
<a href="/data/doc/uuid/<?php echo $md['uuid'];?>"><img src="/images/doc-icon.png" /></a>
|
||||
<div class="datalist clear mt12">
|
||||
<ul id="datalist">
|
||||
<?php if($this->metadata) : foreach($this->metadata as $md) : ?>
|
||||
<li id="data_<?php echo $md['uuid']; ?>" class="databox box-shadow">
|
||||
<div class="subject text-shadow"><a href="/data/<?php echo $md['uuid']; ?>"><?php echo $this->escape($md['title']);?></a><div class="more"><a href="/data/<?php echo $md['uuid']; ?>">查看详细</a></div></div>
|
||||
<div class="data_content clear">
|
||||
<div class="thumb box-shadow"><img src="/service/thumb/id/<?php echo $md['id'];?>" /></div>
|
||||
<div class="description"><?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?></div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<hr />
|
||||
</li>
|
||||
<?php endforeach;endif; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="PageNavigation">
|
||||
<?php echo $this->page->getNavigation(); ?>
|
||||
</div>
|
Loading…
Reference in New Issue