mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-15 12:08:40 +00:00
Admin tpl flexbox implementation
This commit is contained in:
parent
77a44ebb1b
commit
64cf0a06ce
|
|
@ -28,7 +28,9 @@ $footerView->setResults($this->getData('list:count'));
|
||||||
echo $this->getData('nav')->render();
|
echo $this->getData('nav')->render();
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="box w-100">
|
<div class="row">
|
||||||
|
<div class="col-xs-12">
|
||||||
|
<div class="box wf-100">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<caption><?= $this->getText('Groups'); ?></caption>
|
<caption><?= $this->getText('Groups'); ?></caption>
|
||||||
<thead>
|
<thead>
|
||||||
|
|
@ -55,3 +57,5 @@ echo $this->getData('nav')->render();
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,9 @@
|
||||||
$account = $this->getData('account');
|
$account = $this->getData('account');
|
||||||
echo $this->getData('nav')->render(); ?>
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
<section class="box w-33 floatLeft">
|
<div class="row">
|
||||||
|
<div class="col-xs-12 col-md-4">
|
||||||
|
<section class="box wf-100">
|
||||||
<header><h1><?= $this->getText('Account') ?></h1></header>
|
<header><h1><?= $this->getText('Account') ?></h1></header>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/account'); ?>" method="post">
|
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/account'); ?>" method="post">
|
||||||
|
|
@ -57,8 +59,10 @@ echo $this->getData('nav')->render(); ?>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
</div>
|
||||||
|
|
||||||
<section class="box w-66 floatLeft">
|
<div class="col-xs-12 col-md-4">
|
||||||
|
<section class="box wf-100">
|
||||||
<header><h1><?= $this->getText('Groups') ?></h1></header>
|
<header><h1><?= $this->getText('Groups') ?></h1></header>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
|
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
|
||||||
|
|
@ -71,8 +75,10 @@ echo $this->getData('nav')->render(); ?>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
</div>
|
||||||
|
|
||||||
<section class="box w-66 floatLeft">
|
<div class="col-xs-12 col-md-4">
|
||||||
|
<section class="box wf-100">
|
||||||
<header><h1><?= $this->getText('Permissions') ?></h1></header>
|
<header><h1><?= $this->getText('Permissions') ?></h1></header>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
|
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
|
||||||
|
|
@ -85,3 +91,5 @@ echo $this->getData('nav')->render(); ?>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
@ -29,6 +29,8 @@ $footerView->setPage(1);
|
||||||
$footerView->setResults(count($modules));
|
$footerView->setResults(count($modules));
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-xs-12">
|
||||||
<div class="box w-100">
|
<div class="box w-100">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<caption><?= $this->getText('Modules'); ?></caption>
|
<caption><?= $this->getText('Modules'); ?></caption>
|
||||||
|
|
@ -60,3 +62,5 @@ $footerView->setResults(count($modules));
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,9 @@ $installed = $this->app->moduleManager->getInstalledModules();
|
||||||
$id = $this->request->getData('id') ?? 1;
|
$id = $this->request->getData('id') ?? 1;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<section class="box w-33 floatLeft">
|
<div class="row">
|
||||||
|
<div class="col-xs-12 col-md-4">
|
||||||
|
<section class="box wf-100">
|
||||||
<header><h1><?= $modules[$id]['name']['external'] ?></h1></header>
|
<header><h1><?= $modules[$id]['name']['external'] ?></h1></header>
|
||||||
|
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
|
@ -60,27 +62,35 @@ $id = $this->request->getData('id') ?? 1;
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
</div>
|
||||||
|
|
||||||
<section class="box w-33 floatLeft">
|
<div class="col-xs-12 col-md-4">
|
||||||
|
<section class="box wf-100">
|
||||||
<header><h1><?= $this->getText('Settings') ?></h1></header>
|
<header><h1><?= $this->getText('Settings') ?></h1></header>
|
||||||
|
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
</div>
|
||||||
|
|
||||||
<section class="box w-33 floatLeft">
|
<div class="col-xs-12 col-md-4">
|
||||||
|
<section class="box wf-100">
|
||||||
<header><h1><?= $this->getText('Groups') ?></h1></header>
|
<header><h1><?= $this->getText('Groups') ?></h1></header>
|
||||||
|
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
</div>
|
||||||
|
|
||||||
<section class="box w-33 floatLeft">
|
<div class="col-xs-12 col-md-4">
|
||||||
|
<section class="box wf-100">
|
||||||
<header><h1><?= $this->getText('Permissions') ?></h1></header>
|
<header><h1><?= $this->getText('Permissions') ?></h1></header>
|
||||||
|
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user