iflrandevu/application/views/layouts/booking_layout.php
2022-01-17 18:02:50 +01:00

93 lines
3.5 KiB
PHP

<?php
/**
* @var string $company_name
* @var string $customer_token
* @var string $date_format
* @var string $time_format
* @var string $first_weekday
* @var bool $manage_mode
* @var array $appointment_data
* @var array $provider_data
* @var array $customer_data
* @var array $available_services
* @var array $available_providers
* @var string $display_any_provider
* @var string $display_terms_and_conditions
* @var string $display_privacy_policy
* @var string $display_cookie_notice
*/
?>
<!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">
<?php slot('meta') ?>
<title><?= lang('page_title') . ' ' . $company_name ?> | 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') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/vendor/cookieconsent/cookieconsent.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/general.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/layouts/booking_layout.css') ?>">
</head>
<body>
<div id="main" class="container">
<div class="row wrapper">
<div id="book-appointment-wizard" class="col-12 col-lg-10 col-xl-8">
<?php component('booking_header') ?>
<?php slot('content') ?>
<?php component('booking_footer') ?>
</div>
</div>
</div>
<?php if ($display_cookie_notice === '1'): ?>
<?php component('cookie_notice_modal') ?>
<?php endif ?>
<?php if ($display_terms_and_conditions === '1'): ?>
<?php component('terms_and_conditions_modal') ?>
<?php endif ?>
<?php if ($display_privacy_policy === '1'): ?>
<?php component('privacy_policy_modal') ?>
<?php endif ?>
<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/cookieconsent/cookieconsent.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>
<script src="<?= asset_url('assets/vendor/tippy.js/tippy-bundle.umd.min.js') ?>"></script>
<script src="<?= asset_url('assets/js/app.js') ?>"></script>
<script src="<?= asset_url('assets/js/layouts/booking_layout.js') ?>"></script>
<script src="<?= asset_url('assets/js/utils/general_functions.js') ?>"></script>
<?php component('js_vars_script') ?>
<?php component('js_lang_script') ?>
<?php google_analytics_script() ?>
<?php slot('scripts') ?>
</body>
</html>