mirror of
https://github.com/Karaka-Management/oms-Monitoring.git
synced 2026-02-09 22:18:41 +00:00
update settings
This commit is contained in:
parent
75a9c9738a
commit
5ec0bb35ae
|
|
@ -14,7 +14,7 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Monitoring\Controller;
|
namespace Modules\Monitoring\Controller;
|
||||||
|
|
||||||
use Model\SettingsEnum;
|
use Modules\Admin\Models\SettingsEnum;
|
||||||
use Modules\Admin\Models\AccountMapper;
|
use Modules\Admin\Models\AccountMapper;
|
||||||
use phpOMS\Contract\RenderableInterface;
|
use phpOMS\Contract\RenderableInterface;
|
||||||
use phpOMS\Message\Mail\Email;
|
use phpOMS\Message\Mail\Email;
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
<div class="portlet">
|
<div class="portlet">
|
||||||
<div class="portlet-head"><?= $this->getHtml('Inspection'); ?><i class="fa fa-download floatRight download btn"></i></div>
|
<div class="portlet-head"><?= $this->getHtml('Inspection'); ?><i class="fa fa-download floatRight download btn"></i></div>
|
||||||
|
<div class="slider">
|
||||||
<table id="fileList" class="default">
|
<table id="fileList" class="default">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -171,8 +172,10 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td><?= $integrity ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
<td><?= $integrity ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php
|
<?php
|
||||||
$files = Directory::listByExtension(__DIR__ . '/../../../../Modules/', 'php', 'tests(\/|\\\)');
|
$files = Directory::listByExtension(__DIR__ . '/../../../../Modules/', 'php', 'tests(\/|\\\)');
|
||||||
foreach ($files as $file) : $content = \file_get_contents(__DIR__ . '/../../../../Modules/' . $file); ?>
|
foreach ($files as $file) :
|
||||||
|
$content = \file_get_contents(__DIR__ . '/../../../../Modules/' . $file);
|
||||||
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= ($unicode = PhpCode::hasUnicode($content)) || ($deprecated = PhpCode::hasDeprecatedFunction($content)) || !($integrity = PhpCode::validateFileIntegrity(
|
<td><?= ($unicode = PhpCode::hasUnicode($content)) || ($deprecated = PhpCode::hasDeprecatedFunction($content)) || !($integrity = PhpCode::validateFileIntegrity(
|
||||||
__DIR__ . '/../../../../Modules/' . $file,
|
__DIR__ . '/../../../../Modules/' . $file,
|
||||||
|
|
@ -185,6 +188,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td><?= $integrity ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
<td><?= $integrity ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user