mirror of
https://github.com/Karaka-Management/oms-RiskManagement.git
synced 2026-02-06 07:18:41 +00:00
Merge remote-tracking branch 'origin/develop' into develop
# Conflicts: # Draw/Controller.js # Draw/Models/DrawType.enum.js # Draw/Models/Editor.js # Media/Models/UploadFile.php
This commit is contained in:
commit
532775c66a
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
namespace Modules\RiskManagement\Admin;
|
namespace Modules\RiskManagement\Admin;
|
||||||
|
|
||||||
|
|
||||||
use phpOMS\DataStorage\Database\Pool;
|
use phpOMS\DataStorage\Database\DatabasePool;
|
||||||
use phpOMS\Module\ActivateAbstract;
|
use phpOMS\Module\ActivateAbstract;
|
||||||
use phpOMS\Module\InfoManager;
|
use phpOMS\Module\InfoManager;
|
||||||
|
|
||||||
|
|
@ -37,7 +37,7 @@ class Activate extends ActivateAbstract
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public static function activate(Pool $dbPool, InfoManager $info)
|
public static function activate(DatabasePool $dbPool, InfoManager $info)
|
||||||
{
|
{
|
||||||
parent::activate($dbPool, $info);
|
parent::activate($dbPool, $info);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
namespace Modules\RiskManagement\Admin;
|
namespace Modules\RiskManagement\Admin;
|
||||||
|
|
||||||
|
|
||||||
use phpOMS\DataStorage\Database\Pool;
|
use phpOMS\DataStorage\Database\DatabasePool;
|
||||||
use phpOMS\Module\DeactivateAbstract;
|
use phpOMS\Module\DeactivateAbstract;
|
||||||
use phpOMS\Module\InfoManager;
|
use phpOMS\Module\InfoManager;
|
||||||
|
|
||||||
|
|
@ -37,7 +37,7 @@ class Deactivate extends DeactivateAbstract
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public static function deactivate(Pool $dbPool, InfoManager $info)
|
public static function deactivate(DatabasePool $dbPool, InfoManager $info)
|
||||||
{
|
{
|
||||||
parent::deactivate($dbPool, $info);
|
parent::deactivate($dbPool, $info);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
* @link http://orange-management.com
|
* @link http://orange-management.com
|
||||||
*/
|
*/
|
||||||
namespace Modules\RiskManagement\Admin\Install;
|
namespace Modules\RiskManagement\Admin\Install;
|
||||||
use phpOMS\DataStorage\Database\Pool;
|
use phpOMS\DataStorage\Database\DatabasePool;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Navigation class.
|
* Navigation class.
|
||||||
|
|
@ -29,7 +29,7 @@ use phpOMS\DataStorage\Database\Pool;
|
||||||
*/
|
*/
|
||||||
class Navigation
|
class Navigation
|
||||||
{
|
{
|
||||||
public static function install(Pool $dbPool)
|
public static function install(string $path, DatabasePool $dbPool)
|
||||||
{
|
{
|
||||||
$navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true);
|
$navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
namespace Modules\RiskManagement\Admin;
|
namespace Modules\RiskManagement\Admin;
|
||||||
|
|
||||||
use phpOMS\DataStorage\Database\DatabaseType;
|
use phpOMS\DataStorage\Database\DatabaseType;
|
||||||
use phpOMS\DataStorage\Database\Pool;
|
use phpOMS\DataStorage\Database\DatabasePool;
|
||||||
use phpOMS\Module\InfoManager;
|
use phpOMS\Module\InfoManager;
|
||||||
use phpOMS\Module\InstallerAbstract;
|
use phpOMS\Module\InstallerAbstract;
|
||||||
|
|
||||||
|
|
@ -37,9 +37,9 @@ class Installer extends InstallerAbstract
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public static function install(Pool $dbPool, InfoManager $info)
|
public static function install(string $path, DatabasePool $dbPool, InfoManager $info)
|
||||||
{
|
{
|
||||||
parent::install($dbPool, $info);
|
parent::install($path, $dbPool, $info);
|
||||||
|
|
||||||
switch ($dbPool->get('core')->getType()) {
|
switch ($dbPool->get('core')->getType()) {
|
||||||
case DatabaseType::MYSQL:
|
case DatabaseType::MYSQL:
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,12 @@ return [
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
'^.*/backend/controlling/riskmanagement/risk/create.*$' => [
|
||||||
|
[
|
||||||
|
'dest' => '\Modules\RiskManagement\Controller:viewRiskCreate',
|
||||||
|
'verb' => RouteVerb::GET,
|
||||||
|
],
|
||||||
|
],
|
||||||
'^.*/backend/controlling/riskmanagement/cause/list.*$' => [
|
'^.*/backend/controlling/riskmanagement/cause/list.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\RiskManagement\Controller:viewRiskCauseList',
|
'dest' => '\Modules\RiskManagement\Controller:viewRiskCauseList',
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
namespace Modules\RiskManagement\Admin;
|
namespace Modules\RiskManagement\Admin;
|
||||||
|
|
||||||
|
|
||||||
use phpOMS\DataStorage\Database\Pool;
|
use phpOMS\DataStorage\Database\DatabasePool;
|
||||||
use phpOMS\DataStorage\Database\Schema\Builder;
|
use phpOMS\DataStorage\Database\Schema\Builder;
|
||||||
use phpOMS\Module\UninstallAbstract;
|
use phpOMS\Module\UninstallAbstract;
|
||||||
|
|
||||||
|
|
@ -37,7 +37,7 @@ class Uninstall extends UninstallAbstract
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public static function uninstall(Pool $dbPool, InfoManager $info)
|
public static function uninstall(DatabasePool $dbPool, InfoManager $info)
|
||||||
{
|
{
|
||||||
parent::uninstall($dbPool, $info);
|
parent::uninstall($dbPool, $info);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
namespace Modules\RiskManagement\Admin;
|
namespace Modules\RiskManagement\Admin;
|
||||||
|
|
||||||
|
|
||||||
use phpOMS\DataStorage\Database\Pool;
|
use phpOMS\DataStorage\Database\DatabasePool;
|
||||||
use phpOMS\Module\UpdateAbstract;
|
use phpOMS\Module\UpdateAbstract;
|
||||||
use phpOMS\System\File\Directory;
|
use phpOMS\System\File\Directory;
|
||||||
|
|
||||||
|
|
@ -37,7 +37,7 @@ class Update extends UpdateAbstract
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public static function update(Pool $dbPool, array $info)
|
public static function update(DatabasePool $dbPool, array $info)
|
||||||
{
|
{
|
||||||
Directory::deletePath(__DIR__ . '/Update');
|
Directory::deletePath(__DIR__ . '/Update');
|
||||||
mkdir('Update');
|
mkdir('Update');
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
@ -45,7 +45,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
const MODULE_PATH = __DIR__;
|
/* public */ const MODULE_PATH = __DIR__;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module version.
|
* Module version.
|
||||||
|
|
@ -53,7 +53,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
const MODULE_VERSION = '1.0.0';
|
/* public */ const MODULE_VERSION = '1.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module name.
|
* Module name.
|
||||||
|
|
@ -61,7 +61,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
const MODULE_NAME = 'RiskManagement';
|
/* public */ const MODULE_NAME = 'RiskManagement';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Providing.
|
* Providing.
|
||||||
|
|
@ -78,6 +78,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static $dependencies = [
|
protected static $dependencies = [
|
||||||
|
'Media'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -118,6 +119,25 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
return $view;
|
return $view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param RequestAbstract $request Request
|
||||||
|
* @param ResponseAbstract $response Response
|
||||||
|
* @param mixed $data Generic data
|
||||||
|
*
|
||||||
|
* @return RenderableInterface
|
||||||
|
*
|
||||||
|
* @since 1.0.0
|
||||||
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
*/
|
||||||
|
public function viewRiskCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
||||||
|
{
|
||||||
|
$view = new View($this->app, $request, $response);
|
||||||
|
$view->setTemplate('/Modules/RiskManagement/Theme/Backend/risk-create');
|
||||||
|
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003001001, $request, $response));
|
||||||
|
|
||||||
|
return $view;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param RequestAbstract $request Request
|
* @param RequestAbstract $request Request
|
||||||
* @param ResponseAbstract $response Response
|
* @param ResponseAbstract $response Response
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
@ -38,6 +38,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td><?= $this->getText('Category'); ?>
|
<td><?= $this->getText('Category'); ?>
|
||||||
<td><?= $this->getText('Process'); ?>
|
<td><?= $this->getText('Process'); ?>
|
||||||
<td><?= $this->getText('Project'); ?>
|
<td><?= $this->getText('Project'); ?>
|
||||||
|
<td><?= $this->getText('Unit'); ?>
|
||||||
<tfoot>
|
<tfoot>
|
||||||
<tr><td colspan="6"><?= $footerView->render(); ?>
|
<tr><td colspan="6"><?= $footerView->render(); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
@ -48,15 +49,22 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
|
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
|
||||||
<td>
|
<td>
|
||||||
<td>
|
<td>
|
||||||
|
<td>
|
||||||
<td>
|
<td>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php if($c === 0) : ?>
|
<?php if($c === 0) : ?>
|
||||||
<tr><td colspan="6" class="empty"><?= $this->getText('Empty', 0, 0); ?>
|
<tr><td colspan="7" class="empty"><?= $this->getText('Empty', 0, 0); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="wf-25 floatLeft">
|
<section class="wf-25 floatLeft">
|
||||||
|
<section class="box w-100">
|
||||||
|
<div class="inner">
|
||||||
|
<a class="button" href="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/backend/controlling/riskmanagement/risk/create'); ?>"><?= $this->getText('NewRisk'); ?></a>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section class="box w-100">
|
<section class="box w-100">
|
||||||
<header><h1><?= $this->getText('Statistics'); ?></h1></header>
|
<header><h1><?= $this->getText('Statistics'); ?></h1></header>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
@ -14,3 +14,258 @@
|
||||||
* @link http://orange-management.com
|
* @link http://orange-management.com
|
||||||
*/
|
*/
|
||||||
echo $this->getData('nav')->render(); ?>
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
|
<div class="tabular-2">
|
||||||
|
<div class="box">
|
||||||
|
<ul class="tab-links">
|
||||||
|
<li><label for="c-tab-1"><?= $this->getText('Risk') ?></label>
|
||||||
|
<li><label for="c-tab-2"><?= $this->getText('RiskStatus') ?></label>
|
||||||
|
<li><label for="c-tab-3"><?= $this->getText('RiskObjects') ?></label>
|
||||||
|
<li><label for="c-tab-4"><?= $this->getText('RiskObjectStatus') ?></label>
|
||||||
|
<li><label for="c-tab-5"><?= $this->getText('Solutions') ?></label>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="tab-content">
|
||||||
|
<input type="radio" id="c-tab-1" name="tabular-2" checked>
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Risk'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?csrf={$CSRF}'); ?>">
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td><label for="iName"><?= $this->getText('Name'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iName" name="name" placeholder=" <?= $this->getText('Name'); ?>" required>
|
||||||
|
<tr><td><label for="iDescription"><?= $this->getText('Description'); ?></label>
|
||||||
|
<tr><td><textarea id="iDescription" name="description"></textarea>
|
||||||
|
<tr><td><label for="iCategory"><?= $this->getText('Category'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iCategory" name="category" placeholder=" <?= $this->getText('Category'); ?>">
|
||||||
|
<tr><td><label for="iDepartment"><?= $this->getText('Department'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iDepartment" name="department" placeholder=" <?= $this->getText('Department'); ?>">
|
||||||
|
<tr><td><label for="iProcess"><?= $this->getText('Process'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iProcess" name="process" placeholder=" <?= $this->getText('Process'); ?>">
|
||||||
|
<tr><td><label for="iProject"><?= $this->getText('Project'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iProject" name="project" placeholder=" <?= $this->getText('Project'); ?>">
|
||||||
|
<tr><td><label for="iReview"><?= $this->getText('Review'); ?></label>
|
||||||
|
<tr><td><input type="datetime-local" id="iReview" name="Review" value="<?= (new \DateTime('NOW'))->format('Y-m-d\TH:i:s') ?>">
|
||||||
|
<tr><td><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Media'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td colspan="2"><label for="iMedia"><?= $this->getText('Media'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iMedia" placeholder=" File"><td><button><?= $this->getText('Select'); ?></button>
|
||||||
|
<tr><td colspan="2"><label for="iUpload"><?= $this->getText('Upload'); ?></label>
|
||||||
|
<tr><td><input type="file" id="iUpload" form="fTask"><input form="fTask" type="hidden" name="type"><td>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Responsibility'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td><label for="iResponsibility"><?= $this->getText('Responsibility'); ?></label><td><label for="iUser"><?= $this->getText('UserGroup'); ?></label><td>
|
||||||
|
<tr><td><select id="iStatus" name="status">
|
||||||
|
<option value="">
|
||||||
|
</select>
|
||||||
|
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" id="iUser" name="user" placeholder=""></span><td><button><?= $this->getText('Add', 0, 0); ?></button>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<input type="radio" id="c-tab-2" name="tabular-2">
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('RiskStatus'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?csrf={$CSRF}'); ?>">
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td><label for="iRiskConsequence"><?= $this->getText('RiskConsequence'); ?></label>
|
||||||
|
<tr><td><select id="iRiskConsequence" name="riskconsequence">
|
||||||
|
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iRiskLikelihood"><?= $this->getText('RiskLikelihood'); ?></label>
|
||||||
|
<tr><td><select id="iRiskLikelihood" name="risklikelihood">
|
||||||
|
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iRiskConsequence"><?= $this->getText('RiskConsequence'); ?></label>
|
||||||
|
<tr><td><select id="iRiskConsequence" name="riskconsequence">
|
||||||
|
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iRiskLikelihood"><?= $this->getText('RiskLikelihood'); ?></label>
|
||||||
|
<tr><td><select id="iRiskLikelihood" name="risklikelihood">
|
||||||
|
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iRiskStatusDescription"><?= $this->getText('Description'); ?></label>
|
||||||
|
<tr><td><textarea id="iRiskStatusDescription" name="riskstatusdescription"></textarea>
|
||||||
|
<tr><td><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Media'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td colspan="2"><label for="iMedia"><?= $this->getText('Media'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iMedia" placeholder=" File"><td><button><?= $this->getText('Select'); ?></button>
|
||||||
|
<tr><td colspan="2"><label for="iUpload"><?= $this->getText('Upload'); ?></label>
|
||||||
|
<tr><td><input type="file" id="iUpload" form="fTask"><input form="fTask" type="hidden" name="type"><td>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<input type="radio" id="c-tab-3" name="tabular-2">
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('RiskObjects'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?csrf={$CSRF}'); ?>">
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td><label for="iRiskObjectName"><?= $this->getText('Name'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iRiskObjectName" name="riskobjectname" placeholder=" <?= $this->getText('Name'); ?>">
|
||||||
|
<tr><td><label for="iRiskObjectDescription"><?= $this->getText('Description'); ?></label>
|
||||||
|
<tr><td><textarea id="iRiskObjectDescription" name="riskobjectdescription"></textarea>
|
||||||
|
<tr><td><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Media'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td colspan="2"><label for="iMedia"><?= $this->getText('Media'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iMedia" placeholder=" File"><td><button><?= $this->getText('Select'); ?></button>
|
||||||
|
<tr><td colspan="2"><label for="iUpload"><?= $this->getText('Upload'); ?></label>
|
||||||
|
<tr><td><input type="file" id="iUpload" form="fTask"><input form="fTask" type="hidden" name="type"><td>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<input type="radio" id="c-tab-4" name="tabular-2">
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('RiskObjectStatus'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?csrf={$CSRF}'); ?>">
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td><label for="iRiskObjectNameValue"><?= $this->getText('RiskObject'); ?></label>
|
||||||
|
<tr><td><select id="iRiskObjectNameValue" name="riskobjectnamevalue">
|
||||||
|
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iRiskObjecValue"><?= $this->getText('Value'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iRiskObjecValue" name="riskobjectvalue">
|
||||||
|
<tr><td><label for="iRiskObjecValueDescription"><?= $this->getText('Description'); ?></label>
|
||||||
|
<tr><td><textarea id="iRiskObjecValueDescription" name="riskobjectvaluedescription"></textarea>
|
||||||
|
<tr><td><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Media'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td colspan="2"><label for="iMedia"><?= $this->getText('Media'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iMedia" placeholder=" File"><td><button><?= $this->getText('Select'); ?></button>
|
||||||
|
<tr><td colspan="2"><label for="iUpload"><?= $this->getText('Upload'); ?></label>
|
||||||
|
<tr><td><input type="file" id="iUpload" form="fTask"><input form="fTask" type="hidden" name="type"><td>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<input type="radio" id="c-tab-5" name="tabular-2">
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Solution'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?csrf={$CSRF}'); ?>">
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td><label for="iSolutionName"><?= $this->getText('Name'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iSolutionName" name="solutionname">
|
||||||
|
<tr><td><label for="iSolutioType"><?= $this->getText('Type'); ?></label>
|
||||||
|
<tr><td><select id="iSolutioType" name="solutiontype">
|
||||||
|
<option>Preventing
|
||||||
|
<option>Disclosing
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iSolutioFrequency"><?= $this->getText('Frequency'); ?></label>
|
||||||
|
<tr><td><select id="iSolutioFrequency" name="solutionfrequency">
|
||||||
|
<option>Permanently
|
||||||
|
<option>Daily
|
||||||
|
<option>Weekly
|
||||||
|
<option>Monthly
|
||||||
|
<option>Quarterly
|
||||||
|
<option>Semiannual
|
||||||
|
<option>Annual
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iSolutioAssessment"><?= $this->getText('Assessment'); ?></label>
|
||||||
|
<tr><td><select id="iSolutioAssessment" name="solutionassessment">
|
||||||
|
<option>Manual
|
||||||
|
<option>IT-dependent
|
||||||
|
<option>IT
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iSolutionDescription"><?= $this->getText('Description'); ?></label>
|
||||||
|
<tr><td><textarea id="iSolutionDescription" name="solutionDescription"></textarea>
|
||||||
|
<tr><td><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Media'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td colspan="2"><label for="iMedia"><?= $this->getText('Media'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iMedia" placeholder=" File"><td><button><?= $this->getText('Select'); ?></button>
|
||||||
|
<tr><td colspan="2"><label for="iUpload"><?= $this->getText('Upload'); ?></label>
|
||||||
|
<tr><td><input type="file" id="iUpload" form="fTask"><input form="fTask" type="hidden" name="type"><td>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
return ['RiskManagement' => [
|
return ['RiskManagement' => [
|
||||||
'Active' => 'Active',
|
'Active' => 'Active',
|
||||||
'All' => 'All',
|
'All' => 'All',
|
||||||
|
'Assessment' => 'Assessment',
|
||||||
'AvgRiskAmount' => 'Avg. Risk Amount',
|
'AvgRiskAmount' => 'Avg. Risk Amount',
|
||||||
'Basic' => 'Basic',
|
'Basic' => 'Basic',
|
||||||
'Categories' => 'Categories',
|
'Categories' => 'Categories',
|
||||||
|
|
@ -31,6 +32,7 @@ return ['RiskManagement' => [
|
||||||
'Due' => 'Due',
|
'Due' => 'Due',
|
||||||
'Evaluation' => 'Evaluation',
|
'Evaluation' => 'Evaluation',
|
||||||
'Export' => 'Export',
|
'Export' => 'Export',
|
||||||
|
'Frequency' => 'Frequency',
|
||||||
'Front' => 'Front',
|
'Front' => 'Front',
|
||||||
'History' => 'History',
|
'History' => 'History',
|
||||||
'Interval' => 'Interval',
|
'Interval' => 'Interval',
|
||||||
|
|
@ -42,9 +44,11 @@ return ['RiskManagement' => [
|
||||||
'MainCategory' => 'Main Category',
|
'MainCategory' => 'Main Category',
|
||||||
'MainDepartment' => 'Main Department',
|
'MainDepartment' => 'Main Department',
|
||||||
'Manager' => 'Manager',
|
'Manager' => 'Manager',
|
||||||
|
'Media' => 'Media',
|
||||||
'Name' => 'Name',
|
'Name' => 'Name',
|
||||||
'Navigation' => 'Navigation',
|
'Navigation' => 'Navigation',
|
||||||
'New' => 'New',
|
'New' => 'New',
|
||||||
|
'NewRisk' => 'New Risk',
|
||||||
'NextReevaluation' => 'Next Reevaluation',
|
'NextReevaluation' => 'Next Reevaluation',
|
||||||
'Outdated' => 'Outdated',
|
'Outdated' => 'Outdated',
|
||||||
'OverallRisk' => 'Overall Risk',
|
'OverallRisk' => 'Overall Risk',
|
||||||
|
|
@ -59,13 +63,22 @@ return ['RiskManagement' => [
|
||||||
'Reduction' => 'Reduction',
|
'Reduction' => 'Reduction',
|
||||||
'RemainingRisk' => 'Remaining Risk',
|
'RemainingRisk' => 'Remaining Risk',
|
||||||
'Responsible' => 'Responsible',
|
'Responsible' => 'Responsible',
|
||||||
|
'Responsibility' => 'Responsibility',
|
||||||
|
'Review' => 'Review',
|
||||||
'Risk' => 'Risk',
|
'Risk' => 'Risk',
|
||||||
'RiskAcceptance' => 'Risk Acceptance',
|
'RiskAcceptance' => 'Risk Acceptance',
|
||||||
|
'RiskConsequence' => 'Risk Consequence',
|
||||||
'RiskIndex' => 'Risk Index',
|
'RiskIndex' => 'Risk Index',
|
||||||
'RiskLevels' => 'Risk Levels',
|
'RiskLevels' => 'Risk Levels',
|
||||||
|
'RiskLikelihood' => 'Risk Likelihood',
|
||||||
|
'RiskObject' => 'Risk Object',
|
||||||
|
'RiskObjects' => 'Risk Objects',
|
||||||
|
'RiskObjectStatus' => 'Risk Object Status',
|
||||||
'RiskProbabilities' => 'Risk Probabilities',
|
'RiskProbabilities' => 'Risk Probabilities',
|
||||||
'RiskProtection' => 'Risk Protection',
|
'RiskProtection' => 'Risk Protection',
|
||||||
|
'RiskStatus' => 'Risk Status',
|
||||||
'Risks' => 'Risks',
|
'Risks' => 'Risks',
|
||||||
|
'Select' => 'Select',
|
||||||
'Severity' => 'Severity',
|
'Severity' => 'Severity',
|
||||||
'Solution' => 'Solution',
|
'Solution' => 'Solution',
|
||||||
'Solutions' => 'Solutions',
|
'Solutions' => 'Solutions',
|
||||||
|
|
@ -78,5 +91,8 @@ return ['RiskManagement' => [
|
||||||
'Type' => 'Type',
|
'Type' => 'Type',
|
||||||
'Unit' => 'Unit',
|
'Unit' => 'Unit',
|
||||||
'Units' => 'Units',
|
'Units' => 'Units',
|
||||||
|
'Upload' => 'Upload',
|
||||||
|
'UserGroup' => 'User/Group',
|
||||||
|
'Value' => 'Value',
|
||||||
'Watchlist' => 'Watchlist',
|
'Watchlist' => 'Watchlist',
|
||||||
]];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
@ -38,6 +38,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td><?= $this->getText('Category'); ?>
|
<td><?= $this->getText('Category'); ?>
|
||||||
<td><?= $this->getText('Process'); ?>
|
<td><?= $this->getText('Process'); ?>
|
||||||
<td><?= $this->getText('Project'); ?>
|
<td><?= $this->getText('Project'); ?>
|
||||||
|
<td><?= $this->getText('Unit'); ?>
|
||||||
<tfoot>
|
<tfoot>
|
||||||
<tr><td colspan="6"><?= $footerView->render(); ?>
|
<tr><td colspan="6"><?= $footerView->render(); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
@ -48,15 +49,22 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
|
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
|
||||||
<td>
|
<td>
|
||||||
<td>
|
<td>
|
||||||
|
<td>
|
||||||
<td>
|
<td>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php if($c === 0) : ?>
|
<?php if($c === 0) : ?>
|
||||||
<tr><td colspan="6" class="empty"><?= $this->getText('Empty', 0, 0); ?>
|
<tr><td colspan="7" class="empty"><?= $this->getText('Empty', 0, 0); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="wf-25 floatLeft">
|
<section class="wf-25 floatLeft">
|
||||||
|
<section class="box w-100">
|
||||||
|
<div class="inner">
|
||||||
|
<a class="button" href="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/backend/controlling/riskmanagement/risk/create'); ?>"><?= $this->getText('NewRisk'); ?></a>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section class="box w-100">
|
<section class="box w-100">
|
||||||
<header><h1><?= $this->getText('Statistics'); ?></h1></header>
|
<header><h1><?= $this->getText('Statistics'); ?></h1></header>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
@ -14,3 +14,258 @@
|
||||||
* @link http://orange-management.com
|
* @link http://orange-management.com
|
||||||
*/
|
*/
|
||||||
echo $this->getData('nav')->render(); ?>
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
|
<div class="tabular-2">
|
||||||
|
<div class="box">
|
||||||
|
<ul class="tab-links">
|
||||||
|
<li><label for="c-tab-1"><?= $this->getText('Risk') ?></label>
|
||||||
|
<li><label for="c-tab-2"><?= $this->getText('RiskStatus') ?></label>
|
||||||
|
<li><label for="c-tab-3"><?= $this->getText('RiskObjects') ?></label>
|
||||||
|
<li><label for="c-tab-4"><?= $this->getText('RiskObjectStatus') ?></label>
|
||||||
|
<li><label for="c-tab-5"><?= $this->getText('Solutions') ?></label>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="tab-content">
|
||||||
|
<input type="radio" id="c-tab-1" name="tabular-2" checked>
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Risk'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?csrf={$CSRF}'); ?>">
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td><label for="iName"><?= $this->getText('Name'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iName" name="name" placeholder=" <?= $this->getText('Name'); ?>" required>
|
||||||
|
<tr><td><label for="iDescription"><?= $this->getText('Description'); ?></label>
|
||||||
|
<tr><td><textarea id="iDescription" name="description"></textarea>
|
||||||
|
<tr><td><label for="iCategory"><?= $this->getText('Category'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iCategory" name="category" placeholder=" <?= $this->getText('Category'); ?>">
|
||||||
|
<tr><td><label for="iDepartment"><?= $this->getText('Department'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iDepartment" name="department" placeholder=" <?= $this->getText('Department'); ?>">
|
||||||
|
<tr><td><label for="iProcess"><?= $this->getText('Process'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iProcess" name="process" placeholder=" <?= $this->getText('Process'); ?>">
|
||||||
|
<tr><td><label for="iProject"><?= $this->getText('Project'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iProject" name="project" placeholder=" <?= $this->getText('Project'); ?>">
|
||||||
|
<tr><td><label for="iReview"><?= $this->getText('Review'); ?></label>
|
||||||
|
<tr><td><input type="datetime-local" id="iReview" name="Review" value="<?= (new \DateTime('NOW'))->format('Y-m-d\TH:i:s') ?>">
|
||||||
|
<tr><td><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Media'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td colspan="2"><label for="iMedia"><?= $this->getText('Media'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iMedia" placeholder=" File"><td><button><?= $this->getText('Select'); ?></button>
|
||||||
|
<tr><td colspan="2"><label for="iUpload"><?= $this->getText('Upload'); ?></label>
|
||||||
|
<tr><td><input type="file" id="iUpload" form="fTask"><input form="fTask" type="hidden" name="type"><td>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Responsibility'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td><label for="iResponsibility"><?= $this->getText('Responsibility'); ?></label><td><label for="iUser"><?= $this->getText('UserGroup'); ?></label><td>
|
||||||
|
<tr><td><select id="iStatus" name="status">
|
||||||
|
<option value="">
|
||||||
|
</select>
|
||||||
|
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" id="iUser" name="user" placeholder=""></span><td><button><?= $this->getText('Add', 0, 0); ?></button>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<input type="radio" id="c-tab-2" name="tabular-2">
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('RiskStatus'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?csrf={$CSRF}'); ?>">
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td><label for="iRiskConsequence"><?= $this->getText('RiskConsequence'); ?></label>
|
||||||
|
<tr><td><select id="iRiskConsequence" name="riskconsequence">
|
||||||
|
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iRiskLikelihood"><?= $this->getText('RiskLikelihood'); ?></label>
|
||||||
|
<tr><td><select id="iRiskLikelihood" name="risklikelihood">
|
||||||
|
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iRiskConsequence"><?= $this->getText('RiskConsequence'); ?></label>
|
||||||
|
<tr><td><select id="iRiskConsequence" name="riskconsequence">
|
||||||
|
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iRiskLikelihood"><?= $this->getText('RiskLikelihood'); ?></label>
|
||||||
|
<tr><td><select id="iRiskLikelihood" name="risklikelihood">
|
||||||
|
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iRiskStatusDescription"><?= $this->getText('Description'); ?></label>
|
||||||
|
<tr><td><textarea id="iRiskStatusDescription" name="riskstatusdescription"></textarea>
|
||||||
|
<tr><td><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Media'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td colspan="2"><label for="iMedia"><?= $this->getText('Media'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iMedia" placeholder=" File"><td><button><?= $this->getText('Select'); ?></button>
|
||||||
|
<tr><td colspan="2"><label for="iUpload"><?= $this->getText('Upload'); ?></label>
|
||||||
|
<tr><td><input type="file" id="iUpload" form="fTask"><input form="fTask" type="hidden" name="type"><td>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<input type="radio" id="c-tab-3" name="tabular-2">
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('RiskObjects'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?csrf={$CSRF}'); ?>">
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td><label for="iRiskObjectName"><?= $this->getText('Name'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iRiskObjectName" name="riskobjectname" placeholder=" <?= $this->getText('Name'); ?>">
|
||||||
|
<tr><td><label for="iRiskObjectDescription"><?= $this->getText('Description'); ?></label>
|
||||||
|
<tr><td><textarea id="iRiskObjectDescription" name="riskobjectdescription"></textarea>
|
||||||
|
<tr><td><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Media'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td colspan="2"><label for="iMedia"><?= $this->getText('Media'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iMedia" placeholder=" File"><td><button><?= $this->getText('Select'); ?></button>
|
||||||
|
<tr><td colspan="2"><label for="iUpload"><?= $this->getText('Upload'); ?></label>
|
||||||
|
<tr><td><input type="file" id="iUpload" form="fTask"><input form="fTask" type="hidden" name="type"><td>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<input type="radio" id="c-tab-4" name="tabular-2">
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('RiskObjectStatus'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?csrf={$CSRF}'); ?>">
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td><label for="iRiskObjectNameValue"><?= $this->getText('RiskObject'); ?></label>
|
||||||
|
<tr><td><select id="iRiskObjectNameValue" name="riskobjectnamevalue">
|
||||||
|
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iRiskObjecValue"><?= $this->getText('Value'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iRiskObjecValue" name="riskobjectvalue">
|
||||||
|
<tr><td><label for="iRiskObjecValueDescription"><?= $this->getText('Description'); ?></label>
|
||||||
|
<tr><td><textarea id="iRiskObjecValueDescription" name="riskobjectvaluedescription"></textarea>
|
||||||
|
<tr><td><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Media'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td colspan="2"><label for="iMedia"><?= $this->getText('Media'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iMedia" placeholder=" File"><td><button><?= $this->getText('Select'); ?></button>
|
||||||
|
<tr><td colspan="2"><label for="iUpload"><?= $this->getText('Upload'); ?></label>
|
||||||
|
<tr><td><input type="file" id="iUpload" form="fTask"><input form="fTask" type="hidden" name="type"><td>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<input type="radio" id="c-tab-5" name="tabular-2">
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Solution'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?csrf={$CSRF}'); ?>">
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td><label for="iSolutionName"><?= $this->getText('Name'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iSolutionName" name="solutionname">
|
||||||
|
<tr><td><label for="iSolutioType"><?= $this->getText('Type'); ?></label>
|
||||||
|
<tr><td><select id="iSolutioType" name="solutiontype">
|
||||||
|
<option>Preventing
|
||||||
|
<option>Disclosing
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iSolutioFrequency"><?= $this->getText('Frequency'); ?></label>
|
||||||
|
<tr><td><select id="iSolutioFrequency" name="solutionfrequency">
|
||||||
|
<option>Permanently
|
||||||
|
<option>Daily
|
||||||
|
<option>Weekly
|
||||||
|
<option>Monthly
|
||||||
|
<option>Quarterly
|
||||||
|
<option>Semiannual
|
||||||
|
<option>Annual
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iSolutioAssessment"><?= $this->getText('Assessment'); ?></label>
|
||||||
|
<tr><td><select id="iSolutioAssessment" name="solutionassessment">
|
||||||
|
<option>Manual
|
||||||
|
<option>IT-dependent
|
||||||
|
<option>IT
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iSolutionDescription"><?= $this->getText('Description'); ?></label>
|
||||||
|
<tr><td><textarea id="iSolutionDescription" name="solutionDescription"></textarea>
|
||||||
|
<tr><td><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Media'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td colspan="2"><label for="iMedia"><?= $this->getText('Media'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iMedia" placeholder=" File"><td><button><?= $this->getText('Select'); ?></button>
|
||||||
|
<tr><td colspan="2"><label for="iUpload"><?= $this->getText('Upload'); ?></label>
|
||||||
|
<tr><td><input type="file" id="iUpload" form="fTask"><input form="fTask" type="hidden" name="type"><td>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* Orange Management
|
* Orange Management
|
||||||
*
|
*
|
||||||
* PHP Version 7.0
|
* PHP Version 7.1
|
||||||
*
|
*
|
||||||
* @category TBD
|
* @category TBD
|
||||||
* @package TBD
|
* @package TBD
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user