oms-RiskManagement/Theme/backend/cockpit.tpl.php
2015-11-29 21:57:18 +01:00

93 lines
3.3 KiB
PHP

<?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>