修改数据页面下载按钮样式,去除数据列表页面无用的样式
This commit is contained in:
parent
0d3e5bd07a
commit
0219df692d
|
@ -1,26 +1,26 @@
|
|||
<?php
|
||||
$this->headTitle($this->config->title->site);
|
||||
$this->headTitle($this->config->title->data);
|
||||
$this->headTitle('在线数据清单');
|
||||
$this->headTitle($this->codename);
|
||||
$this->headTitle()->setSeparator(' - ');
|
||||
$this->headLink()->appendStylesheet('/css/metadata.css');
|
||||
$this->breadcrumb('<a href="/">首页</a>');
|
||||
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||
$this->breadcrumb('在线数据清单');
|
||||
$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>
|
||||
<?php endforeach; ?>
|
||||
<hr />
|
||||
<?php
|
||||
$this->headTitle($this->config->title->site);
|
||||
$this->headTitle($this->config->title->data);
|
||||
$this->headTitle('在线数据清单');
|
||||
$this->headTitle($this->codename);
|
||||
$this->headTitle()->setSeparator(' - ');
|
||||
$this->headLink()->appendStylesheet('/css/metadata.css');
|
||||
$this->breadcrumb('<a href="/">首页</a>');
|
||||
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||
$this->breadcrumb('在线数据清单');
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
?>
|
||||
<div>
|
||||
<?= $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>
|
||||
<?php endforeach; ?>
|
||||
<hr />
|
||||
<?php echo $this->page->getNavigation(); ?>
|
|
@ -329,11 +329,15 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
|||
</ul>
|
||||
<div id="linkurl">
|
||||
<?php if ($md->status>0 and $md->status<5) : ?>
|
||||
<a href="/review/review/uuid/<?php echo $md->uuid; ?>"><img src="/images/review.png" title="此数据正在评审中,我们邀请您对此数据进行评审,以便其能尽快发布!" /></a>
|
||||
<a href="/review/review/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="此数据正在评审中,我们邀请您对此数据进行评审,以便其能尽快发布!">数据评审中</a>
|
||||
<?php else : if (!$md->datatype) : ?>
|
||||
<a href="/data/todownload/?uuid=<?= $md->uuid?>"><img src="/images/download.png" title="直接下载" /></a>
|
||||
<a href="/data/todownload/?uuid=<?= $md->uuid?>" class="btn btn-primary btn-large btn-block" title="直接下载">
|
||||
在线下载
|
||||
</a>
|
||||
<?php else: ?>
|
||||
<a href="/data/order/uuid/<?php echo $md->uuid; ?>"><img src="/images/order.png" title="免费!离线申请此数据(在线数据和离线数据都可申请)"/></a>
|
||||
<a href="/data/order/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="免费!离线申请此数据(在线数据和离线数据都可申请)">
|
||||
离线申请
|
||||
</a>
|
||||
<?php endif;endif; ?>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -333,11 +333,15 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
|||
</ul>
|
||||
<div id="linkurl">
|
||||
<?php if ($md->status>0 and $md->status<5) : ?>
|
||||
<a href="/review/review/uuid/<?php echo $md->uuid; ?>"><img src="/images/review.png" title="此数据正在评审中,我们邀请您对此数据进行评审,以便其能尽快发布!" /></a>
|
||||
<a href="/review/review/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="此数据正在评审中,我们邀请您对此数据进行评审,以便其能尽快发布!">数据评审中</a>
|
||||
<?php else : if (!$md->datatype) : ?>
|
||||
<a href="/data/todownload/?uuid=<?= $md->uuid?>"><img src="/images/download.png" title="直接下载" /></a>
|
||||
<a href="/data/todownload/?uuid=<?= $md->uuid?>" class="btn btn-primary btn-large btn-block" title="直接下载">
|
||||
在线下载
|
||||
</a>
|
||||
<?php else: ?>
|
||||
<a href="/data/order/uuid/<?php echo $md->uuid; ?>"><img src="/images/order.png" title="免费!离线申请此数据(在线数据和离线数据都可申请)"/></a>
|
||||
<a href="/data/order/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="免费!离线申请此数据(在线数据和离线数据都可申请)">
|
||||
离线申请
|
||||
</a>
|
||||
<?php endif;endif; ?>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -332,11 +332,15 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
|||
</ul>
|
||||
<div id="linkurl">
|
||||
<?php if ($md->status>0 and $md->status<5) : ?>
|
||||
<a href="/review/review/uuid/<?php echo $md->uuid; ?>"><img src="/images/review.png" title="此数据正在评审中,我们邀请您对此数据进行评审,以便其能尽快发布!" /></a>
|
||||
<a href="/review/review/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="此数据正在评审中,我们邀请您对此数据进行评审,以便其能尽快发布!">数据评审中</a>
|
||||
<?php else : if (!$md->datatype) : ?>
|
||||
<a href="/data/todownload/?uuid=<?= $md->uuid?>"><img src="/images/download.png" title="直接下载" /></a>
|
||||
<a href="/data/todownload/?uuid=<?= $md->uuid?>" class="btn btn-primary btn-large btn-block" title="直接下载">
|
||||
在线下载
|
||||
</a>
|
||||
<?php else: ?>
|
||||
<a href="/data/order/uuid/<?php echo $md->uuid; ?>"><img src="/images/order.png" title="免费!离线申请此数据(在线数据和离线数据都可申请)"/></a>
|
||||
<a href="/data/order/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="免费!离线申请此数据(在线数据和离线数据都可申请)">
|
||||
离线申请
|
||||
</a>
|
||||
<?php endif;endif; ?>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue