mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-30 13:28:41 +00:00
Use new tab, colors and css
This commit is contained in:
parent
3775e2efa9
commit
7771dd6c15
|
|
@ -21,7 +21,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table id="accountList" class="table red">
|
||||
<table id="accountList" class="table darkred">
|
||||
<caption><?= $this->getHtml('Groups') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<table id="groupTable" class="box table red">
|
||||
<table id="groupTable" class="box table darkred">
|
||||
<caption><?= $this->getHtml('Groups') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -132,7 +132,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<table class="box table red">
|
||||
<table class="box table darkred">
|
||||
<caption><?= $this->getHtml('Permissions') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<table id="groupList" class="box table red">
|
||||
<table id="groupList" class="box table darkred">
|
||||
<caption><?= $this->getHtml('Groups') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ $accounts = $group->getAccounts();
|
|||
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
<div class="tabular-2">
|
||||
<div class="tab tab-2">
|
||||
<div class="box wf-100">
|
||||
<ul class="tab-links">
|
||||
<li><label for="c-tab-1"><?= $this->getHtml('General'); ?></label></li>
|
||||
|
|
@ -58,7 +58,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<table class="box table red wf-100">
|
||||
<table class="box table darkred wf-100">
|
||||
<caption><?= $this->getHtml('Accounts') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -93,7 +93,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<table id="groupPermissions" class="box table red wf-100">
|
||||
<table id="groupPermissions" class="box table darkred wf-100">
|
||||
<caption><?= $this->getHtml('Permissions') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -187,7 +187,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<table class="box table red wf-100">
|
||||
<table class="box table darkred wf-100">
|
||||
<caption><?= $this->getHtml('AuditLog') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
* @version 1.0.0
|
||||
* @link http://website.orange-management.de
|
||||
*/
|
||||
use phpOMS\Module\ModuleStatus;
|
||||
|
||||
/**
|
||||
* @var \phpOMS\Views\View $this
|
||||
|
|
@ -23,7 +24,7 @@ $installed = $this->app->moduleManager->getInstalledModules();
|
|||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<table id="moduleList" class="table red">
|
||||
<table id="moduleList" class="table darkred">
|
||||
<caption><?= $this->getHtml('Modules') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -36,18 +37,34 @@ $installed = $this->app->moduleManager->getInstalledModules();
|
|||
<td colspan="4">
|
||||
<tbody>
|
||||
<?php $count = 0; foreach ($modules as $key => $module) : $count++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/module/settings?{?}&id=' . $module['name']['internal']); ?>
|
||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/module/settings?{?}&id=' . $module['name']['internal']);
|
||||
if (isset($active[$module['name']['internal']])) { $status = ModuleStatus::ACTIVE; }
|
||||
elseif (isset($installed[$module['name']['internal']])) { $status = ModuleStatus::INACTIVE; }
|
||||
else { $status = ModuleStatus::AVAILABLE; }
|
||||
?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td data-label="<?= $this->getHtml('ID', 0, 0) ?>"><a href="<?= $url; ?>"><?= $this->printHtml($module['name']['id']); ?></a>
|
||||
<td data-label="<?= $this->getHtml('Name') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($module['name']['external']); ?></a>
|
||||
<td data-label="<?= $this->getHtml('Version') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($module['version']); ?></a>
|
||||
<td data-label="<?= $this->getHtml('Status') ?>"><a href="<?= $url; ?>"><?php if (isset($active[$module['name']['internal']]))
|
||||
echo \mb_strtolower($this->getHtml('Active'));
|
||||
elseif (isset($installed[$module['name']['internal']]))
|
||||
echo \mb_strtolower($this->getHtml('Inactive'));
|
||||
else
|
||||
echo \mb_strtolower($this->getHtml('Available')); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<td data-label="<?= $this->getHtml('Status') ?>">
|
||||
<span class="tag <?php
|
||||
if ($status === ModuleStatus::ACTIVE)
|
||||
echo 'green';
|
||||
elseif ($status === ModuleStatus::INACTIVE)
|
||||
echo 'red';
|
||||
else
|
||||
echo 'blue';
|
||||
?>">
|
||||
<a href="<?= $url; ?>">
|
||||
<?php if ($status === ModuleStatus::ACTIVE)
|
||||
echo \mb_strtolower($this->getHtml('Active'));
|
||||
elseif ($status === ModuleStatus::INACTIVE)
|
||||
echo \mb_strtolower($this->getHtml('Inactive'));
|
||||
else
|
||||
echo \mb_strtolower($this->getHtml('Available')); ?>
|
||||
</a>
|
||||
<?php endforeach; ?>
|
||||
</span>
|
||||
<?php if ($count === 0) : ?>
|
||||
<tr><td colspan="4" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ $volumes = \phpOMS\Utils\Converter\VolumeType::getConstants();
|
|||
$temperatures = \phpOMS\Utils\Converter\TemperatureType::getConstants();
|
||||
?>
|
||||
|
||||
<div class="tabular-2">
|
||||
<div class="tab tab-2">
|
||||
<div class="box wf-100">
|
||||
<ul class="tab-links">
|
||||
<li><label for="c-tab-1"><?= $this->getHtml('General'); ?></label></li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user