From ebe9fbe2cb1602618d6bc4d502380758bfd77f33 Mon Sep 17 00:00:00 2001 From: Catouse Date: Mon, 5 Dec 2016 11:05:19 +0800 Subject: [PATCH] * adjust style of task/create view. --- module/task/css/create.css | 2 ++ module/task/view/create.html.php | 24 ++++++++++++------------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/module/task/css/create.css b/module/task/css/create.css index 02a3660e8f..1e089a7841 100644 --- a/module/task/css/create.css +++ b/module/task/css/create.css @@ -7,6 +7,8 @@ .chosen-container {max-width: 980px} #priRowCol, #estRowCol {width: 110px;} +#priRowCol .input-group-btn .btn {width: 55px;} +#priRowCol.has-custom-pri {width: 150px!important} .col-table .input-group {width: 100%} #taskPlanCol, #mailCol {width: 50%} diff --git a/module/task/view/create.html.php b/module/task/view/create.html.php index 6b90a40690..e0dfa79d65 100644 --- a/module/task/view/create.html.php +++ b/module/task/view/create.html.php @@ -73,20 +73,20 @@ $hiddenEst = strpos(",$showFields,", ',estimate,') === false; ?> -
+ task->priList as $priKey => $priValue) + { + if($priKey != $priValue) + { + $hasCustomPri = true; + break; + } + } + ?> +
' id='priRowCol'>
task->pri;?> - task->priList as $priKey => $priValue) - { - if($priKey != $priValue) - { - $hasCustomPri = true; - break; - } - } - ?> task->priList, '', "class='form-control'");?>