From 0872c3867a10b89387276a0e144e7770b09df07f Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 4 Jul 2023 08:44:53 +0800 Subject: [PATCH] * Adjust style of the burn page. --- module/execution/ui/ajaxgetburn.html.php | 1 + module/execution/ui/burn.html.php | 2 +- module/execution/ui/fixfirst.html.php | 24 +++++++++++------------- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/module/execution/ui/ajaxgetburn.html.php b/module/execution/ui/ajaxgetburn.html.php index da92ca789e..479633bc8f 100644 --- a/module/execution/ui/ajaxgetburn.html.php +++ b/module/execution/ui/ajaxgetburn.html.php @@ -59,6 +59,7 @@ panel ( array ( + 'selectedMode' => false, 'data' => array($lang->execution->charts->burn->graph->actuality, $lang->execution->charts->burn->graph->reference, $lang->execution->charts->burn->graph->delay), ) ), diff --git a/module/execution/ui/burn.html.php b/module/execution/ui/burn.html.php index 2dd21518b9..b326a01861 100644 --- a/module/execution/ui/burn.html.php +++ b/module/execution/ui/burn.html.php @@ -102,7 +102,7 @@ panel ( h2 ( - setClass('text-center'), + setClass('flex items-center justify-center'), $executionName . ' ' . $this->lang->execution->burn . '(' . zget($lang->execution->burnByList, $burnBy) . ')', isset($execution->delay) ? label(setClass('label danger-pale ring-danger ml-3'), $lang->execution->delayed) : null, ), diff --git a/module/execution/ui/fixfirst.html.php b/module/execution/ui/fixfirst.html.php index 506d115ae5..ff4ba0f069 100644 --- a/module/execution/ui/fixfirst.html.php +++ b/module/execution/ui/fixfirst.html.php @@ -14,7 +14,17 @@ to::header( ( set::class('article-h2'), $lang->execution->fixFirst, - ) + ), + span + ( + setClass('flex gap-x-2 mr-3'), + $lang->execution->totalEstimate, + span + ( + setClass('label secondary-pale rounded-full'), + $execution->totalEstimate . $lang->execution->workHour, + ), + ), ); formPanel ( @@ -43,15 +53,3 @@ formPanel ), ) ); - -div -( - set::class('h-12 flex items-center bg-primary-50'), - div - ( - set::class('pl-4'), - $lang->execution->totalEstimate . ': ', - code($execution->totalEstimate), - $lang->execution->workHour - ) -);