* Add code to testtask testsuite view for workflow.

This commit is contained in:
Yagami
2019-07-09 10:39:22 +08:00
parent f99dd1f01b
commit 93525b5abf
8 changed files with 8 additions and 0 deletions
+1
View File
@@ -27,6 +27,7 @@
<th><?php echo $lang->testsuite->desc;?></th>
<td colspan='2'><?php echo html::textarea('desc', '', "rows=10 class='form-control'");?></td>
</tr>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=2');?>
<tr>
<th><?php echo $lang->testsuite->author;?></th>
<td><?php echo html::radio('type', $lang->testsuite->authorList, 'private');?></td>
+1
View File
@@ -27,6 +27,7 @@
<th><?php echo $lang->testsuite->desc;?></th>
<td><?php echo html::textarea('desc', htmlspecialchars($suite->desc), "rows=10 class='form-control'");?></td>
</tr>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=1');?>
<?php if($suite->type != 'library'):?>
<tr>
<th><?php echo $lang->testsuite->author;?></th>
+1
View File
@@ -23,6 +23,7 @@
</div>
<form class='load-indicator main-form' method='post' id='activateForm'>
<table class='table table-form'>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=1');?>
<tr>
<th class='w-45px'><?php echo $lang->comment;?></th>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control kindeditor' hidefocus='true'");?></td>
+1
View File
@@ -24,6 +24,7 @@
</div>
<form class='load-indicator main-form' method='post' id='blockForm'>
<table class='table table-form'>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=1');?>
<tr>
<th class='w-45px'><?php echo $lang->comment;?></th>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control kindeditor' hidefocus='true'");?></td>
+1
View File
@@ -23,6 +23,7 @@
</div>
<form class='load-indicator main-form' method='post' id='closeForm'>
<table class='table table-form'>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=1');?>
<tr>
<th class='w-60px'><?php echo $lang->comment;?></th>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control kindeditor' hidefocus='true'");?></td>
+1
View File
@@ -94,6 +94,7 @@
</div>
</td>
</tr>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=2');?>
<tr>
<td class='text-center form-actions' colspan='3'>
<?php echo html::submitButton();?>
+1
View File
@@ -83,6 +83,7 @@
</div>
</td>
</tr>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=2');?>
<tr>
<td class='text-center form-actions' colspan='3'>
<?php echo html::submitButton();?>
+1
View File
@@ -25,6 +25,7 @@
</div>
<form class='load-indicator main-form' method='post' id='startForm'>
<table class='table table-form'>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=1');?>
<tr>
<th class='w-45px'><?php echo $lang->comment;?></th>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control kindeditor' hidefocus='true'");?></td>