* finish task #763.

This commit is contained in:
wangyidong
2012-06-19 07:38:18 +00:00
parent ed22fd465c
commit 7b4e12dcc3
6 changed files with 102 additions and 82 deletions
+4
View File
@@ -62,6 +62,10 @@ $(function()
<th class='rowhead'><?php echo $lang->task->estimate;?></th>
<td><?php echo html::input('estimate', '', "class='text-3'") . $lang->task->hour;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->estimateStartDate;?></th>
<td><?php echo html::input('estimateStartDate', '', "class='text-3 date'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->deadline;?></th>
<td><?php echo html::input('deadline', '', "class='text-3 date'");?></td>
+4
View File
@@ -83,6 +83,10 @@
<fieldset>
<legend><?php echo $lang->task->legendEffort;?></legend>
<table class='table-1'>
<tr>
<th class='rowhead'><?php echo $lang->task->estimateStartDate;?></th>
<td><?php echo html::input('estimateStartDate', $task->actualStartDate, "class='text-1 date'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->deadline;?></th>
<td><?php echo html::input('deadline', $task->deadline, "class='text-1 date'");?></td>
+4
View File
@@ -14,6 +14,10 @@
<form method='post' target='hiddenwin'>
<table class='table-1'>
<caption><?php echo $task->name;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->task->estimateStartDate;?></th>
<td><?php echo html::input('actualStartDate', helper::now(), "class='text-3'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->consumed;?></th>
<td><?php echo html::input('consumed', $task->consumed, "class='text-3'") . $lang->task->hour;?></td>
+4
View File
@@ -136,6 +136,10 @@
<fieldset>
<legend><?php echo $lang->task->legendEffort;?></legend>
<table class='table-1'>
<tr>
<th class='rowhead'><?php echo $lang->task->estimateStartDate;?></th>
<td> <?php echo strtotime($task->actualStartDate) ? substr($task->actualStartDate, 0, 10) : substr($task->estimateStartDate, 0, 10); ?> </td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->deadline;?></th>
<td>