Your IP : 216.73.216.43


Current Path : /home/u4uwebca/public_html/pano.4uweb.ca/ViewTemplates/Setup/
Upload File :
Current File : /home/u4uwebca/public_html/pano.4uweb.ca/ViewTemplates/Setup/default.php

<?php
/**
 * @package   panopticon
 * @copyright Copyright (c)2023-2024 Nicholas K. Dionysopoulos / Akeeba Ltd
 * @license   https://www.gnu.org/licenses/agpl-3.0.txt GNU Affero General Public License, version 3 or later
 */

defined('AKEEBA') || die;

use Awf\Uri\Uri;

/** @var \Akeeba\Panopticon\View\Setup\Html $this */

// Approximate header and footer height, depending on the debug state. This helps center the message vertically, without making the page scroll
$headAndFootHeight = (defined('AKEEBADEBUG') && AKEEBADEBUG) ? '13em' : '11em';
?>

<div class="d-flex flex-column justify-content-center" style="min-height: calc(100vh - <?= $headAndFootHeight ?>)">
	<div class="px-4 py-5 my-5 text-center">
		<img class="d-block mx-auto mb-4" src="<?= Uri::base() ?>media/images/logo_colour.svg" alt="" aria-hidden="true" style="height: 4em">
		<h3 class="display-5 fw-bold">
			<?= $this->getLanguage()->sprintf('PANOPTICON_SETUP_LBL_HEAD_WELCOME', $this->getLanguage()->text('PANOPTICON_APP_TITLE_SHORT')) ?>
		</h3>
		<div class="col-lg-6 mx-auto">
			<p class="lead mb-4">
				<?= $this->getLanguage()->text('PANOPTICON_SETUP_LBL_WELCOME_HERO_TEXT') ?>
			</p>
			<form action="<?= $this->container->router->route('index.php?view=setup') ?>"
				  class="mb-4"
				  method="GET" id="adminForm">
				<label for="language" class="visually-hidden">
					<?= $this->container->language->text('PANOPTICON_LOGIN_LBL_LANGUAGE') ?>
				</label>
				<?= $this->getContainer()->helper->setup->languageOptions(
					$this->getContainer()->segment->get('panopticon.forced_language', ''),
					name: 'language',
					id: 'language',
					attribs: [
						'class' => 'form-select akeebaGridViewAutoSubmitOnChange',
						'style' => 'width: min(19em, 100%); margin-left: calc(50% - min(9.5em, 50%))',
					],
					addUseDefault: true,
					namesAlsoInEnglish: false
				) ?>
			</form>
			<div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
				<a href="<?= $this->container->router->route('index.php?view=setup&task=precheck&layout=precheck') ?>" role="button" class="btn btn-primary btn-lg px-4 gap-3">
					<span class="fa fa-chevron-circle-right" aria-hidden="true"></span>
					<?= $this->getLanguage()->text('PANOPTICON_SETUP_BTN_LETS_GO') ?>
				</a>
			</div>
		</div>
	</div>
</div>