icingaweb2/application/views/scripts/about/index.phtml

140 lines
4.2 KiB
PHTML
Raw Normal View History

2015-09-30 17:07:55 +02:00
<div class="controls">
2015-10-01 00:55:49 +02:00
<?= $tabs ?>
2015-09-30 17:07:55 +02:00
</div>
<div id="about" class="content content-centered">
2015-09-30 17:07:55 +02:00
<?= $this->img(
'img/logo_icinga_big_dark.png',
null,
array(
2015-10-01 00:55:49 +02:00
'width' => 320
2015-09-30 17:07:55 +02:00
)
2015-10-01 00:55:49 +02:00
) ?>
<dl class="name-value-list">
2015-09-30 17:07:55 +02:00
<?php if (isset($version['appVersion'])): ?>
2015-10-01 00:55:49 +02:00
<dt><?= $this->translate('Version') ?></dt>
<dd><?= $this->escape($version['appVersion']) ?></dd>
2015-09-30 17:07:55 +02:00
<?php endif ?>
<?php if (isset($version['gitCommitID'])): ?>
2015-10-01 00:55:49 +02:00
<dt><?= $this->translate('Git commit') ?></dt>
<dd><?= $this->escape($version['gitCommitID']) ?></dd>
2015-09-30 17:07:55 +02:00
<?php endif ?>
<?php if (isset($version['gitCommitDate'])): ?>
2015-10-01 00:55:49 +02:00
<dt><?= $this->translate('Git commit date') ?></dt>
<dd><?= $this->escape($version['gitCommitDate']) ?></dd>
2015-09-30 17:07:55 +02:00
<?php endif ?>
2015-10-01 00:55:49 +02:00
<dt><?= $this->translate('Copyright') ?></dt>
<dd>
<span>&copy; 2013-<?= date('Y') ?></span>
<?= $this->qlink(
$this->translate('The Icinga Project'),
'https://www.icinga.org',
null,
array(
'target' => '_blank'
)
) ?>
</dd>
</dl>
<div class="about-social">
2015-09-30 17:07:55 +02:00
<?= $this->qlink(
null,
'https://www.twitter.com/icinga',
null,
array(
'target' => '_blank',
'icon' => 'twitter',
2015-09-30 17:07:55 +02:00
'title' => $this->translate('Icinga on Twitter')
)
2015-10-01 00:55:49 +02:00
) ?> <?= $this->qlink(
2015-09-30 17:07:55 +02:00
null,
'https://www.facebook.com/icinga',
null,
array(
'target' => '_blank',
'icon' => 'facebook-squared',
2015-09-30 17:07:55 +02:00
'title' => $this->translate('Icinga on Facebook')
)
) ?> <?= $this->qlink(
null,
'https://plus.google.com/+icinga',
null,
array(
'target' => '_blank',
'icon' => 'google-plus-squared',
'title' => $this->translate('Icinga on Google+')
)
2015-10-01 00:55:49 +02:00
) ?>
</div>
<div class="about-links">
2015-10-01 00:55:49 +02:00
<?= $this->qlink(
null,
'https://dev.icinga.org/projects/icingaweb2',
null,
array(
'target' => '_blank',
'icon' => 'bug',
2015-10-01 00:55:49 +02:00
'title' => $this->translate('Report a bug')
)
) ?>
<?= $this->qlink(
null,
'https://www.icinga.org/services/support',
null,
array(
'target' => '_blank',
'icon' => 'chat',
2015-10-01 00:55:49 +02:00
'title' => $this->translate('Support / Mailinglists')
)
) ?>
<?= $this->qlink(
2015-09-30 17:07:55 +02:00
null,
'https://wiki.icinga.org',
null,
array(
'target' => '_blank',
'icon' => 'lightbulb',
2015-09-30 17:07:55 +02:00
'title' => $this->translate('Icinga Wiki')
)
2015-10-01 00:55:49 +02:00
) ?>
<?= $this->qlink(
2015-09-30 17:07:55 +02:00
null,
'https://docs.icinga.org/',
null,
array(
'target' => '_blank',
'icon' => 'doc-text',
2015-09-30 17:07:55 +02:00
'title' => $this->translate('Icinga Documentation')
)
2015-10-01 00:55:49 +02:00
) ?>
2015-09-30 17:07:55 +02:00
</div>
<h2><?= $this->translate('Loaded modules') ?></h2>
<table class="table-row-selectable common-table" data-base-target="_next">
2015-10-01 00:55:49 +02:00
<thead>
<tr>
<th><?= $this->translate('Name') ?></th>
<th><?= $this->translate('Version') ?></th>
</tr>
</thead>
<tbody>
<?php foreach ($modules as $module): ?>
<tr>
<td>
<?php if ($this->hasPermission('config/modules')): ?>
<?= $this->qlink(
$module->getName(),
'config/module/',
array('name' => $module->getName()),
array('title' => sprintf($this->translate('Show the overview of the %s module'), $module->getName()))
) ?>
<?php else: ?>
<?= $this->escape($module->getName()) ?>
<?php endif ?>
<td>
<?= $this->escape($module->getVersion()) ?>
</td>
</tr>
<?php endforeach ?>
</tbody>
</table>
</div>