From b2aae6b32538ec7bd112c983ee7d82c79c3ac84a Mon Sep 17 00:00:00 2001 From: liumengyi Date: Sun, 7 Apr 2024 17:28:14 +0800 Subject: [PATCH] * Move search into header. --- module/project/ui/create.html.php | 40 +++++++++++++++++-------------- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/module/project/ui/create.html.php b/module/project/ui/create.html.php index 964e62638e..08d556be6b 100644 --- a/module/project/ui/create.html.php +++ b/module/project/ui/create.html.php @@ -154,12 +154,30 @@ modal set::id('copyProjectModal'), to::header ( - span + div ( - h4 + setClass('w-full'), + span ( - set::className('copy-title'), - $lang->project->copyTitle + h4 + ( + set::className('copy-title'), + $lang->project->copyTitle + ) + ), + div + ( + setClass('py-4 border-b border-b-1'), + inputControl + ( + to::suffix(icon('search')), + set::suffixWidth('sm'), + input + ( + set::name('projectName'), + set::placeholder($lang->project->searchByName) + ) + ) ) ) ), @@ -178,20 +196,6 @@ modal ) ), div - ( - setClass('pb-4 mb-4 border-b border-b-1'), - inputControl - ( - to::suffix(icon('search')), - set::suffixWidth('sm'), - input - ( - set::name('projectName'), - set::placeholder($lang->project->searchByName) - ) - ) - ), - div ( set::id('copyProjects'), setClass('flex items-center flex-wrap gap-4'),