mirror of
https://github.com/Karaka-Management/oms-RiskManagement.git
synced 2026-02-06 23:38:40 +00:00
Template & lang fixes
This commit is contained in:
parent
f9ba82cd0d
commit
3ad0dcbae0
|
|
@ -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'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
]];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -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,10 +49,11 @@ 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>
|
||||||
|
|
@ -62,6 +64,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<a class="button" href="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/backend/controlling/riskmanagement/risk/create'); ?>"><?= $this->getText('NewRisk'); ?></a>
|
<a class="button" href="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/backend/controlling/riskmanagement/risk/create'); ?>"><?= $this->getText('NewRisk'); ?></a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</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">
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,10 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<ul class="tab-links">
|
<ul class="tab-links">
|
||||||
<li><label for="c-tab-1"><?= $this->getText('Risk') ?></label>
|
<li><label for="c-tab-1"><?= $this->getText('Risk') ?></label>
|
||||||
<li><label for="c-tab-2"><?= $this->getText('RiskObjects') ?></label>
|
<li><label for="c-tab-2"><?= $this->getText('RiskStatus') ?></label>
|
||||||
<li><label for="c-tab-3"><?= $this->getText('Solutions') ?></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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
|
|
@ -37,14 +39,6 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<tr><td><input type="text" id="iName" name="name" placeholder=" <?= $this->getText('Name'); ?>" required>
|
<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><label for="iDescription"><?= $this->getText('Description'); ?></label>
|
||||||
<tr><td><textarea id="iDescription" name="description"></textarea>
|
<tr><td><textarea id="iDescription" name="description"></textarea>
|
||||||
<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="iCategory"><?= $this->getText('Category'); ?></label>
|
<tr><td><label for="iCategory"><?= $this->getText('Category'); ?></label>
|
||||||
<tr><td><input type="text" id="iCategory" name="category" placeholder=" <?= $this->getText('Category'); ?>">
|
<tr><td><input type="text" id="iCategory" name="category" placeholder=" <?= $this->getText('Category'); ?>">
|
||||||
<tr><td><label for="iDepartment"><?= $this->getText('Department'); ?></label>
|
<tr><td><label for="iDepartment"><?= $this->getText('Department'); ?></label>
|
||||||
|
|
@ -62,7 +56,23 @@ echo $this->getData('nav')->render(); ?>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="box w-50 floatLeft">
|
<section class="box w-50 floatLeft">
|
||||||
<header><h1><?= $this->getText('Permissions'); ?></h1></header>
|
<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">
|
<div class="inner">
|
||||||
<form>
|
<form>
|
||||||
|
|
@ -80,9 +90,182 @@ echo $this->getData('nav')->render(); ?>
|
||||||
</div>
|
</div>
|
||||||
<input type="radio" id="c-tab-2" name="tabular-2">
|
<input type="radio" id="c-tab-2" name="tabular-2">
|
||||||
<div class="tab">
|
<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>
|
</div>
|
||||||
<input type="radio" id="c-tab-3" name="tabular-2">
|
<input type="radio" id="c-tab-3" name="tabular-2">
|
||||||
<div class="tab">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -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',
|
||||||
]];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -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,10 +49,11 @@ 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>
|
||||||
|
|
@ -62,6 +64,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<a class="button" href="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/backend/controlling/riskmanagement/risk/create'); ?>"><?= $this->getText('NewRisk'); ?></a>
|
<a class="button" href="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/backend/controlling/riskmanagement/risk/create'); ?>"><?= $this->getText('NewRisk'); ?></a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</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">
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,10 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<ul class="tab-links">
|
<ul class="tab-links">
|
||||||
<li><label for="c-tab-1"><?= $this->getText('Risk') ?></label>
|
<li><label for="c-tab-1"><?= $this->getText('Risk') ?></label>
|
||||||
<li><label for="c-tab-2"><?= $this->getText('RiskObjects') ?></label>
|
<li><label for="c-tab-2"><?= $this->getText('RiskStatus') ?></label>
|
||||||
<li><label for="c-tab-3"><?= $this->getText('Solutions') ?></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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
|
|
@ -37,14 +39,6 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<tr><td><input type="text" id="iName" name="name" placeholder=" <?= $this->getText('Name'); ?>" required>
|
<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><label for="iDescription"><?= $this->getText('Description'); ?></label>
|
||||||
<tr><td><textarea id="iDescription" name="description"></textarea>
|
<tr><td><textarea id="iDescription" name="description"></textarea>
|
||||||
<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="iCategory"><?= $this->getText('Category'); ?></label>
|
<tr><td><label for="iCategory"><?= $this->getText('Category'); ?></label>
|
||||||
<tr><td><input type="text" id="iCategory" name="category" placeholder=" <?= $this->getText('Category'); ?>">
|
<tr><td><input type="text" id="iCategory" name="category" placeholder=" <?= $this->getText('Category'); ?>">
|
||||||
<tr><td><label for="iDepartment"><?= $this->getText('Department'); ?></label>
|
<tr><td><label for="iDepartment"><?= $this->getText('Department'); ?></label>
|
||||||
|
|
@ -62,7 +56,23 @@ echo $this->getData('nav')->render(); ?>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="box w-50 floatLeft">
|
<section class="box w-50 floatLeft">
|
||||||
<header><h1><?= $this->getText('Permissions'); ?></h1></header>
|
<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">
|
<div class="inner">
|
||||||
<form>
|
<form>
|
||||||
|
|
@ -80,9 +90,182 @@ echo $this->getData('nav')->render(); ?>
|
||||||
</div>
|
</div>
|
||||||
<input type="radio" id="c-tab-2" name="tabular-2">
|
<input type="radio" id="c-tab-2" name="tabular-2">
|
||||||
<div class="tab">
|
<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>
|
</div>
|
||||||
<input type="radio" id="c-tab-3" name="tabular-2">
|
<input type="radio" id="c-tab-3" name="tabular-2">
|
||||||
<div class="tab">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
Loading…
Reference in New Issue
Block a user