* ajusted views.
* changed css names.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<td><?php echo $caseID . html::hidden("caseIDList[$caseID]", $caseID);?></td>
|
||||
<td><?php echo html::select("pris[$caseID]", $lang->testcase->priList, $cases[$caseID]->pri, 'class=form-control');?></td>
|
||||
<td><?php echo html::select("statuses[$caseID]", (array)$lang->testcase->statusList, $cases[$caseID]->status, 'class=form-control');?></td>
|
||||
<td><?php echo html::select("modules[$caseID]", $moduleOptionMenu, $cases[$caseID]->module, "class='select-1'");?></span></td>
|
||||
<td><?php echo html::select("modules[$caseID]", $moduleOptionMenu, $cases[$caseID]->module, "class='form-control'");?></span></td>
|
||||
<td><?php echo html::input("titles[$caseID]", $cases[$caseID]->title, 'class=form-control'); echo "<span class='star'>*</span>";?></td>
|
||||
<td><?php echo html::select("types[$caseID]", $lang->testcase->typeList, $cases[$caseID]->type, 'class=form-control');?></td>
|
||||
<td class='text-left' style='overflow:visible'><?php echo html::select("stages[$caseID][]", $lang->testcase->stageList, $cases[$caseID]->stage, "class='select-1 chosen' multiple data-placeholder='{$lang->testcase->stage}'");?></td>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<table class='table-1'>
|
||||
<caption><?php echo $lang->testcase->create;?></caption>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testcase->lblProductAndModule;?></th>
|
||||
<th><?php echo $lang->testcase->lblProductAndModule;?></th>
|
||||
<td>
|
||||
<?php echo html::select('product', $products, $productID, "onchange=loadAll(this.value); class='form-control'");?>
|
||||
<span id='moduleIdBox'>
|
||||
@@ -36,19 +36,19 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testcase->type;?></th>
|
||||
<th><?php echo $lang->testcase->type;?></th>
|
||||
<td><?php echo html::select('type', $lang->testcase->typeList, $type, "class='form-control'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testcase->stage;?></th>
|
||||
<th><?php echo $lang->testcase->stage;?></th>
|
||||
<td><?php echo html::select('stage[]', $lang->testcase->stageList, $stage, "class='form-control' multiple='multiple'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testcase->pri;?></th>
|
||||
<th><?php echo $lang->testcase->pri;?></th>
|
||||
<td><?php echo html::select('pri', $lang->testcase->priList, $pri, "class='form-control'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testcase->lblStory;?></th>
|
||||
<th><?php echo $lang->testcase->lblStory;?></th>
|
||||
<td>
|
||||
<div id='storyIdBox'><?php echo html::select('story', $stories, $storyID, 'class="form-control" onchange=setPreview();');?>
|
||||
<?php if($storyID == 0): ?>
|
||||
@@ -60,15 +60,15 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testcase->title;?></th>
|
||||
<th><?php echo $lang->testcase->title;?></th>
|
||||
<td><?php echo html::input('title', $caseTitle, "class='form-control'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testcase->precondition;?></th>
|
||||
<th><?php echo $lang->testcase->precondition;?></th>
|
||||
<td><?php echo html::textarea('precondition', $precondition, " rows='4' class='form-control'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testcase->steps;?></th>
|
||||
<th><?php echo $lang->testcase->steps;?></th>
|
||||
<td>
|
||||
<table class='w-p90'>
|
||||
<tr class='colhead'>
|
||||
@@ -97,11 +97,11 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testcase->keywords;?></th>
|
||||
<th><?php echo $lang->testcase->keywords;?></th>
|
||||
<td><?php echo html::input('keywords', $keywords, "class='form-control'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testcase->files;?></th>
|
||||
<th><?php echo $lang->testcase->files;?></th>
|
||||
<td><?php echo $this->fetch('file', 'buildform');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
|
||||
<fieldset>
|
||||
<legend><?php echo $lang->testcase->legendComment;?></legend>
|
||||
<?php echo html::textarea('comment', '', "rows='5' class='area-1'");?>
|
||||
<?php echo html::textarea('comment', '', "rows='5' class='form-control'");?>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend><?php echo $lang->testcase->legendAttatch;?></legend>
|
||||
@@ -84,36 +84,36 @@
|
||||
<td><?php echo html::select('product', $products, $productID, "onchange=loadAll(this.value); class='select-1'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='rowhead'><?php echo $lang->testcase->module;?></td>
|
||||
<td><?php echo $lang->testcase->module;?></td>
|
||||
<td><span id='moduleIdBox'><?php echo html::select('module', $moduleOptionMenu, $currentModuleID, "onchange='loadModuleRelated()' class='select-1'");?></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='rowhead'><?php echo $lang->testcase->story;?></td>
|
||||
<td><?php echo $lang->testcase->story;?></td>
|
||||
<td class='text-left'><div id='storyIdBox'><?php echo html::select('story', $stories, $case->story, 'class=form-control');?></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='rowhead'><?php echo $lang->testcase->type;?></td>
|
||||
<td><?php echo $lang->testcase->type;?></td>
|
||||
<td><?php echo html::select('type', (array)$lang->testcase->typeList, $case->type, 'class=form-control');?>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testcase->stage;?></th>
|
||||
<th><?php echo $lang->testcase->stage;?></th>
|
||||
<td><?php echo html::select('stage[]', $lang->testcase->stageList, $case->stage, "class='select-1' multiple='multiple'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='rowhead'><?php echo $lang->testcase->pri;?></td>
|
||||
<td><?php echo $lang->testcase->pri;?></td>
|
||||
<td><?php echo html::select('pri', (array)$lang->testcase->priList, $case->pri, 'class=form-control');?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='rowhead'><?php echo $lang->testcase->status;?></td>
|
||||
<td><?php echo $lang->testcase->status;?></td>
|
||||
<td><?php echo html::select('status', (array)$lang->testcase->statusList, $case->status, 'class=form-control');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='rowhead'><?php echo $lang->testcase->keywords;?></td>
|
||||
<td><?php echo $lang->testcase->keywords;?></td>
|
||||
<td><?php echo html::input('keywords', $case->keywords, 'class=form-control');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='rowhead'><?php echo $lang->testcase->linkCase;?></td>
|
||||
<td><?php echo $lang->testcase->linkCase;?></td>
|
||||
<td><?php echo html::input('linkCase', $case->linkCase, 'class=form-control');?></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -125,7 +125,7 @@
|
||||
<td class='rowhead w-p20'><?php echo $lang->testcase->openedBy;?></td>
|
||||
<td><?php echo $users[$case->openedBy] . $lang->at . $case->openedDate;?></td>
|
||||
<tr>
|
||||
<td class='rowhead'><?php echo $lang->testcase->lblLastEdited;?></td>
|
||||
<td><?php echo $lang->testcase->lblLastEdited;?></td>
|
||||
<td><?php if($case->lastEditedBy) echo $users[$case->lastEditedBy] . $lang->at . $case->lastEditedDate;?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -132,7 +132,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr class='nofixed'>
|
||||
<td class='rowhead'><?php echo $lang->testcase->story;?></td>
|
||||
<td><?php echo $lang->testcase->story;?></td>
|
||||
<td>
|
||||
<?php
|
||||
if(isset($case->storyTitle)) echo html::a($this->createLink('story', 'view', "storyID=$case->story"), "#$case->story:$case->storyTitle");
|
||||
@@ -166,11 +166,11 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='rowhead'><?php echo $lang->testcase->pri;?></td>
|
||||
<td><?php echo $lang->testcase->pri;?></td>
|
||||
<td><?php echo $case->pri;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='rowhead'><?php echo $lang->testcase->status;?></td>
|
||||
<td><?php echo $lang->testcase->status;?></td>
|
||||
<td>
|
||||
<?php
|
||||
echo $lang->testcase->statusList[$case->status];
|
||||
@@ -184,19 +184,19 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='rowhead'><?php echo $this->app->loadLang('testtask')->testtask->lastRunTime;?></td>
|
||||
<td><?php echo $this->app->loadLang('testtask')->testtask->lastRunTime;?></td>
|
||||
<td><?php if(!helper::isZeroDate($case->lastRunDate)) echo $case->lastRunDate;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='rowhead'><?php echo $this->app->loadLang('testtask')->testtask->lastRunResult;?></td>
|
||||
<td><?php echo $this->app->loadLang('testtask')->testtask->lastRunResult;?></td>
|
||||
<td><?php if($case->lastRunResult) echo $lang->testcase->resultList[$case->lastRunResult];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='rowhead'><?php echo $lang->testcase->keywords;?></td>
|
||||
<td><?php echo $lang->testcase->keywords;?></td>
|
||||
<td><?php echo $case->keywords;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='rowhead'><?php echo $lang->testcase->linkCase;?></td>
|
||||
<td><?php echo $lang->testcase->linkCase;?></td>
|
||||
<td>
|
||||
<?php
|
||||
if(isset($case->linkCaseTitles))
|
||||
|
||||
Reference in New Issue
Block a user