* add index style.

This commit is contained in:
wangyidong
2012-02-29 02:55:52 +00:00
parent 40fbdf2245
commit c182fae68c
10 changed files with 53 additions and 15 deletions
+1
View File
@@ -1,2 +1,3 @@
.linkbox1{height:180px; overflow-y:auto}
.linkbox2{height:225px; overflow-y:auto}
.outer {padding:18px; text-align:left; background:#fff; border:1px solid #ddd;}
+13
View File
@@ -7,3 +7,16 @@
#row1{margin-bottom:20px}
#row1 .table-1, #row1 caption{border:none}
#row2 .table-1, #row2 caption{border:none}
.icon-title {padding-left:16px; padding-bottom:2px; background:url(theme/default/images/main/ui-gray.png); background-position:-0px 140px;}
.icon-notice {padding-left:16px; padding-bottom:3px; background:url(theme/default/images/main/ui-gray.png); background-position:-16px 98px;}
.icon-help {padding-left:16px; padding-bottom:2px; background:url(theme/default/images/main/ui-gray.png); background-position:-48px 98px;}
.icon-dynamic {padding-left:16px; padding-bottom:2px; background:url(theme/default/images/main/ui-gray.png); background-position:-80px 124px;}
.icon-more {padding-left:16px; padding-bottom:2px; background:url(theme/default/images/main/ui-gray.png); background-position:-32px -20px;}
.icon-bug {padding-left:16px; padding-bottom:2px; background:url(theme/default/images/main/ui-gray.png); background-position:-0px 94px;}
.icon-todo {padding-left:16px; padding-bottom:2px; background:url(theme/default/images/main/ui-gray.png); background-position:-64px 94px;}
.icon-doing {padding-left:16px; padding-bottom:2px; background:url(theme/default/images/main/ui-gray.png); background-position:-16px 124px;}
.button-add {background:url(theme/default/images/main/add_button_95x36.png) left top; padding:12px 15px 10px 30px; color:#fff; font-weight:bold;}
.button-add:hover {background-position:left center; padding:12px 15px 10px 30px; color:#fff; font-weight:bold;}
.button-add:active {background-position:left center; padding:12px 15px 10px 30px; color:#fff; font-weight:bold;}
+2 -1
View File
@@ -32,6 +32,7 @@ $lang->my->home->projects = '项目';
$lang->my->home->products = '产品';
$lang->my->home->projectHome = '访问项目主页';
$lang->my->home->productHome = '访问产品主页';
$lang->my->home->noProjectsTip = "目前还没有进行中的项目,<a class='button-add' href='%s'>创建一个项目吧</a>,<p style='margin-top:15px'>或者修改已有的项目,将其状态改为'<span class='icon-q'></span><i>进行中</i>'。</p>";
$lang->my->home->noProjectsTip = "目前还没有进行中的项目,<a class='button-add' href='%s'>创建一个项目吧</a>,";
$lang->my->home->noProductsTip = "目前还没有产品,<a class='button-add' href='%s'>创建一个产品吧</a>。";
$lang->my->home->help = "<a href='http://www.zentao.net/help-read-79236.html' target='_blank'>帮助文档</a>";
$lang->my->home->otherNoTip = "或者修改已有的项目,将其状态改为“<span class='icon-doing'></span><i>进行中</i> ”。";
+1 -1
View File
@@ -2,7 +2,7 @@
<table class='table-1 fixed colored'>
<caption>
<div class='f-left'><span class='icon-bug'></span> <?php echo $lang->my->bug;?></div>
<div class='f-right'><?php echo html::a($this->createLink('my', 'bug'), $lang->more . "<span class='icon-g'></span>");?></div>
<div class='f-right'><?php echo html::a($this->createLink('my', 'bug'), $lang->more . "<span class='icon-more'></span>");?></div>
</caption>
<?php
foreach($bugs as $bugID => $bugTitle)
+2 -2
View File
@@ -1,8 +1,8 @@
<div class='block'>
<table class='table-1 colored fixed'>
<caption>
<div class='f-left'><span class='icon-z'></span><?php echo $lang->my->home->latest;?></div>
<div class='f-right'><?php common::printLink('company', 'dynamic', '', $lang->more . "<span class='icon-g'></span>");?></div>
<div class='f-left'><span class='icon-dynamic'></span><?php echo $lang->my->home->latest;?></div>
<div class='f-right'><?php common::printLink('company', 'dynamic', '', $lang->more . "<span class='icon-more'></span>");?></div>
</caption>
<?php
foreach($actions as $action)
+2 -2
View File
@@ -6,11 +6,11 @@
<td valign='middle'>
<table class='a-left bd-none' align='center'>
<tr>
<td valign='top'><span class='icon-t'></span></td>
<td valign='top'><span class='icon-notice'></span></td>
<td><?php printf($lang->my->home->noProductsTip, $this->createLink('product', 'create'));?></td>
</tr>
<tr>
<td><span class='icon-w'></span></td>
<td><span class='icon-help'></span></td>
<td><?php echo $lang->my->home->help; ?></td>
</tr>
</table>
+6 -2
View File
@@ -6,11 +6,15 @@
<td valign='middle'>
<table class='a-left bd-none' align='center'>
<tr>
<td valign='top'><span class='icon-t'></span></td>
<td><span class='icon-notice'></span></td>
<td><?php printf($lang->my->home->noProjectsTip, $this->createLink('project', 'create'));?></td>
</tr>
<tr>
<td></td>
<td class='h-30px'><?php echo $lang->my->home->otherNoTip;?></td>
</tr>
<tr>
<td><span class='icon-w'></span></td>
<td><span class='icon-help'></span></td>
<td><?php echo $lang->my->home->help; ?></td>
</tr>
</table>
+2 -2
View File
@@ -1,8 +1,8 @@
<div class='block linkbox2'>
<table class='table-1 fixed colored'>
<caption>
<div class='f-left'><span class='icon-q'></span><?php echo $lang->my->task;?></div>
<div class='f-right'><?php echo html::a($this->createLink('my', 'task'), $lang->more . "<span class='icon-g'></span>");?></div>
<div class='f-left'><span class='icon-doing'></span><?php echo $lang->my->task;?></div>
<div class='f-right'><?php echo html::a($this->createLink('my', 'task'), $lang->more . "<span class='icon-more'></span>");?></div>
</caption>
<?php
foreach($tasks as $task)
+1 -1
View File
@@ -2,7 +2,7 @@
<table class='table-1 fixed colored'>
<caption>
<div class='f-left'><span class='icon-todo'></span><?php echo $lang->my->todo;?></div>
<div class='f-right'><?php echo html::a($this->createLink('my', 'todo'), $lang->more . "<span class='icon-g'></span>");?></div>
<div class='f-right'><?php echo html::a($this->createLink('my', 'todo'), $lang->more . "<span class='icon-more'></span>");?></div>
</caption>
<?php
foreach($todos as $todo)
+23 -4
View File
@@ -17,7 +17,7 @@ ins{background:#cfc; text-decoration:none}
/*-----------------------LAYOUT SETTING ----------------------------*/
#wrap{ padding:0 15px; background:#e5e5e5;}
.outer {padding:18px; text-align:left; background:#fff; border:1px solid #ddd;}
.outer {text-align:left; background:#fff; border:1px solid #ddd;}
.cont, .cont-lt1, .cont-lt2, .cont-lt3, .cont-lt4, .cont-lt5, .cont-rt1, .cont-rt2, .cont-rt3, .cont-rt4, .cont-rt5 {width:100%; margin:0; border:none; text-align:left}
.cont tr, .cont td {border:none; padding:0}
.cont-lt1 tr, .cont-lt2 tr, .cont-lt3 tr, .cont-lt4 tr, .cont-lt5 tr {border:none; padding:0}
@@ -157,6 +157,25 @@ table.tablesorter thead tr .header {background-image: url(./images/table
table.tablesorter thead tr .headerSortUp {background-image: url(./images/tablesorter/asc.gif); background-repeat: no-repeat; background-position: center right; cursor: pointer;}
table.tablesorter thead tr .headerSortDown {background-image: url(./images/tablesorter/desc.gif); background-repeat: no-repeat; background-position: center right; cursor: pointer;}
/*-----------------------HEIGHT SETTING--------------------------*/
.h-5px {height:5px}
.h-10px {height:10px}
.h-20px {height:20px}
.h-30px {height:30px}
.h-35px {height:35px}
.h-40px {height:40px}
.h-45px {height:45px}
.h-50px {height:50px}
.h-60px {height:60px}
.h-70px {height:70px}
.h-80px {height:80px}
.h-100px {height:100px}
.h-120px {height:120px}
.h-130px {height:130px}
.h-140px {height:140px}
.h-150px {height:150px}
.h-200px {height:200px}
/*-----------------------WIDTH SETTING--------------------------*/
.w-p5 {width: 5%}
.w-p10 {width: 10%}
@@ -324,8 +343,8 @@ table.tablesorter thead tr .headerSortDown {background-image: url(./images/table
.tabs a.current {background:green; color:white}
/* Footer. */
#divider {margin-bottom:30px;width:100%; position:fixed; bottom:34px; left:0; margin:0; color:#333; background:#e5e5e5; height:15px;}
#footer {width:100%; position:fixed; bottom:0; left:0; margin:0; color:#333; background:url(images/main/status_x_bg.gif) repeat-x; height:34px; line-height:20px;}
#divider {margin-bottom:40px;}
#footer {width:100%; position:fixed; bottom:0; left:0; margin:0; color:#333; background:#e5e5e5 url(images/main/status_x_bg.gif) repeat-x bottom; height:34px; line-height:20px; padding-top:15px;}
#crumbs {padding:5px 0 5px 10px;}
#poweredby {padding-right:10px}
@@ -351,4 +370,4 @@ table.tablesorter thead tr .headerSortDown {background-image: url(./images/table
.linkbox a {display:block}
.owner {background:#e4e4e4; font-size:smaller}
.emptybg { background:#efefef;}
a { text-decoration:none;}
a { text-decoration:none;}