* fixed commentbox.

This commit is contained in:
Catouse
2014-05-03 10:43:43 +08:00
parent 6ab17b072a
commit dbfbaa0da4
2 changed files with 7 additions and 11 deletions
+3 -5
View File
@@ -73,13 +73,11 @@
<?php echo $this->fetch('file', 'printFiles', array('files' => $bug->files, 'fieldset' => 'true'));?>
<?php include '../../common/view/action.html.php';?>
<div class='actions'><?php if(!$bug->deleted) echo $actionLinks;?></div>
<fieldset id='commentBox' class='hidden'>
<fieldset id='commentBox' class='hide'>
<legend><?php echo $lang->comment;?></legend>
<form method='post' action='<?php echo inlink('edit', "bugID=$bug->id&comment=true")?>'>
<table align='center' class='table-1'>
<tr><td><?php echo html::textarea('comment', '',"rows='5' class='w-p100'");?></td></tr>
<tr><td><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
<div class="form-group"><?php echo html::textarea('comment', '',"rows='5' class='w-p100'");?></div>
<?php echo html::submitButton() . html::backButton();?>
</form>
</fieldset>
</div>
+4 -6
View File
@@ -81,7 +81,7 @@
</fieldset>
<fieldset>
<legend><?php echo $lang->testcase->stepDesc;?></legend>
<table class='table table-condensed table-hover table-striped table-borderless'>
<table class='table table-condensed table-hover table-striped'>
<thead>
<tr>
<th class='w-40px'><?php echo $lang->testcase->stepID;?></th>
@@ -104,13 +104,11 @@
<?php echo $this->fetch('file', 'printFiles', array('files' => $case->files, 'fieldset' => 'true'));?>
<?php include '../../common/view/action.html.php';?>
<div class='actions'><?php echo $actionLinks;?></div>
<fieldset id='commentBox' class='hidden'>
<fieldset id='commentBox' class='hide'>
<legend><?php echo $lang->comment;?></legend>
<form method='post' action='<?php echo inlink('edit', "caseID=$case->id&comment=true")?>'>
<table align='center' class='table-1'>
<tr><td><?php echo html::textarea('comment', '',"rows='5' class='w-p100'");?></td></tr>
<tr><td><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
<div class="form-group"><?php echo html::textarea('comment', '',"rows='5' class='w-p100'");?></div>
<?php echo html::submitButton() . html::backButton();?>
</form>
</fieldset>
</div>