From 6815777b8c46c31d726de104722cb1518d354ee3 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 17 Aug 2019 10:53:01 +0200 Subject: [PATCH] responsive --- lam/lib/modules/authorizedServiceObject.inc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/lam/lib/modules/authorizedServiceObject.inc b/lam/lib/modules/authorizedServiceObject.inc index faf7fdfc..0162a6b7 100644 --- a/lam/lib/modules/authorizedServiceObject.inc +++ b/lam/lib/modules/authorizedServiceObject.inc @@ -1,10 +1,9 @@ attributes['objectClass'][] = 'authorizedServiceObject'; } - $return = new htmlTable(); + $return = new htmlResponsiveRow(); if (in_array('authorizedServiceObject', $this->attributes['objectClass'])) { $autocompleteValues = array(); if (isset($this->moduleSettings['authorizedServiceObject_services'])) { $autocompleteValues = $this->moduleSettings['authorizedServiceObject_services']; } $this->addMultiValueInputTextField($return, 'authorizedService', _('Authorized Services'), false, null, false, $autocompleteValues); - $return->addElement(new htmlSpacer(null, '10px'),true); + $return->addVerticalSpacer('2rem'); $remButton = new htmlAccountPageButton('authorizedServiceObject', 'attributes', 'remObjectClass', _('Remove Authorized Service extension')); - $remButton->colspan = 4; - $return->addElement($remButton); + $return->add($remButton, 12, 12, 12, 'text-center'); } else { - $return->addElement(new htmlAccountPageButton('authorizedServiceObject', 'attributes', 'addObjectClass', _('Add Authorized Service extension'))); + $return->add(new htmlAccountPageButton('authorizedServiceObject', 'attributes', 'addObjectClass', _('Add Authorized Service extension')), 12); }