Case fix!

This commit is contained in:
Dennis Eichhorn 2016-03-26 18:59:38 +01:00
parent c2f9d6fd00
commit 463e78cd6b
19 changed files with 444 additions and 0 deletions

View File

@ -0,0 +1,30 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
$MODLANG['Navigation'] = [
'Categories' => 'Categories',
'Causes' => 'Causes',
'Cockpit' => 'Cockpit',
'Create' => 'Create',
'Delete' => 'Delete',
'Departments' => 'Departments',
'Projects' => 'Projects',
'Processes' => 'Processes',
'Risks' => 'Risks',
'RiskManagement' => 'Risk Management',
'Settings' => 'Settings',
'Solutions' => 'Solutions',
'Units' => 'Units',
];

View File

@ -0,0 +1,82 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
$MODLANG['RiskManagement'] = [
'Active' => 'Active',
'All' => 'All',
'AvgRiskAmount' => 'Avg. Risk Amount',
'Basic' => 'Basic',
'Categories' => 'Categories',
'Category' => 'Category',
'Cause' => 'Cause',
'Causes' => 'Causes',
'Cost' => 'Cost',
'Critical' => 'Critical',
'Damage' => 'Damage',
'Department' => 'Department',
'Departments' => 'Departments',
'Description' => 'Description',
'Due' => 'Due',
'Evaluation' => 'Evaluation',
'Export' => 'Export',
'Front' => 'Front',
'History' => 'History',
'Interval' => 'Interval',
'LastReevaluation' => 'Last Reevaluation',
'Language' => 'Language',
'Limit' => 'Limit',
'Level' => 'Level',
'MainCause' => 'Main Cause',
'MainCategory' => 'Main Category',
'MainDepartment' => 'Main Department',
'Manager' => 'Manager',
'Name' => 'Name',
'Navigation' => 'Navigation',
'New' => 'New',
'NextReevaluation' => 'Next Reevaluation',
'Outdated' => 'Outdated',
'OverallRisk' => 'Overall Risk',
'Parent' => 'Parent',
'Probability' => 'Probability',
'Process' => 'Process',
'Processes' => 'Processes',
'Project' => 'Project',
'Projects' => 'Projects',
'Protection' => 'Protection',
'Ratio' => 'Ratio',
'Reduction' => 'Reduction',
'RemainingRisk' => 'Remaining Risk',
'Responsible' => 'Responsible',
'Risk' => 'Risk',
'RiskAcceptance' => 'Risk Acceptance',
'RiskIndex' => 'Risk Index',
'RiskLevels' => 'Risk Levels',
'RiskProbabilities' => 'Risk Probabilities',
'RiskProtection' => 'Risk Protection',
'Risks' => 'Risks',
'Severity' => 'Severity',
'Solution' => 'Solution',
'Solutions' => 'Solutions',
'Statistics' => 'Statistics',
'Status' => 'Status',
'Theme' => 'Theme',
'Title' => 'Title',
'Total' => 'Total',
'TopRisks' => 'Top Risks',
'Type' => 'Type',
'Unit' => 'Unit',
'Units' => 'Units',
'Watchlist' => 'Watchlist',
];

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>

View File

@ -0,0 +1,92 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
/**
* @var \phpOMS\Views\View $this
*/
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
$footerView->setPages(1 / 25);
$footerView->setPage(1);
$footerView->setResults(1);
echo $this->getData('nav')->render(); ?>
<section class="wf-75 floatLeft">
<section class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['RiskManagement']['TopRisks']; ?></caption>
<thead>
<tr>
<td><?= $this->l11n->lang['RiskManagement']['Severity']; ?>
<td class="wf-100"><?= $this->l11n->lang['RiskManagement']['Name']; ?>
<td><?= $this->l11n->lang['RiskManagement']['Department']; ?>
<td><?= $this->l11n->lang['RiskManagement']['Category']; ?>
<td><?= $this->l11n->lang['RiskManagement']['Process']; ?>
<td><?= $this->l11n->lang['RiskManagement']['Project']; ?>
<tfoot>
<tr><td colspan="6"><?= $footerView->render(); ?>
<tbody>
<?php $c = 0; foreach ([] as $key => $value) : $c++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?>
<tr>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
<td>
<td>
<td>
<?php endforeach; ?>
<?php if($c === 0) : ?>
<tr><td colspan="6" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>
</section>
<section class="wf-25 floatLeft">
<section class="box w-100">
<h1><?= $this->l11n->lang['RiskManagement']['Statistics']; ?></h1>
<div class="inner">
<table class="list">
<thead>
<tr>
<th><?= $this->l11n->lang['RiskManagement']['Risks']; ?>
<td>0
<tr>
<th><?= $this->l11n->lang['RiskManagement']['Causes']; ?>
<td>0
<tr>
<th><?= $this->l11n->lang['RiskManagement']['Solutions']; ?>
<td>0
<tr>
<th><?= $this->l11n->lang['RiskManagement']['Department']; ?>
<td>0
<tr>
<th><?= $this->l11n->lang['RiskManagement']['Category']; ?>
<td>0
<tr>
<th><?= $this->l11n->lang['RiskManagement']['Process']; ?>
<td>0
<tr>
<th><?= $this->l11n->lang['RiskManagement']['Project']; ?>
<td>0
<tr>
<th><?= $this->l11n->lang['RiskManagement']['Total']; ?>
<td>0
</table>
</div>
</section>
</section>

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>