2014-11-10 10:30:52 +01:00
|
|
|
<div id="setup-finish">
|
2015-07-03 16:31:11 +02:00
|
|
|
<?php if ($success): ?>
|
|
|
|
<h2 class="success"><?= $this->translate('Congratulations! Icinga Web 2 has been successfully set up.'); ?></h2>
|
|
|
|
<?php else: ?>
|
|
|
|
<h2 class="failure"><?= $this->translate('Sorry! Failed to set up Icinga Web 2 successfully.'); ?></h2>
|
|
|
|
<?php endif ?>
|
|
|
|
<div class="buttons pull-right">
|
2014-10-17 09:18:10 +02:00
|
|
|
<?php if ($success): ?>
|
2015-02-23 17:33:23 +01:00
|
|
|
<?= $this->qlink(
|
|
|
|
$this->translate('Login to Icinga Web 2'),
|
2015-09-29 19:37:18 +02:00
|
|
|
'authentication/login?renderLayout',
|
2015-02-23 17:33:23 +01:00
|
|
|
null,
|
|
|
|
array(
|
2015-10-01 14:30:23 +02:00
|
|
|
'class' => 'button-link login',
|
2015-02-23 17:33:23 +01:00
|
|
|
'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(
|
2015-10-01 14:30:23 +02:00
|
|
|
'class' => 'button-link',
|
2015-02-23 17:33:23 +01:00
|
|
|
'title' => $this->translate('Show previous wizard-page')
|
|
|
|
)
|
|
|
|
); ?>
|
2014-10-17 09:18:10 +02:00
|
|
|
<?php endif ?>
|
|
|
|
</div>
|
2015-07-30 14:13:52 +02:00
|
|
|
<pre class="log-output"><?= join("\n\n", array_map(function($a) {
|
2015-07-03 16:31:11 +02:00
|
|
|
return join("\n", $a);
|
2015-07-30 14:13:52 +02:00
|
|
|
}, $report)); ?></pre>
|
2015-09-29 19:37:18 +02:00
|
|
|
</div>
|