From 05eebf3ccc3aa21a7dca32e31f297503cbe59247 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Wed, 14 Jul 2021 14:20:30 +0800 Subject: [PATCH] * Adjust the label in front of the project name or program name. --- module/execution/view/ajaxgetdropmenu.html.php | 9 +++++---- module/product/view/ajaxgetdropmenu.html.php | 10 ++++++---- module/project/view/ajaxgetdropmenu.html.php | 10 ++++++---- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/module/execution/view/ajaxgetdropmenu.html.php b/module/execution/view/ajaxgetdropmenu.html.php index 9a8f6f0999..64c3bcbb97 100644 --- a/module/execution/view/ajaxgetdropmenu.html.php +++ b/module/execution/view/ajaxgetdropmenu.html.php @@ -13,8 +13,8 @@ .table-row .table-col .list-group .tab-content ul {list-style: none; margin: 0} .table-row .table-col .list-group .tab-content .tab-pane>ul {padding-left: 7px;} .table-row .table-col .list-group .tab-content .tab-pane>ul>li.hide-in-search {position: relative;} -.table-row .table-col .list-group .tab-content .tab-pane>ul>li a {padding-left: 5px; padding-right: 45px;} -.table-row .table-col .list-group .tab-content .tab-pane>ul>li label {background: rgba(131,138,157,0.5); position: absolute; top: 0; right: 0;} +.table-row .table-col .list-group .tab-content .tab-pane>ul>li>a {padding-left: 45px;} +.table-row .table-col .list-group .tab-content .tab-pane>ul>li label {background: rgba(131,138,157,0.5); position: absolute; top: 0; left: 5px;} .table-row .table-col .list-group .tab-content li a i.icon {font-size: 15px !important;} .table-row .table-col .list-group .tab-content li a i.icon:before {min-width: 16px !important;} .table-row .table-col .list-group .tab-content li .label {margin-top: 2px; position: unset;} @@ -50,9 +50,10 @@ $executionsPinYin = common::convert2Pinyin($executionNames); foreach($executions as $projectID => $projectExecutions) { + $projectName = zget($projects, $projectID); - if($executionCounts[$projectID]['myExecution']) $myExecutionsHtml .= '