Simplyfing layout

This commit is contained in:
Dennis Eichhorn 2016-05-17 20:14:04 +02:00
parent 7473f1b4d7
commit d96a658bb3
9 changed files with 25 additions and 25 deletions

View File

@ -29,7 +29,7 @@ $footerView->setPage(1);
$footerView->setResults(count($modules));
?>
<section class="box w-100">
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['Admin']['Modules']; ?></caption>
<thead>
@ -59,4 +59,4 @@ $footerView->setResults(count($modules));
<tr><td colspan="4" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>
</div>

View File

@ -25,7 +25,7 @@ $id = $this->request->getData('id') ?? 1;
?>
<section class="box w-33 floatLeft">
<h1><?= $modules[$id]['name']['external'] ?></h1>
<header><h1><?= $modules[$id]['name']['external'] ?></h1></header>
<div class="inner">
<table class="list wf-100">
@ -62,7 +62,7 @@ $id = $this->request->getData('id') ?? 1;
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Settings'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Settings'] ?></h1></header>
<div class="inner">
@ -70,7 +70,7 @@ $id = $this->request->getData('id') ?? 1;
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Groups'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Groups'] ?></h1></header>
<div class="inner">
@ -78,7 +78,7 @@ $id = $this->request->getData('id') ?? 1;
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Permissions'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Permissions'] ?></h1></header>
<div class="inner">

View File

@ -35,7 +35,7 @@ $currencies = \phpOMS\Localization\ISO4217EnumArray::getConstants();
?>
<section class="box w-50 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Settings'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Settings'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/settings/general'); ?>" method="post">
<table class="layout wf-100">
@ -51,7 +51,7 @@ $currencies = \phpOMS\Localization\ISO4217EnumArray::getConstants();
</section>
<section class="box w-50 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Localization'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Localization'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/settings/localization'); ?>" method="post">
<table class="layout wf-100">

View File

@ -16,7 +16,7 @@
echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Account'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Account'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/account'); ?>" method="post">
<table class="layout wf-100">
@ -52,7 +52,7 @@ echo $this->getData('nav')->render(); ?>
</section>
<section class="box w-66 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Groups'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Groups'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
<table class="layout wf-100">
@ -66,7 +66,7 @@ echo $this->getData('nav')->render(); ?>
</section>
<section class="box w-66 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Permissions'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Permissions'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
<table class="layout wf-100">

View File

@ -28,7 +28,7 @@ $footerView->setResults($this->getData('list:count'));
echo $this->getData('nav')->render();
?>
<section class="box w-100">
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['Admin']['Groups']; ?></caption>
<thead>
@ -54,4 +54,4 @@ echo $this->getData('nav')->render();
<tr><td colspan="5" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>
</div>

View File

@ -21,7 +21,7 @@ $account = $this->getData('account');
echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Account'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Account'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/account'); ?>" method="post">
<table class="layout wf-100">
@ -59,7 +59,7 @@ echo $this->getData('nav')->render(); ?>
</section>
<section class="box w-66 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Groups'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Groups'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
<table class="layout wf-100">
@ -73,7 +73,7 @@ echo $this->getData('nav')->render(); ?>
</section>
<section class="box w-66 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Permissions'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Permissions'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
<table class="layout wf-100">

View File

@ -20,7 +20,7 @@
echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Group'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Group'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
<table class="layout wf-100">
@ -36,7 +36,7 @@ echo $this->getData('nav')->render(); ?>
</section>
<section class="box w-66 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Parent'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Parent'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
<table class="layout wf-100">
@ -50,7 +50,7 @@ echo $this->getData('nav')->render(); ?>
</section>
<section class="box w-66 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Permissions'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Permissions'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
<table class="layout wf-100">

View File

@ -26,7 +26,7 @@ $footerView->setResults($this->getData('list:count') ?? 1);
echo $this->getData('nav')->render(); ?>
<section class="box w-100">
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['Admin']['Groups']; ?></caption>
<thead>
@ -52,4 +52,4 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="5" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>
</div>

View File

@ -22,7 +22,7 @@ $group = $this->getData('group');
echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Group'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Group'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
<table class="layout wf-100">
@ -40,7 +40,7 @@ echo $this->getData('nav')->render(); ?>
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Parent'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Parent'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
<table class="layout wf-100">
@ -54,7 +54,7 @@ echo $this->getData('nav')->render(); ?>
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Permissions'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Permissions'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
<table class="layout wf-100">
@ -68,7 +68,7 @@ echo $this->getData('nav')->render(); ?>
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['Admin']['Accounts'] ?></h1>
<header><h1><?= $this->l11n->lang['Admin']['Accounts'] ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
<table class="layout wf-100">