From e4c40098c2549b752dce0a884b8eb03b55aeee42 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 14 Oct 2015 16:06:30 +0800 Subject: [PATCH] * finish task #2367. --- module/bug/control.php | 2 +- module/bug/css/create.css | 4 ++-- module/bug/js/common.js | 4 ++-- module/bug/view/create.html.php | 31 +++++++++++++++++++++---------- module/user/control.php | 13 +++++++++++++ www/js/my.full.js | 21 +++++++++++++++++++++ 6 files changed, 60 insertions(+), 15 deletions(-) diff --git a/module/bug/control.php b/module/bug/control.php index 4eb3c79108..cf7613ad98 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -345,7 +345,7 @@ class bug extends control $this->view->contactLists = $this->user->getContactLists($this->app->user->account, 'withnote'); $this->view->keywords = $keywords; $this->view->severity = $severity; - $this->view->type = $type; + $this->view->type = $type; $this->display(); } diff --git a/module/bug/css/create.css b/module/bug/css/create.css index e34aa1f98b..a1e7e704e7 100644 --- a/module/bug/css/create.css +++ b/module/bug/css/create.css @@ -8,8 +8,8 @@ #buildBoxActions {padding-left: 15px;} #tplBoxWrapper {position: relative; z-index: 10;} -#tplBoxWrapper > .btn-toolbar {position: absolute; right: 5px; top: 2px;} -#tplBoxWrapper .btn {padding: 2px 8px} +#tplBoxWrapper > .btn-toolbar {position: absolute; right: 0px; top: 0px;} +#tplBoxWrapper .btn {padding: 4px 8px} #tplBox li {position: relative;} #tplBox li .btn-delete {position: absolute; right: 0; top: 0; display: block; width: 40px; text-align:center;} #tplBox li .tpl-name {padding-right: 40px;} diff --git a/module/bug/js/common.js b/module/bug/js/common.js index 9e9274feac..efe0107e35 100644 --- a/module/bug/js/common.js +++ b/module/bug/js/common.js @@ -237,12 +237,12 @@ function notice() var html = ''; if($('#project').val() == '') { - html += '' + createRelease + ' '; + html += '' + createRelease + ' '; html += '' + refresh + ''; } else { - html += '' + createBuild + ' '; + html += '' + createBuild + ' '; html += '' + refresh + ''; } var $bba = $('#buildBoxActions'); diff --git a/module/bug/view/create.html.php b/module/bug/view/create.html.php index d38e667ecf..bdf27ba64b 100644 --- a/module/bug/view/create.html.php +++ b/module/bug/view/create.html.php @@ -91,10 +91,10 @@ js::set('refresh', $lang->refresh);
- bug->pri?> - bug->priList, $severity, "class='form-control'");?> bug->severity?> bug->severityList, $severity, "class='form-control'");?> + bug->pri?> + bug->priList, $severity, "class='form-control'");?>
@@ -105,8 +105,8 @@ js::set('refresh', $lang->refresh);
-
-
+
+