oms-RiskManagement/Theme/Backend/cockpit.tpl.php

102 lines
3.6 KiB
PHP

<?php declare(strict_types=1);
/**
* Orange Management
*
* PHP Version 7.2
*
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://website.orange-management.de
*/
/**
* @var \phpOMS\Views\View $this
*/
$footerView = new \phpOMS\Views\PaginationView($this->app, $this->request, $this->response);
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
$footerView->setPages(25);
$footerView->setPage(1);
$footerView->setResults(1);
echo $this->getData('nav')->render(); ?>
<div class="row">
<div class="col-xs-12 col-md-9">
<div class="box wf-100">
<table class="table darkred">
<caption><?= $this->getHtml('TopRisks') ?><i class="fa fa-download floatRight download btn"></i></caption>
<thead>
<tr>
<td><?= $this->getHtml('Severity') ?>
<td class="wf-100"><?= $this->getHtml('Name') ?>
<td><?= $this->getHtml('Department') ?>
<td><?= $this->getHtml('Category') ?>
<td><?= $this->getHtml('Process') ?>
<td><?= $this->getHtml('Project') ?>
<td><?= $this->getHtml('Unit') ?>
<tfoot>
<tr><td colspan="6">
<tbody>
<?php $c = 0; foreach ([] as $key => $value) : $c++;
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?>
<tr>
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getId()); ?></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getName()); ?></a>
<td>
<td>
<td>
<td>
<?php endforeach; ?>
<?php if ($c === 0) : ?>
<tr><td colspan="7" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
<?php endif; ?>
</table>
</div>
</div>
<div class="col-xs-12 col-md-3">
<section class="box wf-100">
<div class="inner">
<a class="button" href="<?= \phpOMS\Uri\UriFactory::build('{/prefix}riskmanagement/risk/create'); ?>"><?= $this->getHtml('NewRisk') ?></a>
</div>
</section>
<section class="box wf-100">
<header><h1><?= $this->getHtml('Statistics') ?></h1></header>
<div class="inner">
<table class="list">
<thead>
<tr>
<th><?= $this->getHtml('Risks') ?>
<td>0
<tr>
<th><?= $this->getHtml('Causes') ?>
<td>0
<tr>
<th><?= $this->getHtml('Solutions') ?>
<td>0
<tr>
<th><?= $this->getHtml('Department') ?>
<td>0
<tr>
<th><?= $this->getHtml('Category') ?>
<td>0
<tr>
<th><?= $this->getHtml('Process') ?>
<td>0
<tr>
<th><?= $this->getHtml('Project') ?>
<td>0
<tr>
<th><?= $this->getHtml('Total') ?>
<td>0
</table>
</div>
</section>
</div>
</div>