diff --git a/lam/lib/adminFooter.php b/lam/lib/adminFooter.inc similarity index 100% rename from lam/lib/adminFooter.php rename to lam/lib/adminFooter.inc diff --git a/lam/templates/tests/index.php b/lam/templates/tests/index.php index a42ca98a..52279d58 100644 --- a/lam/templates/tests/index.php +++ b/lam/templates/tests/index.php @@ -1,9 +1,8 @@ \n"; -$container = new htmlTable(); -$container->addElement(new htmlSubTitle(_("LAM tests")), true); +$container = new htmlResponsiveRow(); +$container->add(new htmlTitle(_("LAM tests")), 12); -$container->addElement(new htmlLink(_("Lamdaemon test"), 'lamdaemonTest.php', '../../graphics/lamdaemonSmall.png')); -$container->addElement(new htmlSpacer('20px', null)); -$container->addElement(new htmlOutputText(_("Check if quotas and homedirectories can be managed.")), true); +$container->add(new htmlLink(_("Lamdaemon test"), 'lamdaemonTest.php', '../../graphics/lamdaemonSmall.png'), 12, 4); +$container->add(new htmlOutputText(_("Check if quotas and homedirectories can be managed.")), 12, 8); -$container->addElement(new htmlSpacer(null, '20px'), true); +$container->addVerticalSpacer('2rem'); -$container->addElement(new htmlLink(_("Schema test"), 'schemaTest.php', '../../graphics/schemaTest.png')); -$container->addElement(new htmlSpacer('20px', null)); -$container->addElement(new htmlOutputText(_("Check if the LDAP schema fits the requirements of the selected account modules.")), true); +$container->add(new htmlLink(_("Schema test"), 'schemaTest.php', '../../graphics/schemaTest.png'), 12, 4); +$container->add(new htmlOutputText(_("Check if the LDAP schema fits the requirements of the selected account modules.")), 12, 8); + +$container->addVerticalSpacer('2rem'); $tabindex = 1; parseHtml(null, $container, array(), true, $tabindex, 'user'); echo "\n"; -include '../main_footer.php'; +include '../../lib/adminFooter.inc'; ?> diff --git a/lam/templates/tools.php b/lam/templates/tools.php index 98247652..ad0b6bc6 100644 --- a/lam/templates/tools.php +++ b/lam/templates/tools.php @@ -93,6 +93,6 @@ parseHtml(null, $container, array(), true, $tabindex, 'user'); echo ""; -include '../lib/adminFooter.php'; +include '../lib/adminFooter.inc'; ?>