* adjust style for testreport.

This commit is contained in:
wangyidong
2017-03-14 15:03:47 +08:00
parent 4421cf85d6
commit 89f3ea8f47
9 changed files with 46 additions and 33 deletions
+10 -10
View File
@@ -74,12 +74,20 @@
<td colspan='2'>
<?php
echo '<p>' . $storySummary . '</p>';
echo '<p>' . $caseSummary . '</p>';
echo '<p>' . sprintf($lang->testreport->bugSummary, $bugInfo['countBugByTask'], $bugInfo['bugConfirmedRate'] . '%', $bugInfo['bugCreateByCaseRate'] . '%') . '</p>';
echo '<p>' . sprintf($lang->testreport->buildSummary, empty($builds) ? 1 : count($builds)) . $caseSummary . '</p>';
echo '<p>' . sprintf($lang->testreport->bugSummary, $bugInfo['countBugByTask'], count($legacyBugs), $bugInfo['bugConfirmedRate'] . '%', $bugInfo['bugCreateByCaseRate'] . '%') . '</p>';
unset($bugInfo['countBugByTask']); unset($bugInfo['bugConfirmedRate']); unset($bugInfo['bugCreateByCaseRate']);
?>
</td>
</tr>
<tr>
<th><?php echo $lang->testreport->report?></th>
<td colspan='2'><?php echo html::textarea('report', '', "class='form-control'")?></td>
</tr>
<tr>
<th><?php echo $lang->files?></th>
<td colspan='2'><?php echo $this->fetch('file', 'buildform');?></td>
</tr>
</table>
</fieldset>
<fieldset>
@@ -103,14 +111,6 @@
<legend><?php echo $lang->testreport->legendReport?></legend>
<?php include './blockbugreport.html.php'?>
</fieldset>
<fieldset>
<legend><?php echo $lang->testreport->report?></legend>
<?php echo html::textarea('report', '', "class='form-control'")?>
</fieldset>
<fieldset>
<legend><?php echo $lang->files?></legend>
<?php echo $this->fetch('file', 'buildform');?>
</fieldset>
<div><?php echo html::submitButton() . html::backButton();?></div>
</form>
</div>