* changed css names to compatible with zui.

This commit is contained in:
Catouse
2014-03-26 11:01:19 +08:00
parent 1ff011f641
commit e94843f4e2
74 changed files with 303 additions and 296 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ table .table-1 td{border:0px;}
<td align='left' width='30%'><?php echo "<span title='$step->desc'>" . $i . "、" . $step->desc . '</span>'?></td>
<td align='left' width='30%'><?php echo "<span title='$step->expect'>" . $lang->testcase->stepExpect . ":" . $step->expect . '</span>'?></td>
<td width='50' class='hidden action<?php echo $caseID?>'><?php echo html::select("steps[$caseID][$stepID]", $lang->testcase->resultList, 'pass')?></td>
<td class='hidden action<?php echo $caseID?>'><?php echo html::input("reals[$caseID][$stepID]", '', "class='text-1'");?></td>
<td class='hidden action<?php echo $caseID?>'><?php echo html::input("reals[$caseID][$stepID]", '', "class='form-control'");?></td>
</tr>
<?php $i++?>
<?php endforeach?>
+1 -1
View File
@@ -16,7 +16,7 @@
<table class='table-1 colored tablesorter fixed' id='taskList'>
<caption class='caption-tl'>
<div class='f-left'><?php echo $lang->testtask->browse;?></div>
<div class='f-right'><?php common::printIcon('testtask', 'create', "product=$productID");?></div>
<div class='text-right'><?php common::printIcon('testtask', 'create', "product=$productID");?></div>
</caption>
<thead>
<?php $vars = "productID=$productID&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}"; ?>
+1 -1
View File
@@ -28,7 +28,7 @@ var moduleID = '<?php echo $moduleID;?>';
echo "<span id='bysearchTab' onclick=\"browseBySearch('$browseType')\"><a href='#' class='link-icon'><i class='icon-search icon'></i>&nbsp;{$lang->testcase->bySearch}</a></span> ";
?>
</div>
<div class='f-right'>
<div class='text-right'>
<?php
common::printIcon('testtask', 'linkCase', "taskID=$task->id");
common::printIcon('testcase', 'export', "productID=$productID&orderBy=`case`_desc&taskID=$task->id");
+7 -7
View File
@@ -19,12 +19,12 @@
<?php if(isset($projectID)):?>
<tr>
<th class='rowhead'><?php echo $lang->testtask->product;?></th>
<td><?php echo html::select('product', $products, '', 'class=select-3');?></td>
<td><?php echo html::select('product', $products, '', "class='form-control'");?></td>
</tr>
<?php else:?>
<tr class='hidden'>
<th><?php echo $lang->testtask->product;?></th>
<td><?php echo html::input('product', $productID, 'class=select-3');?></td>
<td><?php echo html::input('product', $productID, "class='form-control'");?></td>
</tr>
<?php endif;?>
<tr>
@@ -33,15 +33,15 @@
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->build;?></th>
<td><span id='buildBox'><?php echo html::select('build', $builds, '', 'class=select-3');?></span></td>
<td><span id='buildBox'><?php echo html::select('build', $builds, '', "class='form-control'");?></span></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->owner;?></th>
<td><?php echo html::select('owner', $users, '', "class='select-3 chosen'");?></td>
<td><?php echo html::select('owner', $users, '', "class='form-control chosen'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->pri;?></th>
<td><?php echo html::select('pri', $lang->testtask->priList, 0, 'class=select-3');?></td>
<td><?php echo html::select('pri', $lang->testtask->priList, 0, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->begin;?></th>
@@ -53,11 +53,11 @@
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->status;?></th>
<td><?php echo html::select('status', $lang->testtask->statusList, '', "class='select-3'");?></td>
<td><?php echo html::select('status', $lang->testtask->statusList, '', "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->name;?></th>
<td><?php echo html::input('name', '', "class='text-1'");?></td>
<td><?php echo html::input('name', '', "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->desc;?></th>
+6 -6
View File
@@ -18,19 +18,19 @@
<caption><?php echo $lang->testtask->edit;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->testtask->project;?></th>
<td><?php echo html::select('project', $projects, $task->project, 'class=select-3');?></td>
<td><?php echo html::select('project', $projects, $task->project, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->build;?></th>
<td><?php echo html::select('build', $builds, $task->build, 'class=select-3');?></td>
<td><?php echo html::select('build', $builds, $task->build, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->owner;?></th>
<td><?php echo html::select('owner', $users, $task->owner, "class='select-3 chosen'");?></td>
<td><?php echo html::select('owner', $users, $task->owner, "class='form-control chosen'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->pri;?></th>
<td><?php echo html::select('pri', $lang->testtask->priList, $task->pri, 'class=select-3');?></td>
<td><?php echo html::select('pri', $lang->testtask->priList, $task->pri, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->begin;?></th>
@@ -42,11 +42,11 @@
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->status;?></th>
<td><?php echo html::select('status', $lang->testtask->statusList, $task->status, "class='select-3'");?></td>
<td><?php echo html::select('status', $lang->testtask->statusList, $task->status, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->name;?></th>
<td><?php echo html::input('name', $task->name, "class='text-1'");?></td>
<td><?php echo html::input('name', $task->name, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->desc;?></th>
+2 -2
View File
@@ -17,7 +17,7 @@
<table class='table-1 colored tablesorter fixed'>
<caption class='caption-tl'>
<div class='f-left'><?php echo $lang->testtask->unlinkedCases;?></div>
<div class='f-right'>
<div class='text-right'>
<?php
$lang->testtask->linkCase = $lang->testtask->linkByStory;
common::printIcon('testtask', 'linkCase', "taskID=$taskID&param=bystory");
@@ -69,7 +69,7 @@
<?php if($cases):?>
<div class='f-left'><?php echo html::selectAll() . html::selectReverse() . html::submitButton();?></div>
<?php endif;?>
<div class='f-right'><?php $pager->show();?></div>
<div class='text-right'><?php $pager->show();?></div>
</td>
</tr>
</tfoot>
+1 -1
View File
@@ -20,7 +20,7 @@
<table class='table-1'>
<caption>
<div class='f-left'>RESULT#<?php echo $result->id . ' ' . $result->date . ' ' . $users[$result->lastRunner] . ' ' . $lang->testtask->runCase . ':'. " <span class='$result->caseResult'>" . $lang->testcase->resultList[$result->caseResult] . '</span>';?></div>
<?php if(isset($build)):?><div class='f-right'><?php echo $lang->testtask->build . $lang->colon . $build;?></div><?php endif;?>
<?php if(isset($build)):?><div class='text-right'><?php echo $lang->testtask->build . $lang->colon . $build;?></div><?php endif;?>
</caption>
<tr>
<th class='w-30px'><?php echo $lang->testcase->stepID;?></th>