* Modify the style of statistic block.
This commit is contained in:
@@ -71,7 +71,7 @@ statisticBlock
|
||||
setClass('flex-1 gap-4'),
|
||||
div
|
||||
(
|
||||
setClass('row items-center gap-1', $longBlock ? 'py-2' : ''),
|
||||
setClass('row items-center gap-1 font-bold', $longBlock ? 'py-2' : ''),
|
||||
$lang->block->productstatistic->deliveryRate,
|
||||
icon
|
||||
(
|
||||
@@ -182,7 +182,7 @@ statisticBlock
|
||||
col
|
||||
(
|
||||
setClass('flex-1 gap-1.5 pr-3 ', $longBlock ? 'py-2' : 'pl-3'),
|
||||
div($lang->block->productstatistic->storyStatistics),
|
||||
div(setClass('font-bold'), $lang->block->productstatistic->storyStatistics),
|
||||
row
|
||||
(
|
||||
setClass('text-sm text-gray gap-2'),
|
||||
@@ -222,7 +222,7 @@ statisticBlock
|
||||
($product->newPlan || $product->newExecution || $product->newRelease) ? col
|
||||
(
|
||||
setClass('flex-1 gap-3 pr-3 ', $longBlock ? 'border-l pl-4 py-2' : 'pl-3 pt-2'),
|
||||
div($lang->block->productstatistic->news),
|
||||
div(setClass('font-bold'), $lang->block->productstatistic->news),
|
||||
$product->newPlan ? div
|
||||
(
|
||||
setClass($longBlock ? 'col' : 'row', 'gap-2'),
|
||||
|
||||
@@ -128,7 +128,7 @@ $buildTesttasks = function(object $product, bool $longBlock): node|null
|
||||
return col
|
||||
(
|
||||
setClass('min-w-0 flex-1 gap-1.5 px-3 pt-2 border-l'),
|
||||
div($lang->block->qastatistic->latestTesttask),
|
||||
div(setClass('font-bold'), $lang->block->qastatistic->latestTesttask),
|
||||
empty($doingTesttasks) ? null : div
|
||||
(
|
||||
setClass($longBlock ? 'py-2' : 'pt-2'),
|
||||
@@ -156,10 +156,10 @@ statisticBlock
|
||||
setClass('h-full overflow-hidden items-stretch px-2', $longBlock ? 'row py-3' : 'col gap-2 pt-1'),
|
||||
center
|
||||
(
|
||||
setClass('gap-2 px-5', $testTasksView ? 'flex-none' : 'flex-1'),
|
||||
setClass('gap-2 px-5 justify-start ', $testTasksView ? 'flex-none' : 'flex-1', $longBlock ? ' py-2' : ''),
|
||||
div
|
||||
(
|
||||
setClass('w-full'),
|
||||
setClass('w-full font-bold'),
|
||||
$lang->block->qastatistic->fixBugRate
|
||||
),
|
||||
progressCircle
|
||||
@@ -208,7 +208,7 @@ statisticBlock
|
||||
col
|
||||
(
|
||||
setClass('flex-1 gap-1.5 px-3 py-2'),
|
||||
div($lang->block->qastatistic->bugStatistics),
|
||||
div(setClass('font-bold'), $lang->block->qastatistic->bugStatistics),
|
||||
!empty($product) ? $buildProgressBars($product, $longBlock) : null
|
||||
),
|
||||
$testTasksView
|
||||
|
||||
Reference in New Issue
Block a user