* Change the header of the modal page.

This commit is contained in:
tianshujie
2023-06-25 09:38:36 +08:00
parent 8d967edd01
commit 6937a513e5
10 changed files with 25 additions and 129 deletions
+1 -19
View File
@@ -14,26 +14,10 @@ namespace zin;
/* ====== Define the page structure with zin widgets ====== */
modalHeader();
formPanel
(
set::id('taskPauseForm'),
set::title($lang->task->pauseAction),
set::headingClass('status-heading'),
set::titleClass('form-label .form-grid'),
set::shadow(!isAjaxRequest('modal')),
set::actions(array('submit')),
set::submitBtnText($lang->task->pause),
to::headingActions
(
entityLabel
(
setClass('my-3 gap-x-3'),
set::level(1),
set::text($task->name),
set::entityID($task->id),
set::reverse(true),
)
),
formGroup
(
set::label($lang->comment),
@@ -45,8 +29,6 @@ formPanel
),
);
h::hr(set::class('mt-6'));
history();
render();