* Change form header style.

This commit is contained in:
caoyanyi
2023-07-07 19:42:55 +08:00
parent a1c5190848
commit 648c6621a6
2 changed files with 42 additions and 0 deletions
+28
View File
@@ -54,9 +54,37 @@ foreach(explode(',', $showFields) as $field)
formBatchPanel
(
set::id('batchCreateTodoForm'),
set::title($lang->todo->batchCreate . $lang->todo->common),
set::url(createLink('todo', 'batchEdit', "from=todoBatchEdit&type={$type}&userID={$userID}&status={$status}")),
on::change('[data-name="type"]', 'setNameCell'),
on::click('.time-check', "$(event.target).closest('.input-group').find('.time-input').prop('disabled', !!event.target.checked)"),
set::headingClass('justify-start'),
to::headingActions
(
inputGroup
(
span
(
setClass('input-group-addon'),
$lang->todo->date
),
input
(
set::type('date'),
set::name('date'),
set::value($date),
),
span
(
setClass('input-group-addon'),
checkBox
(
set::name('switchTime'),
$lang->todo->periods['future'],
)
),
),
),
formBatchItem
(
set::name('id'),