Restructured the view/js/css files (flatter file structure)
This commit is contained in:
parent
e034404937
commit
f1849e3a16
90 changed files with 103 additions and 103 deletions
|
@ -52,7 +52,7 @@ class Admins extends EA_Controller {
|
|||
|
||||
$role_slug = session('role_slug');
|
||||
|
||||
$this->load->view('pages/admins/admins_page', [
|
||||
$this->load->view('pages/admins_page', [
|
||||
'page_title' => lang('admins'),
|
||||
'active_menu' => PRIV_USERS,
|
||||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
|
|
|
@ -105,7 +105,7 @@ class Backend extends EA_Controller {
|
|||
$view['edit_appointment'] = NULL;
|
||||
}
|
||||
|
||||
$this->load->view('pages/calendar/calendar_page', $view);
|
||||
$this->load->view('pages/calendar_page', $view);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -208,7 +208,7 @@ class Backend extends EA_Controller {
|
|||
|
||||
$this->set_user_data($view);
|
||||
|
||||
$this->load->view('pages/customers/customers_page', $view);
|
||||
$this->load->view('pages/customers_page', $view);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -241,7 +241,7 @@ class Backend extends EA_Controller {
|
|||
$view['timezones'] = $this->timezones->to_array();
|
||||
$this->set_user_data($view);
|
||||
|
||||
$this->load->view('pages/services/services_page', $view);
|
||||
$this->load->view('pages/services_page', $view);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -276,7 +276,7 @@ class Backend extends EA_Controller {
|
|||
$view['working_plan_exceptions'] = '{}';
|
||||
$this->set_user_data($view);
|
||||
|
||||
$this->load->view('pages/users/users_page', $view);
|
||||
$this->load->view('pages/users_page', $view);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -320,7 +320,7 @@ class Backend extends EA_Controller {
|
|||
|
||||
$this->set_user_data($view);
|
||||
|
||||
$this->load->view('pages/settings/settings_page', $view);
|
||||
$this->load->view('pages/settings_page', $view);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -350,6 +350,6 @@ class Backend extends EA_Controller {
|
|||
$view = ['success' => FALSE, 'exception' => $e->getMessage()];
|
||||
}
|
||||
|
||||
$this->load->view('pages/instance/instance_update_page', $view);
|
||||
$this->load->view('pages/instance_update_page', $view);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -110,7 +110,7 @@ class Booking extends EA_Controller {
|
|||
if (empty($results))
|
||||
{
|
||||
// The requested appointment was not found in the database.
|
||||
$this->load->view('pages/booking/booking_message_page', [
|
||||
$this->load->view('pages/booking_message_page', [
|
||||
'message_title' => lang('appointment_not_found'),
|
||||
'message_text' => lang('appointment_does_not_exist_in_db'),
|
||||
'message_icon' => base_url('assets/img/error.png')
|
||||
|
@ -130,7 +130,7 @@ class Booking extends EA_Controller {
|
|||
$hours = floor($book_advance_timeout / 60);
|
||||
$minutes = ($book_advance_timeout % 60);
|
||||
|
||||
$this->load->view('pages/booking/booking_message_page', [
|
||||
$this->load->view('pages/booking_message_page', [
|
||||
'message_title' => lang('appointment_locked'),
|
||||
'message_text' => strtr(lang('appointment_locked_message'), [
|
||||
'{$limit}' => sprintf('%02d:%02d', $hours, $minutes)
|
||||
|
@ -163,7 +163,7 @@ class Booking extends EA_Controller {
|
|||
$customer = [];
|
||||
}
|
||||
|
||||
$this->load->view('pages/booking/booking_page', [
|
||||
$this->load->view('pages/booking_page', [
|
||||
'available_services' => $available_services,
|
||||
'available_providers' => $available_providers,
|
||||
'company_name' => $company_name,
|
||||
|
@ -238,7 +238,7 @@ class Booking extends EA_Controller {
|
|||
$exceptions[] = $e;
|
||||
}
|
||||
|
||||
$this->load->view('pages/booking/booking_message_page', [
|
||||
$this->load->view('pages/booking_message_page', [
|
||||
'message_title' => lang('appointment_cancelled_title'),
|
||||
'message_text' => lang('appointment_cancelled'),
|
||||
'message_icon' => base_url('assets/img/success.png'),
|
||||
|
@ -278,7 +278,7 @@ class Booking extends EA_Controller {
|
|||
|
||||
$exceptions = $this->session->flashdata('book_success') ?? [];
|
||||
|
||||
$this->load->view('pages/booking/booking_success_page', [
|
||||
$this->load->view('pages/booking_success_page', [
|
||||
'page_title' => lang('success'),
|
||||
'appointment_data' => $appointment,
|
||||
'provider_data' => [
|
||||
|
|
|
@ -95,7 +95,7 @@ class Calendar extends EA_Controller {
|
|||
$this->appointments_model->load($edit_appointment, ['customer']);
|
||||
}
|
||||
|
||||
$this->load->view('pages/calendar/calendar_page', [
|
||||
$this->load->view('pages/calendar_page', [
|
||||
'page_title' => lang('calendar'),
|
||||
'active_menu' => PRIV_APPOINTMENTS,
|
||||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
|
|
|
@ -53,7 +53,7 @@ class Customers extends EA_Controller {
|
|||
|
||||
$role_slug = session('role_slug');
|
||||
|
||||
$this->load->view('pages/customers/customers_page', [
|
||||
$this->load->view('pages/customers_page', [
|
||||
'page_title' => lang('customers'),
|
||||
'active_menu' => PRIV_CUSTOMERS,
|
||||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
|
|
|
@ -46,7 +46,7 @@ class Installation extends EA_Controller {
|
|||
return;
|
||||
}
|
||||
|
||||
$this->load->view('pages/instance/instance_installation_page', [
|
||||
$this->load->view('pages/instance_installation_page', [
|
||||
'base_url' => config('base_url')
|
||||
]);
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ class Providers extends EA_Controller {
|
|||
|
||||
$role_slug = session('role_slug');
|
||||
|
||||
$this->load->view('pages/providers/providers_page', [
|
||||
$this->load->view('pages/providers_page', [
|
||||
'page_title' => lang('providers'),
|
||||
'active_menu' => PRIV_USERS,
|
||||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
|
|
|
@ -53,7 +53,7 @@ class Secretaries extends EA_Controller {
|
|||
|
||||
$role_slug = session('role_slug');
|
||||
|
||||
$this->load->view('pages/secretaries/secretaries_page', [
|
||||
$this->load->view('pages/secretaries_page', [
|
||||
'page_title' => lang('secretaries'),
|
||||
'active_menu' => PRIV_USERS,
|
||||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
|
|
|
@ -52,7 +52,7 @@ class Service_categories extends EA_Controller {
|
|||
|
||||
$role_slug = session('role_slug');
|
||||
|
||||
$this->load->view('pages/service_categories/service_categories_page', [
|
||||
$this->load->view('pages/service_categories_page', [
|
||||
'page_title' => lang('services'),
|
||||
'active_menu' => PRIV_SERVICES,
|
||||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
|
|
|
@ -52,7 +52,7 @@ class Services extends EA_Controller {
|
|||
|
||||
$role_slug = session('role_slug');
|
||||
|
||||
$this->load->view('pages/services/services_page', [
|
||||
$this->load->view('pages/services_page', [
|
||||
'page_title' => lang('services'),
|
||||
'active_menu' => PRIV_SERVICES,
|
||||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
|
|
|
@ -43,7 +43,7 @@ class User extends EA_Controller {
|
|||
*/
|
||||
public function login()
|
||||
{
|
||||
$this->load->view('pages/account/account_login_page', [
|
||||
$this->load->view('pages/account_login_page', [
|
||||
'base_url' => config('base_url'),
|
||||
'company_name' => setting('company_name'),
|
||||
'dest_url' => session('dest_url', site_url('backend'))
|
||||
|
@ -57,7 +57,7 @@ class User extends EA_Controller {
|
|||
{
|
||||
$this->session->sess_destroy();
|
||||
|
||||
$this->load->view('pages/account/account_logout_page', [
|
||||
$this->load->view('pages/account_logout_page', [
|
||||
'base_url' => config('base_url'),
|
||||
'company_name' => setting('company_name')
|
||||
]);
|
||||
|
@ -68,7 +68,7 @@ class User extends EA_Controller {
|
|||
*/
|
||||
public function forgot_password()
|
||||
{
|
||||
$this->load->view('pages/account/account_recovery_page', [
|
||||
$this->load->view('pages/account_recovery_page', [
|
||||
'base_url' => config('base_url'),
|
||||
'company_name' => setting('company_name')
|
||||
]);
|
||||
|
@ -79,7 +79,7 @@ class User extends EA_Controller {
|
|||
*/
|
||||
public function no_permissions()
|
||||
{
|
||||
$this->load->view('user/no_privileges', [
|
||||
$this->load->view('pages/account_no_permissions_page', [
|
||||
'base_url' => config('base_url'),
|
||||
'company_name' => setting('company_name')
|
||||
]);
|
||||
|
|
|
@ -68,7 +68,7 @@ class About extends EA_Controller {
|
|||
|
||||
$role_slug = session('role_slug');
|
||||
|
||||
$this->load->view('pages/settings/about/about_page', [
|
||||
$this->load->view('pages/settings/about_page', [
|
||||
'page_title' => lang('settings'),
|
||||
'active_menu' => PRIV_SYSTEM_SETTINGS,
|
||||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
|
|
|
@ -68,7 +68,7 @@ class Business_logic extends EA_Controller {
|
|||
|
||||
$role_slug = session('role_slug');
|
||||
|
||||
$this->load->view('pages/settings/business_logic/business_logic_page', [
|
||||
$this->load->view('pages/settings/business_logic_page', [
|
||||
'page_title' => lang('settings'),
|
||||
'active_menu' => PRIV_SYSTEM_SETTINGS,
|
||||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
|
|
|
@ -68,7 +68,7 @@ class Client_form extends EA_Controller {
|
|||
|
||||
$role_slug = session('role_slug');
|
||||
|
||||
$this->load->view('pages/settings/client_form/client_form_page', [
|
||||
$this->load->view('pages/settings/client_form_page', [
|
||||
'page_title' => lang('settings'),
|
||||
'active_menu' => PRIV_SYSTEM_SETTINGS,
|
||||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
|
|
|
@ -68,7 +68,7 @@ class Current_user extends EA_Controller {
|
|||
|
||||
$role_slug = session('role_slug');
|
||||
|
||||
$this->load->view('pages/settings/current_user/current_user_page', [
|
||||
$this->load->view('pages/settings/current_user_page', [
|
||||
'page_title' => lang('settings'),
|
||||
'active_menu' => PRIV_SYSTEM_SETTINGS,
|
||||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
|
|
|
@ -68,7 +68,7 @@ class General extends EA_Controller {
|
|||
|
||||
$role_slug = session('role_slug');
|
||||
|
||||
$this->load->view('pages/settings/general/general_page', [
|
||||
$this->load->view('pages/settings/general_page', [
|
||||
'page_title' => lang('settings'),
|
||||
'active_menu' => PRIV_SYSTEM_SETTINGS,
|
||||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
|
|
|
@ -68,7 +68,7 @@ class Legal_contents extends EA_Controller {
|
|||
|
||||
$role_slug = session('role_slug');
|
||||
|
||||
$this->load->view('pages/settings/legal_contents/legal_contents_page', [
|
||||
$this->load->view('pages/settings/legal_contents_page', [
|
||||
'page_title' => lang('settings'),
|
||||
'active_menu' => PRIV_SYSTEM_SETTINGS,
|
||||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
|
|
|
@ -232,7 +232,7 @@ class Migration_Specific_calendar_sync extends EA_Migration {
|
|||
]);
|
||||
$this->dbforge->add_key('id', TRUE);
|
||||
$this->dbforge->add_key('id_service_categories');
|
||||
$this->dbforge->create_table('service_categories', TRUE, ['engine' => 'InnoDB']);
|
||||
$this->dbforge->create_table('Categories', TRUE, ['engine' => 'InnoDB']);
|
||||
|
||||
$this->dbforge->add_field([
|
||||
'id' => [
|
||||
|
@ -395,7 +395,7 @@ class Migration_Specific_calendar_sync extends EA_Migration {
|
|||
|
||||
$this->db->query('
|
||||
ALTER TABLE `' . $this->db->dbprefix('services') . '`
|
||||
ADD CONSTRAINT `' . $this->db->dbprefix('services') . '_ibfk_1` FOREIGN KEY (`id_service_categories`) REFERENCES `' . $this->db->dbprefix('service_categories') . '` (`id`) ON DELETE SET NULL ON UPDATE CASCADE;
|
||||
ADD CONSTRAINT `' . $this->db->dbprefix('services') . '_ibfk_1` FOREIGN KEY (`id_service_categories`) REFERENCES `' . $this->db->dbprefix('Categories') . '` (`id`) ON DELETE SET NULL ON UPDATE CASCADE;
|
||||
');
|
||||
|
||||
$this->db->query('
|
||||
|
@ -494,7 +494,7 @@ class Migration_Specific_calendar_sync extends EA_Migration {
|
|||
$this->dbforge->drop_table('roles');
|
||||
$this->dbforge->drop_table('secretaries_providers');
|
||||
$this->dbforge->drop_table('services');
|
||||
$this->dbforge->drop_table('service_categories');
|
||||
$this->dbforge->drop_table('Categories');
|
||||
$this->dbforge->drop_table('services_providers');
|
||||
$this->dbforge->drop_table('settings');
|
||||
$this->dbforge->drop_table('user_settings');
|
||||
|
|
|
@ -157,7 +157,7 @@ class Migration_Change_column_types extends EA_Migration {
|
|||
]
|
||||
];
|
||||
|
||||
$this->dbforge->modify_column('service_categories', $fields);
|
||||
$this->dbforge->modify_column('Categories', $fields);
|
||||
|
||||
// Settings
|
||||
$fields = [
|
||||
|
@ -210,7 +210,7 @@ class Migration_Change_column_types extends EA_Migration {
|
|||
ADD CONSTRAINT `fk_' . $this->db->dbprefix('secretaries_providers') . '_2` FOREIGN KEY (`id_users_provider`) REFERENCES `' . $this->db->dbprefix('users') . '` (`id`) ON DELETE CASCADE ON UPDATE CASCADE');
|
||||
|
||||
$this->db->query('ALTER TABLE `' . $this->db->dbprefix('services') . '`
|
||||
ADD CONSTRAINT `' . $this->db->dbprefix('services') . '_ibfk_1` FOREIGN KEY (`id_service_categories`) REFERENCES `' . $this->db->dbprefix('service_categories') . '` (`id`) ON DELETE SET NULL ON UPDATE CASCADE');
|
||||
ADD CONSTRAINT `' . $this->db->dbprefix('services') . '_ibfk_1` FOREIGN KEY (`id_service_categories`) REFERENCES `' . $this->db->dbprefix('Categories') . '` (`id`) ON DELETE SET NULL ON UPDATE CASCADE');
|
||||
|
||||
$this->db->query('ALTER TABLE `' . $this->db->dbprefix('services_providers') . '`
|
||||
ADD CONSTRAINT `' . $this->db->dbprefix('services_providers') . '_ibfk_1` FOREIGN KEY (`id_users`) REFERENCES `' . $this->db->dbprefix('users') . '` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||
|
@ -371,7 +371,7 @@ class Migration_Change_column_types extends EA_Migration {
|
|||
]
|
||||
];
|
||||
|
||||
$this->dbforge->modify_column('service_categories', $fields);
|
||||
$this->dbforge->modify_column('Categories', $fields);
|
||||
|
||||
// Settings
|
||||
$fields = [
|
||||
|
@ -424,7 +424,7 @@ class Migration_Change_column_types extends EA_Migration {
|
|||
ADD CONSTRAINT `fk_' . $this->db->dbprefix('secretaries_providers') . '_2` FOREIGN KEY (`id_users_provider`) REFERENCES `' . $this->db->dbprefix('users') . '` (`id`) ON DELETE CASCADE ON UPDATE CASCADE');
|
||||
|
||||
$this->db->query('ALTER TABLE `' . $this->db->dbprefix('services') . '`
|
||||
ADD CONSTRAINT `' . $this->db->dbprefix('services') . '_ibfk_1` FOREIGN KEY (`id_service_categories`) REFERENCES `' . $this->db->dbprefix('service_categories') . '` (`id`) ON DELETE SET NULL ON UPDATE CASCADE');
|
||||
ADD CONSTRAINT `' . $this->db->dbprefix('services') . '_ibfk_1` FOREIGN KEY (`id_service_categories`) REFERENCES `' . $this->db->dbprefix('Categories') . '` (`id`) ON DELETE SET NULL ON UPDATE CASCADE');
|
||||
|
||||
$this->db->query('ALTER TABLE `' . $this->db->dbprefix('services_providers') . '`
|
||||
ADD CONSTRAINT `' . $this->db->dbprefix('services_providers') . '_ibfk_1` FOREIGN KEY (`id_users`) REFERENCES `' . $this->db->dbprefix('users') . '` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||
|
|
|
@ -50,7 +50,7 @@ class Migration_Remove_prefix_from_fkey_constraints extends EA_Migration {
|
|||
ON UPDATE CASCADE');
|
||||
|
||||
$this->db->query('ALTER TABLE `' . $this->db->dbprefix('services') . '`
|
||||
ADD CONSTRAINT `services_service_categories` FOREIGN KEY (`id_service_categories`) REFERENCES `' . $this->db->dbprefix('service_categories') . '` (`id`)
|
||||
ADD CONSTRAINT `services_service_categories` FOREIGN KEY (`id_service_categories`) REFERENCES `' . $this->db->dbprefix('Categories') . '` (`id`)
|
||||
ON DELETE SET NULL
|
||||
ON UPDATE CASCADE');
|
||||
|
||||
|
@ -101,7 +101,7 @@ class Migration_Remove_prefix_from_fkey_constraints extends EA_Migration {
|
|||
ADD CONSTRAINT `fk_' . $this->db->dbprefix('secretaries_providers') . '_2` FOREIGN KEY (`id_users_provider`) REFERENCES `' . $this->db->dbprefix('users') . '` (`id`) ON DELETE CASCADE ON UPDATE CASCADE');
|
||||
|
||||
$this->db->query('ALTER TABLE `' . $this->db->dbprefix('services') . '`
|
||||
ADD CONSTRAINT `' . $this->db->dbprefix('services') . '_ibfk_1` FOREIGN KEY (`id_service_categories`) REFERENCES `' . $this->db->dbprefix('service_categories') . '` (`id`) ON DELETE SET NULL ON UPDATE CASCADE');
|
||||
ADD CONSTRAINT `' . $this->db->dbprefix('services') . '_ibfk_1` FOREIGN KEY (`id_service_categories`) REFERENCES `' . $this->db->dbprefix('Categories') . '` (`id`) ON DELETE SET NULL ON UPDATE CASCADE');
|
||||
|
||||
$this->db->query('ALTER TABLE `' . $this->db->dbprefix('services_providers') . '`
|
||||
ADD CONSTRAINT `' . $this->db->dbprefix('services_providers') . '_ibfk_1` FOREIGN KEY (`id_users`) REFERENCES `' . $this->db->dbprefix('users') . '` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<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/account_layout.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') ?>">
|
|
@ -20,7 +20,7 @@
|
|||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/vendor/trumbowyg/trumbowyg.min.css') ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/vendor/select2/select2.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/backend/backend_layout.css') ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/layouts/backend_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') ?>">
|
||||
|
@ -47,7 +47,7 @@
|
|||
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/solid.min.js') ?>"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script src="<?= asset_url('assets/js/layouts/backend/backend.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/layouts/backend.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/utils/general_functions.js') ?>"></script>
|
||||
|
||||
<?php require 'backend_header.php' ?>
|
|
@ -32,7 +32,7 @@
|
|||
<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/layouts/booking/booking_layout.css') ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/layouts/booking_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') ?>">
|
||||
|
@ -100,8 +100,8 @@
|
|||
<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/js/utils/general_functions.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/booking/frontend_book_api.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/booking/frontend_book.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/frontend_book_api.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/frontend_book.js') ?>"></script>
|
||||
|
||||
<script>
|
||||
$(function () {
|
|
@ -15,7 +15,7 @@
|
|||
<link rel="icon" href="<?= asset_url('assets/img/logo.png') ?>" sizes="192x192" type="image/png">
|
||||
<title><?= $page_title ?> | Easy!Appointments</title>
|
||||
<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/booking/booking_layout.css') ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/layouts/booking_layout.css') ?>">
|
||||
|
||||
<?php slot('meta') ?>
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/account/account_layout') ?>
|
||||
<?php extend('layouts/account_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
||||
|
@ -51,6 +51,6 @@
|
|||
<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/js/utils/general_functions.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/login.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/login.js') ?>"></script>
|
||||
|
||||
<?php section('scripts') ?>
|
|
@ -1,4 +1,4 @@
|
|||
<?php extend('layouts/account/account_layout') ?>
|
||||
<?php extend('layouts/account_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<?php extend('layouts/account/account_layout') ?>
|
||||
<?php extend('layouts/account_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<?php extend('layouts/account/account_layout') ?>
|
||||
<?php extend('layouts/account_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
|
@ -5,12 +5,12 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/backend/backend_layout') ?>
|
||||
<?php extend('layouts/backend_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
||||
<script src="<?= asset_url('assets/js/pages/admins/backend_admins_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/admins/backend_admins.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_admins_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_admins.js') ?>"></script>
|
||||
<script>
|
||||
var GlobalVariables = {
|
||||
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/message/message_layout') ?>
|
||||
<?php extend('layouts/message_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/booking/booking_layout') ?>
|
||||
<?php extend('layouts/booking_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/message/message_layout') ?>
|
||||
<?php extend('layouts/message_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/backend/backend_layout') ?>
|
||||
<?php extend('layouts/backend_layout') ?>
|
||||
|
||||
<?php section('styles') ?>
|
||||
|
||||
|
@ -33,13 +33,13 @@
|
|||
<script src="<?= asset_url('assets/vendor/jquery-jeditable/jquery.jeditable.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/vendor/jquery-ui-timepicker-addon/jquery-ui-timepicker-addon.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/components/working_plan_exceptions_modal.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/calendar/backend_calendar.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/calendar/backend_calendar_default_view.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/calendar/backend_calendar_table_view.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/calendar/backend_calendar_google_sync.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/calendar/backend_calendar_appointments_modal.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/calendar/backend_calendar_unavailability_events_modal.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/calendar/backend_calendar_api.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_calendar.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_calendar_default_view.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_calendar_table_view.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_calendar_google_sync.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_calendar_appointments_modal.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_calendar_unavailability_events_modal.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_calendar_api.js') ?>"></script>
|
||||
<script>
|
||||
var GlobalVariables = {
|
||||
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
|
|
@ -5,13 +5,13 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/backend/backend_layout') ?>
|
||||
<?php extend('layouts/backend_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
||||
<script src="<?= asset_url('assets/vendor/jquery-ui-timepicker-addon/jquery-ui-timepicker-addon.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/customers/backend_customers_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/customers/backend_customers.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_customers_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_customers.js') ?>"></script>
|
||||
<script>
|
||||
var GlobalVariables = {
|
||||
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
|
|
@ -8,7 +8,7 @@
|
|||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/vendor/bootstrap/bootstrap.min.css') ?>">
|
||||
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
|
||||
<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/pages/instance/instance_installation_page.css') ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/instance_installation_page.css') ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
|
||||
</head>
|
||||
<body>
|
|
@ -15,7 +15,7 @@
|
|||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/vendor/bootstrap/bootstrap.min.css') ?>">
|
||||
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
|
||||
<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/pages/update.css') ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/update.css') ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
|
||||
</head>
|
||||
<body>
|
|
@ -6,12 +6,12 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/backend/backend_layout') ?>
|
||||
<?php extend('layouts/backend_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
||||
<script src="<?= asset_url('assets/js/pages/providers/backend_providers_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/providers/backend_providers.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_providers_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_providers.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/utils/working_plan.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/components/working_plan_exceptions_modal.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/vendor/jquery-ui-timepicker-addon/jquery-ui-timepicker-addon.min.js') ?>"></script>
|
|
@ -6,12 +6,12 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/backend/backend_layout') ?>
|
||||
<?php extend('layouts/backend_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
||||
<script src="<?= asset_url('assets/js/pages/secretaries/backend_secretaries_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/secretaries/backend_secretaries.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_secretaries_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_secretaries.js') ?>"></script>
|
||||
<script>
|
||||
var GlobalVariables = {
|
||||
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
|
|
@ -5,12 +5,12 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/backend/backend_layout') ?>
|
||||
<?php extend('layouts/backend_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
||||
<script src="<?= asset_url('assets/js/pages/service_categories/backend_categories_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/service_categories/backend_categories.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_categories_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_categories.js') ?>"></script>
|
||||
<script>
|
||||
var GlobalVariables = {
|
||||
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
|
|
@ -5,12 +5,12 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/backend/backend_layout') ?>
|
||||
<?php extend('layouts/backend_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
||||
<script src="<?= asset_url('assets/js/pages/services/backend_services_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/services/backend_services.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_services_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_services.js') ?>"></script>
|
||||
<script>
|
||||
var GlobalVariables = {
|
||||
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
|
|
@ -4,7 +4,7 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/backend/backend_layout') ?>
|
||||
<?php extend('layouts/backend_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
|
@ -7,12 +7,12 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/backend/backend_layout') ?>
|
||||
<?php extend('layouts/backend_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
||||
<script src="<?= asset_url('assets/js/pages/settings/backend_settings_business_logic_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/settings/backend_settings_business_logic.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_settings_business_logic_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_settings_business_logic.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/utils/working_plan.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/vendor/jquery-ui-timepicker-addon/jquery-ui-timepicker-addon.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/vendor/jquery-jeditable/jquery.jeditable.min.js') ?>"></script>
|
|
@ -7,12 +7,12 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/backend/backend_layout') ?>
|
||||
<?php extend('layouts/backend_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
||||
<script src="<?= asset_url('assets/js/pages/settings/backend_settings_client_form_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/settings/backend_settings_client_form.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_settings_client_form_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_settings_client_form.js') ?>"></script>
|
||||
<script>
|
||||
var GlobalVariables = {
|
||||
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
|
|
@ -7,12 +7,12 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/backend/backend_layout') ?>
|
||||
<?php extend('layouts/backend_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
||||
<script src="<?= asset_url('assets/js/pages/settings/backend_settings_current_user_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/settings/backend_settings_current_user.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_settings_current_user_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_settings_current_user.js') ?>"></script>
|
||||
<script>
|
||||
var GlobalVariables = {
|
||||
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
|
|
@ -7,12 +7,12 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/backend/backend_layout') ?>
|
||||
<?php extend('layouts/backend_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
||||
<script src="<?= asset_url('assets/js/pages/settings/backend_settings_general_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/settings/backend_settings_general.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_settings_general_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_settings_general.js') ?>"></script>
|
||||
<script>
|
||||
var GlobalVariables = {
|
||||
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
|
|
@ -5,12 +5,12 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/backend/backend_layout') ?>
|
||||
<?php extend('layouts/backend_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
||||
<script src="<?= asset_url('assets/js/pages/settings/backend_settings_legal_contents_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/settings/backend_settings_legal_contents.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_settings_legal_contents_helper.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/pages/backend_settings_legal_contents.js') ?>"></script>
|
||||
<script>
|
||||
var GlobalVariables = {
|
||||
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
|
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php extend('layouts/backend/backend_layout') ?>
|
||||
<?php extend('layouts/backend_layout') ?>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
|
@ -370,7 +370,7 @@ body legend {
|
|||
}
|
||||
|
||||
#calendar-page #calendar .fc-unavailable {
|
||||
background-image: url('../../../img/unavailable.jpg');
|
||||
background-image: url('../../img/unavailable.jpg');
|
||||
font-size: 14px;
|
||||
border-radius: 0;
|
||||
font-weight: bold;
|
||||
|
@ -389,11 +389,11 @@ body legend {
|
|||
}
|
||||
|
||||
#calendar-page #calendar .fc-break {
|
||||
background-image: url('../../../img/break.jpg');
|
||||
background-image: url('../../img/break.jpg');
|
||||
}
|
||||
|
||||
#calendar-page #calendar .fc-custom {
|
||||
background-image: url('../../../img/custom.jpg');
|
||||
background-image: url('../../img/custom.jpg');
|
||||
}
|
||||
|
||||
#calendar-page .fc-header {
|
||||
|
@ -533,7 +533,7 @@ body .form-horizontal .controls {
|
|||
}
|
||||
|
||||
#calendar .fc-unavailable {
|
||||
background: #eaeaea url('../../../img/unavailable.jpg');
|
||||
background: #eaeaea url('../../img/unavailable.jpg');
|
||||
}
|
||||
|
||||
#calendar .calendar-view .date-column .provider-column {
|
|
@ -207,7 +207,7 @@ window.FrontendBookApi = window.FrontendBookApi || {};
|
|||
}
|
||||
|
||||
window.location.href =
|
||||
GlobalVariables.baseUrl + '/index.php/appointments/book_success/' + response.appointment_hash;
|
||||
GlobalVariables.baseUrl + '/index.php/booking/book_success/' + response.appointment_hash;
|
||||
})
|
||||
.fail(function (jqxhr, textStatus, errorThrown) {
|
||||
$('.captcha-title button').trigger('click');
|
Loading…
Reference in a new issue