mirror of
https://github.com/Karaka-Management/oms-Monitoring.git
synced 2026-02-14 16:28:40 +00:00
fix urls
This commit is contained in:
parent
3848a4ef67
commit
4ca38edc6d
|
|
@ -5,7 +5,7 @@
|
||||||
"type": 2,
|
"type": 2,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Monitoring",
|
"name": "Monitoring",
|
||||||
"uri": "{/prefix}admin/monitoring/general?{?}",
|
"uri": "{/lang}/{/app}/admin/monitoring/general?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 50,
|
"order": 50,
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Dashboard",
|
"name": "Dashboard",
|
||||||
"uri": "{/prefix}admin/monitoring/general?{?}",
|
"uri": "{/lang}/{/app}/admin/monitoring/general?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 1,
|
"order": 1,
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Logs",
|
"name": "Logs",
|
||||||
"uri": "{/prefix}admin/monitoring/log/list",
|
"uri": "{/lang}/{/app}/admin/monitoring/log/list",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 5,
|
"order": 5,
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Security",
|
"name": "Security",
|
||||||
"uri": "{/prefix}admin/monitoring/security/dashboard?{?}",
|
"uri": "{/lang}/{/app}/admin/monitoring/security/dashboard?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 5,
|
"order": 5,
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td class="wf-100"><?= $this->getHtml('Message'); ?>
|
<td class="wf-100"><?= $this->getHtml('Message'); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php foreach ($logs as $key => $value) :
|
<?php foreach ($logs as $key => $value) :
|
||||||
$url = \phpOMS\Uri\UriFactory::build('admin/monitoring/log/single?{?}&id=' . $key); ?>
|
$url = \phpOMS\Uri\UriFactory::build('{/lang}/{/app}/admin/monitoring/log/single?{?}&id=' . $key); ?>
|
||||||
<tr data-href="<?= $url; ?>">
|
<tr data-href="<?= $url; ?>">
|
||||||
<td><a href=<?= $url; ?>><i class="fa fa-clock-o"></i> <?= $this->printHtml($value[0] ?? ''); ?></a>
|
<td><a href=<?= $url; ?>><i class="fa fa-clock-o"></i> <?= $this->printHtml($value[0] ?? ''); ?></a>
|
||||||
<td><a href=<?= $url; ?>><i class="fa fa-<?= $this->printHtml(\in_array($value[1], ['notice', 'info', 'debug']) ? 'info-circle' : 'warning'); ?>"></i> <?= $this->printHtml($value[1] ?? ''); ?></a>
|
<td><a href=<?= $url; ?>><i class="fa fa-<?= $this->printHtml(\in_array($value[1], ['notice', 'info', 'debug']) ? 'info-circle' : 'warning'); ?>"></i> <?= $this->printHtml($value[1] ?? ''); ?></a>
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
},
|
},
|
||||||
"creator": {
|
"creator": {
|
||||||
"name": "Karaka",
|
"name": "Karaka",
|
||||||
"website": "www.spl1nes.com"
|
"website": "jingga.app"
|
||||||
},
|
},
|
||||||
"description": "The administration module.",
|
"description": "The administration module.",
|
||||||
"directory": "Monitoring",
|
"directory": "Monitoring",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user