From cb5e1a205aa40903bbf7d53e67e97c8b05cabbfa Mon Sep 17 00:00:00 2001 From: wangyidong Date: Fri, 11 May 2018 16:35:19 +0800 Subject: [PATCH] * finish task #4090. --- module/mail/view/ztcloud.html.php | 16 +-- module/testcase/view/importfromlib.html.php | 118 +++++++++++--------- 2 files changed, 71 insertions(+), 63 deletions(-) diff --git a/module/mail/view/ztcloud.html.php b/module/mail/view/ztcloud.html.php index aa31ca4b2e..e5b894464d 100644 --- a/module/mail/view/ztcloud.html.php +++ b/module/mail/view/ztcloud.html.php @@ -13,7 +13,7 @@ app->getModuleRoot() . 'message/view/header.html.php';?>
- +

mail->license;?>

@@ -24,7 +24,7 @@ mail->disagree, '', "class='btn'");?>

- +

mail->common;?> @@ -34,7 +34,7 @@
- + global->cron)):?> @@ -50,17 +50,17 @@ - + - -
mail->turnon; ?>mail->turnon; ?> mail->turnonList, isset($mailConfig->turnon) ? $mailConfig->turnon : 1);?>
mail->fromAddress; ?> fromAddress, "class='form-control' autocomplete='off'");?>mail->addressWhiteList?>mail->addressWhiteList?>
mail->fromName; ?> -
+
+
fromName, "class='form-control' autocomplete='off'");?>
+ config->mail->turnon and $mailExist) echo html::a(inlink('test'), $lang->mail->test, '', "class='btn btn-wide'"); @@ -71,7 +71,7 @@
- +

diff --git a/module/testcase/view/importfromlib.html.php b/module/testcase/view/importfromlib.html.php index 6203829c94..ea8c66fee2 100644 --- a/module/testcase/view/importfromlib.html.php +++ b/module/testcase/view/importfromlib.html.php @@ -11,65 +11,73 @@ */ ?> -
-
-
- testcase->selectLib;?> + -
-
- - - recTotal}&recPerPage={$pager->recPerPage}";?> - - - - - - - - - - - - - - - - - - - - - - module, '');?> - - - - - - - - -
idAB);?>testcase->branch ?> priAB);?> testcase->title);?>testcase->fromModule ?>testcase->module ?>testcase->type)?>
- - id", sprintf('%03d', $case->id))) printf('%03d', $case->id);?> - id}]", $branches, $branch, "class='form-control'")?>testcase->priList, $case->pri, $case->pri)?>'>pri == '0' ? '' : zget($lang->testcase->priList, $case->pri, $case->pri);?>id", $case->title)) echo $case->title;?> - id}]", $modules, 0, "class='form-control chosen' onchange='setModule(this)'");?> - testcase->typeList, $case->type);?> -
-
- - testcase->import);?> - goback, $this->session->caseList);?> -
- show();?> -
-
-
+
+
+
+
+ + + recTotal}&recPerPage={$pager->recPerPage}";?> + + + + + + + + + + + + + + + + + + + + + + module, '');?> + + + +
+
+ +
+ idAB);?> +
testcase->branch ?> priAB);?> testcase->title);?>testcase->fromModule ?>testcase->module ?>testcase->type)?>
+
+ + +
+ id);?> +
id}]", $branches, $branch, "class='form-control'")?>pri;?>'>pri == '0' ? '' : zget($lang->testcase->priList, $case->pri, $case->pri);?>id", $case->title)) echo $case->title;?> + id}]", $modules, 0, "class='form-control chosen' onchange='setModule(this)'");?> + testcase->typeList, $case->type);?> +
+ + + +
+