* replace table of bug's steps instead div.

* add icon for bug-buildtemplate.
This commit is contained in:
chencongzhi520@gmail.com
2013-01-20 07:49:16 +00:00
parent 43b935966c
commit bf0ddec7d1
2 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ foreach($templates as $key => $template)
{
echo "<span id='tplBox$template->id'>";
echo $lang->arrow. "<span id='tplTitleBox$template->id' onclick='setTemplate($template->id)' style='text-decoration:underline; color:blue' class='hand'>$template->title</span>";
echo html::commonButton('x', "onclick=deleteTemplate($template->id)");
echo html::commonButton('&nbsp;', "onclick=deleteTemplate($template->id) class='icon-delete'");
echo "<span id='template$template->id' class='hidden'>$template->content</span>";
echo '<br /></span>';
}
+2 -6
View File
@@ -53,12 +53,8 @@ js::set('page', 'create');
<tr>
<th class='rowhead'><?php echo $lang->bug->steps;?></th>
<td>
<table class='w-p100 bd-none'>
<tr class='bd-none' valign='top'>
<td class='w-p85 bd-none padding-zero'><?php echo html::textarea('steps', $steps, "rows='10'");?></td>
<td class='bd-none pl-10px' id='tplBox'><?php echo $this->fetch('bug', 'buildTemplates');?></td>
</tr>
</table>
<div class='w-p85 bd-none padding-zero f-left'><?php echo html::textarea('steps', $steps, "rows='10'");?></div>
<div class='bd-none pl-10px f-left' id='tplBox'><?php echo $this->fetch('bug', 'buildTemplates');?></div>
</td>
</tr>
<tr>