2014-11-10 10:30:52 +01:00
|
|
|
<div id="setup-finish">
|
2014-10-17 09:18:10 +02:00
|
|
|
<div class="report">
|
2014-10-23 11:41:16 +02:00
|
|
|
<?php $firstLine = true; ?>
|
2014-10-17 09:18:10 +02:00
|
|
|
<?php foreach ($report as $entry): ?>
|
2014-10-28 15:12:40 +01:00
|
|
|
<?php if ($entry): ?>
|
2014-10-23 11:41:16 +02:00
|
|
|
<?php if (false === $firstLine): ?>
|
|
|
|
<div class="line-separator"></div>
|
|
|
|
<?php endif ?>
|
|
|
|
<?= $entry; ?>
|
|
|
|
<?php $firstLine = false; ?>
|
|
|
|
<?php endif ?>
|
2014-10-17 09:18:10 +02:00
|
|
|
<?php endforeach ?>
|
|
|
|
<?php if ($success): ?>
|
2015-01-20 17:39:47 +01:00
|
|
|
<p class="success"><?= $this->translate('Congratulations! Icinga Web 2 has been successfully set up.'); ?></p>
|
2014-10-17 09:18:10 +02:00
|
|
|
<?php else: ?>
|
2015-01-20 17:39:47 +01:00
|
|
|
<p class="failure"><?= $this->translate('Sorry! Failed to set up Icinga Web 2 successfully.'); ?></p>
|
2014-10-17 09:18:10 +02:00
|
|
|
<?php endif ?>
|
|
|
|
</div>
|
|
|
|
<div class="buttons">
|
|
|
|
<?php if ($success): ?>
|
2015-02-23 17:33:23 +01:00
|
|
|
<?= $this->qlink(
|
|
|
|
$this->translate('Login to Icinga Web 2'),
|
|
|
|
'authentication/login',
|
|
|
|
null,
|
|
|
|
array(
|
|
|
|
'class' => 'button-like login',
|
|
|
|
'title' => $this->translate('Show the login page of Icinga Web 2')
|
|
|
|
)
|
|
|
|
); ?>
|
2014-10-17 09:18:10 +02:00
|
|
|
<?php else: ?>
|
2015-02-23 17:33:23 +01:00
|
|
|
<?= $this->qlink(
|
|
|
|
$this->translate('Back'),
|
|
|
|
null,
|
|
|
|
null,
|
|
|
|
array(
|
|
|
|
'class' => 'button-like',
|
|
|
|
'title' => $this->translate('Show previous wizard-page')
|
|
|
|
)
|
|
|
|
); ?>
|
2014-10-17 09:18:10 +02:00
|
|
|
<?php endif ?>
|
|
|
|
</div>
|
2014-10-06 16:49:29 +02:00
|
|
|
</div>
|