iflrandevu/application/views/layouts/account_layout.php

80 lines
2.9 KiB
PHP
Raw Normal View History

<?php
/**
* @var string $base_url
* @var string $dest_url
*/
?>
<!doctype html>
<html lang="en">
<head>
2017-09-05 15:58:34 +03:00
<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">
<?php slot('meta') ?>
2021-12-11 00:21:44 +03:00
<title><?= lang('login') ?> | Easy!Appointments</title>
<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') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/vendor/jquery-ui-dist/jquery-ui.min.css') ?>">
2021-11-25 11:24:07 +03:00
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/bootstrap.css') ?>">
2020-12-09 15:17:45 +03:00
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
2021-12-11 00:21:44 +03:00
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/layouts/account_layout.css') ?>">
<?php slot('styles') ?>
</head>
<body>
2020-12-09 15:17:45 +03:00
<div id="login-frame" class="frame-container">
2021-11-15 11:48:51 +03:00
<?php slot('content') ?>
<div class="mt-4">
<small>
Powered by
<a href="https://easyappointments.org">Easy!Appointments</a>
</small>
</div>
2020-12-09 15:17:45 +03:00
</div>
2021-12-11 00:21:44 +03:00
<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/jquery-ui-touch-punch/jquery.ui.touch-punch.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 src="<?= asset_url('assets/vendor/moment/moment.min.js') ?>"></script>
<script src="<?= asset_url('assets/vendor/moment-timezone/moment-timezone-with-data.min.js') ?>"></script>
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/fontawesome.min.js') ?>"></script>
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/solid.min.js') ?>"></script>
2021-12-13 09:41:02 +03:00
<script src="<?= asset_url('assets/js/app.js') ?>"></script>
<script src="<?= asset_url('assets/js/layouts/account_layout.js') ?>"></script>
<script src="<?= asset_url('assets/js/utils/general_functions.js') ?>"></script>
<?php component('js_vars_script') ?>
<?php component('js_lang_script') ?>
2021-12-11 00:21:44 +03:00
<script>
const GlobalVariables = {
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
baseUrl: <?= json_encode($base_url) ?>,
destUrl: <?= json_encode($dest_url ?? '') ?>,
2021-12-11 00:21:44 +03:00
AJAX_SUCCESS: 'SUCCESS',
AJAX_FAILURE: 'FAILURE'
};
const availableLanguages = <?= json_encode(config('available_languages')) ?>;
$(function () {
GeneralFunctions.enableLanguageSelection($('#select-language'));
});
</script>
<?php slot('scripts') ?>
</body>
</html>