about: List loaded libraries
This commit is contained in:
parent
e9fa9d95dd
commit
7af8bf351c
|
@ -12,6 +12,7 @@ class AboutController extends Controller
|
|||
public function indexAction()
|
||||
{
|
||||
$this->view->version = Version::get();
|
||||
$this->view->libraries = Icinga::app()->getLibraries();
|
||||
$this->view->modules = Icinga::app()->getModuleManager()->getLoadedModules();
|
||||
$this->view->title = $this->translate('About');
|
||||
$this->view->tabs = $this->getTabs()->add(
|
||||
|
|
|
@ -94,7 +94,27 @@
|
|||
)
|
||||
) ?>
|
||||
</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">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
/*! Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
|
||||
|
||||
#about {
|
||||
h2 {
|
||||
margin-top: 2.5em;
|
||||
}
|
||||
|
||||
.about-social i {
|
||||
font-size: 1.7em;
|
||||
color: @text-color;
|
||||
|
|
Loading…
Reference in New Issue