网站部部样式、LOGO,样式修改。
This commit is contained in:
parent
123a76c464
commit
078d8deef8
|
@ -2,7 +2,7 @@
|
|||
<div class="row-fluid">
|
||||
<div class="span4">
|
||||
<div class="box">
|
||||
<h4 class="box-title">最近更新 <small>Latest news</small></h4>
|
||||
<h4 class="box-title">新闻动态 </h4>
|
||||
<ul>
|
||||
<?php if(!empty($this->articles)) { ?>
|
||||
<?php foreach($this->articles as $k=>$v){ ?>
|
||||
|
@ -25,7 +25,7 @@
|
|||
<h4 class="box-title">最新数据</h4>
|
||||
<ul>
|
||||
<?php foreach($this->metadata as $k=>$v){ ?>
|
||||
<li><a href="<?= $this->url('data/view',array('uuid'=>$v['uuid'])) ?>"><?= $v['title'] ?></a><small style=" padding-left:20px;">[<?= $v['ts_published'] ?>]</small></li>
|
||||
<li><small style=" padding-right:10px;">[<?= $v['ts_published'] ?>]</small><a href="<?= $this->url('data/view',array('uuid'=>$v['uuid'])) ?>"><?= $v['title'] ?></a></li>
|
||||
<?php } ?>
|
||||
|
||||
<span class="pull-right" style="color:#000000; font-size:9px;">
|
||||
|
@ -42,7 +42,7 @@
|
|||
<div class="row-fluid">
|
||||
<div class="span4">
|
||||
<div class="box">
|
||||
<h4 class="box-title">新闻</h4>
|
||||
<h4 class="box-title">青海湖数据集</h4>
|
||||
<ul>
|
||||
<?php foreach($this->news as $k=>$v){ ?>
|
||||
<li>
|
||||
|
@ -72,7 +72,7 @@
|
|||
<!-- /.span4 -->
|
||||
<div class="span4">
|
||||
<div class="box">
|
||||
<h4 class="box-title">最新数据集</h4>
|
||||
<h4 class="box-title">三江源数据集</h4>
|
||||
<ul>
|
||||
<?php foreach($this->articles as $k=>$v){ ?>
|
||||
<li><a href="<?= $v['url'] ?>"><?= $v['title'] ?></a></li>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<footer class="footer">
|
||||
<div class="container">
|
||||
<p class="pull-right"><a href="#" class="icon-arrow-up"></a></p>
|
||||
<p>CopyRight © 2014-2015 青海省生态环境遥感监测中心. · <a href="#">中科院寒区旱区数据中心</a> </p>
|
||||
<p>CopyRight © 2014-2015 青海省生态环境遥感监测中心. · power by <a href="http://westdc.westgis.ac.cn/">westdc</a> </p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
|
|
@ -1,18 +1,16 @@
|
|||
|
||||
|
||||
<link href="../../../../public/sjyportal/css/style.css" rel="stylesheet" type="text/css" />
|
||||
<?php $config = \Sookon\Helpers\Config::get(); ?>
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<div class="span3"><img src="/sjyportal/img/logo.png"</img></div>
|
||||
<div class="span9 inline">
|
||||
<ul class="pull-right inline" style="color:#000000; font-size:9px;">
|
||||
<div class="container-fluid">
|
||||
<div class="row-fluid">
|
||||
<div class="span12 inline">
|
||||
<ul class="pull-right inline" style="color:#000000; font-size:12px; a">
|
||||
<?php
|
||||
$user = \Sookon\Helpers\View::User();
|
||||
if($user)
|
||||
{
|
||||
echo '<li><a href="/account"><i class="icon-user"></i> '.$user->username.'</a></li> ';
|
||||
echo '<li><a href="/account"><img src="/sjyportal/img/user.png"</img> '.$user->username.'</a></li> ';
|
||||
if ($user->usertype=="administrator")
|
||||
echo '<li><a href="/admin"><i class="icon-cog"></i> 后台 </a></li><li><a href="/data/order"><i class="icon-shopping-cart"></i> 数据篮 </a></li><li> <a href="/account/logout">退出</a></li> ';
|
||||
} else {
|
||||
|
@ -20,6 +18,13 @@
|
|||
} ?>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<div class="span4"><img src="/sjyportal/img/logo.png"</img></div>
|
||||
<div class="span8 inline">
|
||||
<ul class="nav nav-pills pull-right">
|
||||
<li id="page-nav-index"><a href="<?= $this->url('home') ?>">首 页</a></li>
|
||||
<li id="page-nav-news"><a href="<?= $this->url('news',array('category'=>'index')) ?>">新 闻</a></li>
|
||||
|
@ -34,6 +39,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<!-- /.header -->
|
||||
|
||||
|
|
Loading…
Reference in New Issue