* Change the header of the modal page.

This commit is contained in:
tianshujie
2023-06-25 09:52:23 +08:00
parent bcfbf2fbc8
commit 95a7eaf36c
6 changed files with 27 additions and 90 deletions
+5 -18
View File
@@ -10,26 +10,15 @@ declare(strict_types=1);
*/
namespace zin;
modalHeader
(
set::title($lang->execution->close . $space . $lang->executionCommon),
);
$space = common::checkNotCN() ? ' ' : '';
formPanel
(
set::title($lang->execution->close . $space . $lang->executionCommon),
set::headingClass('status-heading'),
set::titleClass('form-label .form-grid'),
set::shadow(false),
set::actions(array('submit')),
set::submitBtnText($lang->execution->close . $space . $lang->executionCommon),
to::headingActions
(
entityLabel
(
setClass('my-3 gap-x-3'),
set::level(1),
set::text($execution->name),
set::entityID($execution->id),
set::reverse(true),
)
),
formGroup
(
set::width('1/2'),
@@ -49,8 +38,6 @@ formPanel
),
);
h::hr(set::class('mt-6'));
history();
/* ====== Render page ====== */
render();