modify about page

This commit is contained in:
wlx 2011-12-13 11:08:53 +00:00
parent 349c28de34
commit ebd785ee9b
4 changed files with 106 additions and 35 deletions

View File

@ -1,32 +1,34 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle('联系我们');
$this->headTitle('Contact Us');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/contact.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/about">关于本站</a>');
$this->breadcrumb('联系我们');
$this->headLink()->appendStylesheet('/css/about.css');
$this->breadcrumb('<a href="/">Home</a>');
$this->breadcrumb('<a href="/about">About</a>');
$this->breadcrumb('Contact');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id="contactUs"> 联系我们</div>
<div id='sidebar'>
<div id='leftnavi'>
<?= $this->partial('about/navi.phtml'); ?>
</div>
</div>
<div id="contactUs"> Contact Us</div>
<div id="offline">
<p class="title">离线方式</p>
<p>
中国西部环境与生态科学数据中心<br />
兰州市东岗西路320号<br />
730000<br />
E-mail: westdc@lzb.ac.cn<br />
电话: +86-931-4967287 Ms. 李红星<br />
<br />
项目负责人:丁永建(dyj@lzb.ac.cn)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;李新(lixin@lzb.ac.cn)<br />
数据服务负责人:王建(wjian@lzb.ac.cn)<br />
技术组长:南卓铜(nztong@lzb.ac.cn)</p>
<p class="title">Mailing address:</p>
<p>
Cold and Arid Regions Environmental and Engineering Research Institute, Chinese Academy of Sciences<br />
Zip Code: 730000<br />
Address: Room 6#1102, Donggang West Road 320, Lanzhou, Gansu, China<br />
Tel: +86-931-4967287<br />
Email: westdc@lzb.ac.cn<br />
</p>
</div>
<div id="online">
<p class="title">在线联系</p>
<p class="note">请填写以下表单系统会自动发送到westdc邮箱里</p>
<p class="title">Online email:</p>
<p class="note">Send email via this form to our service mailbox.</p>
<?php echo $this->form; ?>
<?php if (!empty($this->messages)) : ?>

View File

@ -1,13 +1,19 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle('关于本站');
$this->headTitle('About');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/about.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/about">关于本站</a>');
$this->breadcrumb('<a href="/">Home</a>');
$this->breadcrumb('About');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="LeftMargin">
<div id='sidebar'>
<div id='leftnavi'>
<?= $this->partial('about/navi.phtml'); ?>
</div>
</div>
<div id="content">
<div class="logo">
<img src="/images/westdc_logo_white.gif" /><br />
<a href="/images/westdc_logo_white.gif">下载LOGO</a></div>
@ -25,5 +31,4 @@ $this->breadcrumb()->setSeparator(' > ');
target="_blank">中国科学院地理科学与资源研究所</a>。其中“知识积累平台”依托<a href="http://www.llas.ac.cn" target="_blank">中国科学院资源环境科学信息中心</a>实现项目中的文献收集和管理。</p>
<h2>
<a href="/about/contact">联系我们</a></h2>
进入<a href="https://svn.westgis.ac.cn/projects/westdc/">TRAC系统</a>(开发平台,需授权用户才能进入)
</div>
</div>

View File

@ -0,0 +1,7 @@
<ul>
<li><a href="/about/people">People</a></li>
<li><a href="/about/terms">Use & Copyright</a></li>
<li><a href="/about/contact">Contact Us</a></li>
<li><a href="/about/support">Support WDSCAR</a></li>
<li><a href="/about/sponsors">Our Sponsors</a></li>
</ul>

View File

@ -1,3 +1,9 @@
#sidebar{float:left;margin:0;padding:0;width:160px;_margin-right:-3px;float:left;border-right:2px solid #ddd;background:#ddd;border-radius:5px;overflow:hidden;}
#sidebar li{margin:5px 0 5px 30px;}
#sidebar li.title{margin:0;padding:5px 40px;background-color:#ECA965;}
#leftnavi li{margin:5px 0 5px 20px;font-size:9pt;border:1px #93bee2 solid;background-color:#e8f4ff;width:100px;height:22px;padding:0 10px 0 10px;}
#content{margin-left:160px;}
#content p{text-indent: 20px;}
.logo{float:right;margin-left:10px;margin-bottom:15px;text-align:center;}
.preface
{
@ -7,14 +13,7 @@
padding: 5px;
border: 1px solid gray;
}
.LeftMargin a
{
text-decoration: none;
}
.LeftMargin p
{
text-indent: 20px;
}
h2 a, h2 a:visited{padding-right:20px;color:#808080;background-image:url(../images/extlink.gif);
background-repeat:no-repeat; background-position:right center;}
@ -24,4 +23,62 @@ h2 a, h2 a:visited{padding-right:20px;color:#808080;background-image:url(../imag
font-size: 12px;
font-weight: bold;
margin-bottom: 20px;
}
}
#contactUs
{
font-size: 150%;
padding-left: 60px;
background: url(../images/right_03.gif) no-repeat bottom left;
line-height: 35px;
margin-bottom: 20px;
margin-left:180px;
}
.note
{
color:Navy;
padding-bottom:5px;
margin-bottom:0px;
}
.title{
font-weight: bold;
padding: 0px 10px 0px;
font-size: 105%;
}
#online{
float:left;
width:450px;
}
#offline{
float:left;
background:#eee;
margin:10px;
padding:5px;
width:300px;
}
dd {float:left;padding-top:5px;margin-left:5px;}
dt {clear:both;float:left;width:150px;padding-top:5px;}
label {
display: block;
vertical-align: bottom;
float:left;
}
label.required { background:url(/images/req-asterisk.gif) right no-repeat; padding-right:26px; }
#message{
width:400px;padding-top:10px;
border:1px dotted;
color:red;
}
input,select,textarea,button {
font:1em Tahoma;
color:#444444;
width:80%;
border-width: 1px;
border-style: solid;
border-color: #444;
}
#submitbutton{width:100px;}
ul{list-style-type: none;}