responsive

This commit is contained in:
Roland Gruber 2018-05-02 20:29:47 +02:00
parent 06612960c9
commit 38164082ce
1 changed files with 12 additions and 12 deletions

View File

@ -332,8 +332,8 @@ include '../../lib/adminHeader.inc';
echo "<div id=\"importDialog_$typeId\" class=\"hidden\">\n"; echo "<div id=\"importDialog_$typeId\" class=\"hidden\">\n";
echo "<form id=\"importDialogForm_$typeId\" method=\"post\" action=\"pdfmain.php\">\n"; echo "<form id=\"importDialogForm_$typeId\" method=\"post\" action=\"pdfmain.php\">\n";
$container = new htmlTable(); $containerStructures = new htmlResponsiveRow();
$container->addElement(new htmlOutputText(_('PDF structures')), true); $containerStructures->add(new htmlOutputText(_('PDF structures')), 12);
$select = new htmlSelect('importProfiles_' . $typeId, $importOptions, array(), count($importOptions, 1) < 15 ? count($importOptions, 1) : 15); $select = new htmlSelect('importProfiles_' . $typeId, $importOptions, array(), count($importOptions, 1) < 15 ? count($importOptions, 1) : 15);
$select->setMultiSelect(true); $select->setMultiSelect(true);
@ -341,21 +341,21 @@ include '../../lib/adminHeader.inc';
$select->setContainsOptgroups(true); $select->setContainsOptgroups(true);
$select->setWidth('290px'); $select->setWidth('290px');
$container->addElement($select); $containerStructures->add($select, 11);
$container->addElement(new htmlHelpLink('408'), true); $containerStructures->add(new htmlHelpLink('408'), 1);
$container->addElement(new htmlSpacer(null, '10px'), true); $containerStructures->addVerticalSpacer('2rem');
$container->addElement(new htmlOutputText(_("Master password")), true); $containerStructures->add(new htmlOutputText(_("Master password")), 12);
$exportPasswd = new htmlInputField('passwd_i_' . $typeId); $exportPasswd = new htmlInputField('passwd_i_' . $typeId);
$exportPasswd->setIsPassword(true); $exportPasswd->setIsPassword(true);
$container->addElement($exportPasswd); $containerStructures->add($exportPasswd, 11);
$container->addElement(new htmlHelpLink('236')); $containerStructures->add(new htmlHelpLink('236'), 1);
$container->addElement(new htmlHiddenInput('import', '1')); $containerStructures->add(new htmlHiddenInput('import', '1'), 12);
$container->addElement(new htmlHiddenInput('typeId', $typeId), true); $containerStructures->add(new htmlHiddenInput('typeId', $typeId), 12);
addSecurityTokenToMetaHTML($container); addSecurityTokenToMetaHTML($containerStructures);
parseHtml(null, $container, array(), false, $tabindex, 'user'); parseHtml(null, $containerStructures, array(), false, $tabindex, 'user');
echo '</form>'; echo '</form>';
echo "</div>\n"; echo "</div>\n";