From 6391ddfe1ebf725ca00958f554faaf4e6f0b472a Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 15 Dec 2022 10:11:15 +0800 Subject: [PATCH] * adjust style. --- module/build/css/view.css | 2 ++ module/build/view/view.html.php | 22 +++++++++++----------- module/projectrelease/css/view.css | 1 + module/projectrelease/view/view.html.php | 22 +++++++++++----------- module/release/css/view.css | 1 + module/release/view/view.html.php | 16 ++++++++-------- 6 files changed, 34 insertions(+), 30 deletions(-) diff --git a/module/build/css/view.css b/module/build/css/view.css index 84243f6f9a..500f9fcc2b 100644 --- a/module/build/css/view.css +++ b/module/build/css/view.css @@ -7,8 +7,10 @@ .body-modal #mainContent {min-height: 200px;} td.article-content{overflow:auto !important;} td.c-build{white-space: nowrap; overflow:hidden;} +th.c-user,td.c-user{text-align:left;} #stories th, #stories td{padding-left:16px;padding-right:16px;} +#stories .c-build{width:160px; text-align:left} #stories .c-estimate{width:90px; text-align:right} #stories .c-status{width:120px} #stories .c-stage{width:130px; text-align:left;} diff --git a/module/build/view/view.html.php b/module/build/view/view.html.php index 9ccf26e647..47cb7cf6ce 100644 --- a/module/build/view/view.html.php +++ b/module/build/view/view.html.php @@ -92,7 +92,7 @@ tbody tr td:first-child input {display: none;} pri;?>>priAB);?> statusAB);?> - build->linkedBuild;?> + build->linkedBuild;?> openedByAB);?> story->estimateAB);?> @@ -151,9 +151,9 @@ tbody tr td:first-child input {display: none;} processStatus('story', $story);?> - + - openedBy);?> + openedBy);?> estimate . $config->hourUnit;?> story->stageList[$story->stage];?> @@ -254,10 +254,10 @@ tbody tr td:first-child input {display: none;} - openedBy);?> - openedDate) ? '' : substr($bug->openedDate, 5, 11);?> - resolvedBy);?> - resolvedDate) ? '' : substr($bug->resolvedDate, 5, 11);?> + openedBy);?> + openedDate) ? '' : substr($bug->openedDate, 5, 11);?> + resolvedBy);?> + resolvedDate) ? '' : substr($bug->resolvedDate, 5, 11);?> openedBuild) as $buildID) $openedBuilds .= ($buildID == 'trunk' ? 'Trunk' : zget($buildPairs, $buildID, '')) . ' '; ?> - openedBy);?> - openedDate) ? '' : substr($bug->openedDate, 5, 11);?> - resolvedBy);?> - resolvedDate) ? '' : substr($bug->resolvedDate, 5, 11);?> + openedBy);?> + openedDate) ? '' : substr($bug->openedDate, 5, 11);?> + resolvedBy);?> + resolvedDate) ? '' : substr($bug->resolvedDate, 5, 11);?> diff --git a/module/projectrelease/css/view.css b/module/projectrelease/css/view.css index 1e47d01e9b..07a2faa2bd 100644 --- a/module/projectrelease/css/view.css +++ b/module/projectrelease/css/view.css @@ -10,6 +10,7 @@ ol, ul {padding-left: 20px;} .c-id {overflow: hidden; text-overflow: ellipsis; white-space: nowrap;} td.c-build{white-space: nowrap; overflow:hidden;} +th.c-user,td.c-user{text-align:left} #stories th, #stories td{padding-left:16px;padding-right:16px;} #stories .c-build{width:160px; text-align:left;} diff --git a/module/projectrelease/view/view.html.php b/module/projectrelease/view/view.html.php index 781454ba42..744c2e7285 100644 --- a/module/projectrelease/view/view.html.php +++ b/module/projectrelease/view/view.html.php @@ -73,7 +73,7 @@ priAB);?> statusAB);?> build->linkedBuild;?> - openedByAB);?> + openedByAB);?> story->estimateAB);?> story->stageAB);?> actions?> @@ -102,8 +102,8 @@ processStatus('story', $story);?> - buildName?> - openedBy);?> + buildName?> + openedBy);?> estimate . $config->hourUnit;?> story->stageList[$story->stage];?> @@ -195,11 +195,11 @@ processStatus('bug', $bug);?> resolvedBuild, '');?> - - openedBy);?> - openedDate) ? '' : substr($bug->openedDate, 5, 11);?> - resolvedBy);?> - resolvedDate) ? '' : substr($bug->resolvedDate, 5, 11);?> + + openedBy);?> + openedDate) ? '' : substr($bug->openedDate, 5, 11);?> + resolvedBy);?> + resolvedDate) ? '' : substr($bug->resolvedDate, 5, 11);?> openedBuild) as $buildID) $openedBuildName .= zget($builds, $buildID, '') . ' '; ?> - - openedBy);?> - openedDate?> + + openedBy);?> + openedDate?> pri;?>>priAB);?> statusAB);?> build->linkedBuild;?> - openedByAB);?> + openedByAB);?> story->estimateAB);?> story->stageAB);?> actions?> @@ -105,7 +105,7 @@ processStatus('story', $story);?> buildName?> - openedBy);?> + openedBy);?> estimate . $config->hourUnit;?> story->stageList[$story->stage];?> @@ -198,10 +198,10 @@ resolvedBuild, '');?> - openedBy);?> - openedDate, 5, 11)?> - resolvedBy);?> - resolvedDate) ? '' : substr($bug->resolvedDate, 5, 11);?> + openedBy);?> + openedDate, 5, 11)?> + resolvedBy);?> + resolvedDate) ? '' : substr($bug->resolvedDate, 5, 11);?> openedBuild) as $buildID) $openedBuildName .= zget($builds, $buildID, '') . ' '; ?> - openedBy);?> - openedDate?> + openedBy);?> + openedDate?>