fix box display
parent
46a10b3d52
commit
304e5974c6
|
@ -235,6 +235,7 @@ class ManagePeriod extends dcNsProcess
|
||||||
(new Input('period_title'))->size(65)->maxlenght(255)->class('maximal')->value(Html::escapeHTML($vars->period_title)),
|
(new Input('period_title'))->size(65)->maxlenght(255)->class('maximal')->value(Html::escapeHTML($vars->period_title)),
|
||||||
]),
|
]),
|
||||||
(new Div())->class('two-boxes')->items([
|
(new Div())->class('two-boxes')->items([
|
||||||
|
(new Div())->class('box odd')->items([
|
||||||
(new Para())->items([
|
(new Para())->items([
|
||||||
(new Label(__('Next update:')))->for('period_curdt'),
|
(new Label(__('Next update:')))->for('period_curdt'),
|
||||||
(new Datetime('period_curdt', Html::escapeHTML(Dater::toUser($vars->period_curdt))))->class($vars->bad_period_curdt ? 'invalid' : ''),
|
(new Datetime('period_curdt', Html::escapeHTML(Dater::toUser($vars->period_curdt))))->class($vars->bad_period_curdt ? 'invalid' : ''),
|
||||||
|
@ -244,7 +245,7 @@ class ManagePeriod extends dcNsProcess
|
||||||
(new Datetime('period_enddt', Html::escapeHTML(Dater::toUser($vars->period_enddt))))->class($vars->bad_period_enddt ? 'invalid' : ''),
|
(new Datetime('period_enddt', Html::escapeHTML(Dater::toUser($vars->period_enddt))))->class($vars->bad_period_enddt ? 'invalid' : ''),
|
||||||
]),
|
]),
|
||||||
]),
|
]),
|
||||||
(new Div())->class('two-boxes')->items([
|
(new Div())->class('box even')->items([
|
||||||
(new Para())->items([
|
(new Para())->items([
|
||||||
(new Label(__('Publication frequency:'), Label::OUTSIDE_LABEL_BEFORE))->for('period_pub_int'),
|
(new Label(__('Publication frequency:'), Label::OUTSIDE_LABEL_BEFORE))->for('period_pub_int'),
|
||||||
(new Select('period_pub_int'))->default($vars->period_pub_int)->items(My::periodCombo()),
|
(new Select('period_pub_int'))->default($vars->period_pub_int)->items(My::periodCombo()),
|
||||||
|
@ -254,7 +255,7 @@ class ManagePeriod extends dcNsProcess
|
||||||
(new Number('period_pub_nb'))->min(1)->max(20)->value($vars->period_pub_nb),
|
(new Number('period_pub_nb'))->min(1)->max(20)->value($vars->period_pub_nb),
|
||||||
]),
|
]),
|
||||||
]),
|
]),
|
||||||
|
]),
|
||||||
(new Div())->class('clear')->items([
|
(new Div())->class('clear')->items([
|
||||||
(new Para())->items([
|
(new Para())->items([
|
||||||
(new Submit(['save']))->value(__('Save')),
|
(new Submit(['save']))->value(__('Save')),
|
||||||
|
|
Loading…
Reference in New Issue