* change the layout.

This commit is contained in:
wangchunsheng
2009-11-09 07:12:10 +00:00
parent 8c19d54e9c
commit 38d6a153ad
2 changed files with 16 additions and 14 deletions

View File

@@ -91,18 +91,18 @@ $("#{$tabID}tab").addClass('active');
EOT;
?>
</ul>
<?php if($tabID == 'todo'):?>
<div>
<?php
echo html::a($this->createLink('my', 'todo', "date=today"), $lang->todo->todayTodos);
echo html::a($this->createLink('my', 'todo', "date=thisweek"), $lang->todo->thisWeekTodos);
echo html::a($this->createLink('my', 'todo', "date=lastweek"), $lang->todo->lastWeekTodos);
echo html::a($this->createLink('my', 'todo', "date=all"), $lang->todo->allDaysTodos);
echo html::a($this->createLink('my', 'todo', "date=before&account={$app->user->account}&status=wait,doing"), $lang->todo->allUndone);
echo html::select('date', $dates, $date, 'onchange=changeDate(this.value)');
echo html::a($this->createLink('todo', 'create', "date=$date"), $lang->todo->create);
?>
</div>
<?php endif;?>
</div>
<?php if($tabID == 'todo'):?>
<div id = 'subtab'>
<?php
echo html::a($this->createLink('my', 'todo', "date=today"), $lang->todo->todayTodos);
echo html::a($this->createLink('my', 'todo', "date=thisweek"), $lang->todo->thisWeekTodos);
echo html::a($this->createLink('my', 'todo', "date=lastweek"), $lang->todo->lastWeekTodos);
echo html::a($this->createLink('my', 'todo', "date=all"), $lang->todo->allDaysTodos);
echo html::a($this->createLink('my', 'todo', "date=before&account={$app->user->account}&status=wait,doing"), $lang->todo->allUndone);
echo html::select('date', $dates, $date, 'onchange=changeDate(this.value)');
echo html::a($this->createLink('todo', 'create', "date=$date"), $lang->todo->create);
?>
</div>
<?php endif;?>

View File

@@ -127,6 +127,8 @@ tr, th, td {padding:5px}
#tabbar .active a:hover {color:red}
#tabbar div{float:right; padding:5px 10px 4px 10px; background:#FFCF9C}
#tabbar div select{font-size:11px; height:19px; margin:0; padding:0}
#subtab {clear:both; text-align:left; background-color:#B6F5CB; font-weight:bold; font-size:108%; padding-left:10px}
#subtab a{text-decoration:none; color:black;}
#titlebar{font-size:16px; font-weight:bold; background:#e4e4e4; padding:5px; margin:10px 0 10px 0; height:22px}
#titlebar #main {float:left; width:80%; clear:none; text-align:left}