* adjust for testtask-runcase and testtask-results page.

This commit is contained in:
wangyidong
2018-05-15 14:09:07 +08:00
parent de5d5ce0c9
commit 41d8cfe611
11 changed files with 105 additions and 108 deletions
+10 -12
View File
@@ -13,22 +13,21 @@
<?php include '../../common/view/header.lite.html.php';?>
<?php include '../../common/view/form.html.php';?>
<?php js::set('caseResultSave', $lang->save);?>
<div id='titlebar'>
<div class='heading'>
<span class='prefix'><?php echo html::icon($lang->icons['usecase']);?> <strong><?php echo $run->case->id;?></strong></span>
<strong><?php echo $run->case->title;?></strong>
<small class='text-muted'> <?php echo $lang->testtask->runCase;?> <?php echo html::icon($lang->icons['run']);?></small>
<div id='mainContent' class='main-content'>
<div class='main-header'>
<h2>
<span class='label label-id'><?php echo $run->case->id;?></span>
<?php echo $run->case->title;?>
</h2>
</div>
</div>
<div class='main'>
<form class='form-condensed' method='post' enctype='multipart/form-data' id='dataform' data-type='ajax'>
<table class='table table-bordered table-form' style='word-break:break-all' id='steps'>
<form method='post' enctype='multipart/form-data' id='dataform' data-type='ajax'>
<table class='table table-bordered' style='word-break:break-all' id='steps'>
<thead>
<tr>
<td colspan='5' style='word-break: break-all;'><strong><?php echo $lang->testcase->precondition;?></strong> <?php echo $run->case->precondition;?></td>
</tr>
<tr>
<th class='w-40px'><?php echo $lang->testcase->stepID;?></th>
<th class='w-50px'><?php echo $lang->testcase->stepID;?></th>
<th class='w-p30'><?php echo $lang->testcase->stepDesc;?></th>
<th class='w-p30'><?php echo $lang->testcase->stepExpect;?></th>
<th class='w-100px'><?php echo $lang->testcase->result;?></th>
@@ -117,8 +116,7 @@
</div>
<?php endforeach;?>
</form>
</div>
<div class='main' id='resultsContainer'>
<div class='main' id='resultsContainer'></div>
</div>
<script>
$(function()