mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-06 11:59:57 +02:00
replaced accordion
This commit is contained in:
parent
99ee913d8a
commit
60513d159f
1 changed files with 23 additions and 0 deletions
|
@ -196,6 +196,29 @@ $row->add(new htmlProgressbar('progressBar', 33));
|
||||||
|
|
||||||
$row->add(new htmlSpacer(null, '5rem'));
|
$row->add(new htmlSpacer(null, '5rem'));
|
||||||
|
|
||||||
|
$row->add(new htmlSubTitle('Accordion'));
|
||||||
|
$accordionElementsSingle = array();
|
||||||
|
$accordionElementsSingleContent1 = new htmlResponsiveRow();
|
||||||
|
$accordionElementsSingleContent1->add(new htmlResponsiveInputField('Input 1', 'acc1i1'));
|
||||||
|
$accordionElementsSingleContent1->add(new htmlResponsiveInputField('Input 2', 'acc1i2'));
|
||||||
|
$accordionElementsSingleContent1->add(new htmlResponsiveInputTextarea('acc1i3', '', 20, 3, 'Text area'));
|
||||||
|
$accordionElementsSingle['Accordion'] = $accordionElementsSingleContent1;
|
||||||
|
$row->add(new htmlAccordion('acc_single', $accordionElementsSingle));
|
||||||
|
|
||||||
|
$row->add(new htmlSpacer(null, '5rem'));
|
||||||
|
|
||||||
|
$accordionElementsMulti = array();
|
||||||
|
for ($i = 0; $i < 5; $i++) {
|
||||||
|
$accordionElementsContent = new htmlResponsiveRow();
|
||||||
|
$accordionElementsContent->add(new htmlResponsiveInputField('Input 1', 'acc1i1' . $i));
|
||||||
|
$accordionElementsContent->add(new htmlResponsiveInputField('Input 2', 'acc1i2' . $i));
|
||||||
|
$accordionElementsContent->add(new htmlResponsiveInputTextarea('acc1i3' . $i, '', 20, 3, 'Text area'));
|
||||||
|
$accordionElementsMulti['Accordion ' . $i] = $accordionElementsContent;
|
||||||
|
}
|
||||||
|
$row->add(new htmlAccordion('acc_multi', $accordionElementsMulti));
|
||||||
|
|
||||||
|
$row->add(new htmlSpacer(null, '20rem'));
|
||||||
|
|
||||||
|
|
||||||
$tabindex = 1;
|
$tabindex = 1;
|
||||||
parseHtml(null, $row, array(), false, $tabindex, 'user');
|
parseHtml(null, $row, array(), false, $tabindex, 'user');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue