mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
about: List loaded libraries
This commit is contained in:
parent
e9fa9d95dd
commit
7af8bf351c
@ -12,6 +12,7 @@ class AboutController extends Controller
|
|||||||
public function indexAction()
|
public function indexAction()
|
||||||
{
|
{
|
||||||
$this->view->version = Version::get();
|
$this->view->version = Version::get();
|
||||||
|
$this->view->libraries = Icinga::app()->getLibraries();
|
||||||
$this->view->modules = Icinga::app()->getModuleManager()->getLoadedModules();
|
$this->view->modules = Icinga::app()->getModuleManager()->getLoadedModules();
|
||||||
$this->view->title = $this->translate('About');
|
$this->view->title = $this->translate('About');
|
||||||
$this->view->tabs = $this->getTabs()->add(
|
$this->view->tabs = $this->getTabs()->add(
|
||||||
|
@ -94,7 +94,27 @@
|
|||||||
)
|
)
|
||||||
) ?>
|
) ?>
|
||||||
</div>
|
</div>
|
||||||
<h2><?= $this->translate('Loaded modules') ?></h2>
|
<h2><?= $this->translate('Loaded Libraries') ?></h2>
|
||||||
|
<table class="table-row-selectable common-table" data-base-target="_next">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th><?= $this->translate('Name') ?></th>
|
||||||
|
<th><?= $this->translate('Version') ?></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<?php foreach ($libraries as $library): ?>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<?= $this->escape($library->getName()) ?>
|
||||||
|
<td>
|
||||||
|
<?= $this->escape($library->getVersion()) ?: '-' ?>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<?php endforeach ?>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<h2><?= $this->translate('Loaded Modules') ?></h2>
|
||||||
<table class="table-row-selectable common-table" data-base-target="_next">
|
<table class="table-row-selectable common-table" data-base-target="_next">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
/*! Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
|
/*! Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
|
||||||
|
|
||||||
#about {
|
#about {
|
||||||
|
h2 {
|
||||||
|
margin-top: 2.5em;
|
||||||
|
}
|
||||||
|
|
||||||
.about-social i {
|
.about-social i {
|
||||||
font-size: 1.7em;
|
font-size: 1.7em;
|
||||||
color: @text-color;
|
color: @text-color;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user