From b9e400b4a0502d56563ac2ced77aec276b670944 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Fri, 24 Feb 2023 04:25:44 +0000 Subject: [PATCH] * Change the drop-down box to a radio button. --- module/programplan/css/create.css | 1 + module/programplan/view/create.html.php | 19 ++++++++----------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/module/programplan/css/create.css b/module/programplan/css/create.css index 0dadb2e441..49e61cf806 100644 --- a/module/programplan/css/create.css +++ b/module/programplan/css/create.css @@ -1,2 +1,3 @@ #planForm tr td {vertical-align: top;} #mainContent .methodTitle, #mainContent .methodTip {display: inline-block; vertical-align: middle;} +.type-list-radio {display: inline-block; padding: 10px 5px 10px 10px;} diff --git a/module/programplan/view/create.html.php b/module/programplan/view/create.html.php index eaea0d735b..b04a529c8a 100644 --- a/module/programplan/view/create.html.php +++ b/module/programplan/view/create.html.php @@ -46,17 +46,14 @@ model == 'waterfallplus'):?>
programplan->subPlanManage . ':'?>
-
- programplan->typeList, $executionType);?> - +
+ programplan->typeList as $key => $value) + { + $label = ""; + echo html::a($this->createLink('programplan', 'create', "projectID=$project->id&productID=$productID&planID=$planID&type=$key"), $label); + } + ?>