jQuery update

This commit is contained in:
Roland Gruber 2018-11-01 19:46:19 +01:00
parent 14edd44652
commit 55cdd56465
3 changed files with 6 additions and 4 deletions

View File

@ -575,10 +575,6 @@ tr.account {
/* --- end of workaround for vertical tabs --- */
.tabs-hover {
background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x !important;
}
/* title bar */
.titleBar {
background: #AAAAAA url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) repeat-x scroll 50% 50%;

View File

@ -248,6 +248,7 @@ include '../../lib/adminHeader.inc';
$deleteLink->setOnClick("profileShowDeleteDialog('" . _('Delete') . "', '" . _('Ok') . "', '" .
_('Cancel') . "', '" . $templateClass['typeId'] . "', '" . 'template_' .
$templateClass['typeId'] . "'); return false;");
$deleteLink->setCSSClasses(array('margin3'));
$buttonGroup->addElement($deleteLink);
if (count($configProfiles) > 1) {
@ -256,6 +257,7 @@ include '../../lib/adminHeader.inc';
$importLink->setOnClick("showDistributionDialog('" . _("Import PDF structures") . "', '" .
_('Ok') . "', '" . _('Cancel') . "', '" . $templateClass['typeId'] .
"', 'import'); return false;");
$importLink->setCSSClasses(array('margin3'));
$buttonGroup->addElement($importLink);
}
$exportLink = new htmlLink(null, '#', '../../graphics/export.png');
@ -264,6 +266,7 @@ include '../../lib/adminHeader.inc';
_('Ok') . "', '" . _('Cancel') . "', '" . $templateClass['typeId'] .
"', 'export', '" . 'template_' . $templateClass['typeId'] . "', '" .
$_SESSION['config']->getName() . "'); return false;");
$exportLink->setCSSClasses(array('margin3'));
$buttonGroup->addElement($exportLink);
$container->add($buttonGroup, 12, 4);
$container->addVerticalSpacer('1rem');

View File

@ -226,18 +226,21 @@ foreach ($profileClasses as $profileClass) {
$deleteLink = new htmlLink(null, '#', '../../graphics/delete.png');
$deleteLink->setTitle(_('Delete'));
$deleteLink->setOnClick("profileShowDeleteDialog('" . _('Delete') . "', '" . _('Ok') . "', '" . _('Cancel') . "', '" . $profileClass['typeId'] . "', '" . 'profile_' . $profileClass['typeId'] . "'); return false;");
$deleteLink->setCSSClasses(array('margin3'));
$buttonGroup->addElement($deleteLink);
if (count($configProfiles) > 1) {
$importLink = new htmlLink(null, '#', '../../graphics/import.png');
$importLink->setTitle(_('Import profiles'));
$importLink->setOnClick("showDistributionDialog('" . _("Import profiles") . "', '" .
_('Ok') . "', '" . _('Cancel') . "', '" . $profileClass['typeId'] . "', 'import'); return false;");
$importLink->setCSSClasses(array('margin3'));
$buttonGroup->addElement($importLink);
}
$exportLink = new htmlLink(null, '#', '../../graphics/export.png');
$exportLink->setTitle(_('Export profile'));
$exportLink->setOnClick("showDistributionDialog('" . _("Export profile") . "', '" .
_('Ok') . "', '" . _('Cancel') . "', '" . $profileClass['typeId'] . "', 'export', '" . 'profile_' . $profileClass['typeId'] . "'); return false;");
$exportLink->setCSSClasses(array('margin3'));
$buttonGroup->addElement($exportLink);
$container->add($buttonGroup, 12, 4);
$container->addVerticalSpacer('1rem');