68 lines
2.3 KiB
PHP
68 lines
2.3 KiB
PHP
<?php
|
|
/**
|
|
* @var string $base_url
|
|
* @var string $dest_url
|
|
*/
|
|
?>
|
|
|
|
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<meta name="theme-color" content="#35A768">
|
|
<title><?= lang('login') ?> | Easy!Appointments</title>
|
|
|
|
<?php slot('meta') ?>
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/vendor/jquery-ui-dist/jquery-ui.min.css') ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/bootstrap.css') ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/layouts/account_layout.css') ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
|
|
|
|
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
|
|
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
|
|
|
|
<?php slot('styles') ?>
|
|
|
|
<script src="<?= asset_url('assets/vendor/jquery/jquery.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/vendor/jquery-ui-dist/jquery-ui.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/vendor/@popperjs-core/popper.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/vendor/bootstrap/bootstrap.min.js') ?>"></script>
|
|
|
|
<script>
|
|
var GlobalVariables = {
|
|
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
|
|
baseUrl: <?= json_encode($base_url) ?>,
|
|
destUrl: <?= json_encode($dest_url) ?>,
|
|
AJAX_SUCCESS: 'SUCCESS',
|
|
AJAX_FAILURE: 'FAILURE'
|
|
};
|
|
|
|
var EALang = <?= json_encode($this->lang->language) ?>;
|
|
|
|
var availableLanguages = <?= json_encode(config('available_languages')) ?>;
|
|
|
|
$(function () {
|
|
GeneralFunctions.enableLanguageSelection($('#select-language'));
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="login-frame" class="frame-container">
|
|
|
|
<?php slot('content') ?>
|
|
|
|
<div class="mt-4">
|
|
<small>
|
|
Powered by
|
|
<a href="https://easyappointments.org">Easy!Appointments</a>
|
|
</small>
|
|
</div>
|
|
</div>
|
|
|
|
<?php slot('scripts') ?>
|
|
|
|
</body>
|
|
</html>
|