icingaweb2/modules/setup/application/views/scripts/index/parts/finish.phtml

42 lines
1.2 KiB
PHTML

<div id="setup-finish">
<div class="report">
<?php $firstLine = true; ?>
<?php foreach ($report as $entry): ?>
<?php if ($entry): ?>
<?php if (false === $firstLine): ?>
<div class="line-separator"></div>
<?php endif ?>
<?= $entry; ?>
<?php $firstLine = false; ?>
<?php endif ?>
<?php endforeach ?>
<?php if ($success): ?>
<p class="success"><?= $this->translate('Congratulations! Icinga Web 2 has been successfully set up.'); ?></p>
<?php else: ?>
<p class="failure"><?= $this->translate('Sorry! Failed to set up Icinga Web 2 successfully.'); ?></p>
<?php endif ?>
</div>
<div class="buttons">
<?php if ($success): ?>
<?= $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')
)
); ?>
<?php else: ?>
<?= $this->qlink(
$this->translate('Back'),
null,
null,
array(
'class' => 'button-like',
'title' => $this->translate('Show previous wizard-page')
)
); ?>
<?php endif ?>
</div>
</div>