From 29414d99116fda8db53badd34f88e198f014ba66 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Sun, 28 Apr 2024 16:28:52 +0800 Subject: [PATCH] * Modify style. --- module/block/ui/projectstatisticblock.html.php | 10 +++++----- module/block/ui/waterfallreportblock.html.php | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/module/block/ui/projectstatisticblock.html.php b/module/block/ui/projectstatisticblock.html.php index e3095000f0..745dcc9be3 100644 --- a/module/block/ui/projectstatisticblock.html.php +++ b/module/block/ui/projectstatisticblock.html.php @@ -50,17 +50,17 @@ if($project) $project->status == 'closed' ? $lang->block->projectstatistic->projectClosed : $lang->block->projectstatistic->longTimeProject ) ); + $projectOverview[] = $config->edition != 'open' ? div(setClass('divider mx-1 my-auto h-4')) : null; $projectOverview[] = $config->edition != 'open' ? cell ( - setClass('flex-1 text-left' . (!$longBlock ? ' w-full' : '')), - icon('bullhorn text-warning'), + setClass('flex-0 text-left' . (!$longBlock ? ' w-full' : '')), span ( - setClass('text-gray mr-5'), + setClass('text-gray mr-4'), $lang->block->projectstatistic->existRisks, span ( - setClass('font-bold text-warning'), + setClass('font-bold ml-2 text-danger'), $project->risks ) ), @@ -70,7 +70,7 @@ if($project) $lang->block->projectstatistic->existIssues, span ( - setClass('font-bold text-warning'), + setClass('font-bold ml-2 text-gray-950'), $project->issues ) ) diff --git a/module/block/ui/waterfallreportblock.html.php b/module/block/ui/waterfallreportblock.html.php index 88a490c601..f62f62e90a 100644 --- a/module/block/ui/waterfallreportblock.html.php +++ b/module/block/ui/waterfallreportblock.html.php @@ -42,17 +42,17 @@ if($project) $project->status == 'closed' ? $lang->block->projectstatistic->projectClosed : $lang->block->projectstatistic->longTimeProject ) ); + $projectOverview[] = $config->edition != 'open' ? div(setClass('divider mx-1 my-auto h-4')) : null; $projectOverview[] = $config->edition != 'open' ? cell ( - setClass('flex-1 text-left' . (!$longBlock ? ' w-full' : '')), - icon('bullhorn text-warning'), + setClass('flex-0 text-left' . (!$longBlock ? ' w-full' : '')), span ( - setClass('text-gray mr-5'), + setClass('text-gray mr-4'), $lang->block->projectstatistic->existRisks, span ( - setClass('font-bold text-warning'), + setClass('font-bold ml-2 text-danger'), $project->risks ) ), @@ -62,7 +62,7 @@ if($project) $lang->block->projectstatistic->existIssues, span ( - setClass('font-bold text-warning'), + setClass('font-bold ml-2 text-danger'), $project->issues ) )