mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +03:00
bootstrap 4 and font awesome
This commit is contained in:
parent
80b53b2dd0
commit
f2b97402fd
49 changed files with 13864 additions and 3140 deletions
|
@ -14,6 +14,7 @@
|
|||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/cookieconsent/cookieconsent.min.css') ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/frontend.css') ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
|
||||
<script src="https://kit.fontawesome.com/bdcbd8a000.js" crossorigin="anonymous"></script>
|
||||
|
||||
<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') ?>">
|
||||
|
@ -21,8 +22,8 @@
|
|||
|
||||
<body>
|
||||
<div id="main" class="container">
|
||||
<div class="wrapper row">
|
||||
<div id="book-appointment-wizard" class="col-xs-12 col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
|
||||
<div class="wrapper row d-md-flex align-items-center justify-content-center">
|
||||
<div id="book-appointment-wizard" class="col-xs-12 col-md-10 col-lg-8">
|
||||
|
||||
<!-- FRAME TOP BAR -->
|
||||
|
||||
|
@ -48,23 +49,23 @@
|
|||
|
||||
<?php if ($manage_mode): ?>
|
||||
<div id="cancel-appointment-frame" class="booking-header-bar row">
|
||||
<div class="col-xs-12 col-sm-10">
|
||||
<div class="col-xs-12 col-md-10">
|
||||
<p><?= lang('cancel_appointment_hint') ?></p>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-2">
|
||||
<div class="col-xs-12 col-md-2">
|
||||
<form id="cancel-appointment-form" method="post"
|
||||
action="<?= site_url('appointments/cancel/' . $appointment_data['hash']) ?>">
|
||||
<input type="hidden" name="csrfToken" value="<?= $this->security->get_csrf_hash() ?>" />
|
||||
<textarea name="cancel_reason" style="display:none"></textarea>
|
||||
<button id="cancel-appointment" class="btn btn-default btn-sm"><?= lang('cancel') ?></button>
|
||||
<button id="cancel-appointment" class="btn btn-light btn-sm"><?= lang('cancel') ?></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="booking-header-bar row">
|
||||
<div class="col-xs-12 col-sm-10">
|
||||
<div class="col-xs-12 col-md-10">
|
||||
<p><?= lang('delete_personal_information_hint') ?></p>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-2">
|
||||
<div class="col-xs-12 col-md-2">
|
||||
<button id="delete-personal-information" class="btn btn-danger btn-sm"><?= lang('delete') ?></button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -93,7 +94,7 @@
|
|||
<strong><?= lang('select_service') ?></strong>
|
||||
</label>
|
||||
|
||||
<select id="select-service" class="col-xs-12 col-sm-4 form-control">
|
||||
<select id="select-service" class="form-control">
|
||||
<?php
|
||||
// Group services by category, only if there is at least one service with a parent category.
|
||||
$has_category = FALSE;
|
||||
|
@ -153,7 +154,7 @@
|
|||
<strong><?= lang('select_provider') ?></strong>
|
||||
</label>
|
||||
|
||||
<select id="select-provider" class="col-xs-12 col-sm-4 form-control"></select>
|
||||
<select id="select-provider" class="form-control"></select>
|
||||
</div>
|
||||
|
||||
<div id="service-description" style="display:none;"></div>
|
||||
|
@ -161,10 +162,10 @@
|
|||
</div>
|
||||
|
||||
<div class="command-buttons">
|
||||
<button type="button" id="button-next-1" class="btn button-next btn-primary"
|
||||
<button type="button" id="button-next-1" class="btn button-next btn-info"
|
||||
data-step_index="1">
|
||||
<?= lang('next') ?>
|
||||
<span class="glyphicon glyphicon-forward"></span>
|
||||
<i class="fas fa-long-arrow-alt-right"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -177,11 +178,11 @@
|
|||
<h3 class="frame-title"><?= lang('step_two_title') ?></h3>
|
||||
|
||||
<div class="frame-content row">
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="col-xs-12 col-md-7 pl-0">
|
||||
<div id="select-date"></div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="col-xs-12 col-sm-5 px-0">
|
||||
<label for="select-timezone"><?= lang('timezone') ?></label>
|
||||
<?= render_timezone_dropdown('id="select-timezone" class="form-control" value="UTC"'); ?>
|
||||
|
||||
|
@ -191,15 +192,15 @@
|
|||
</div>
|
||||
|
||||
<div class="command-buttons">
|
||||
<button type="button" id="button-back-2" class="btn button-back btn-default"
|
||||
<button type="button" id="button-back-2" class="btn button-back btn-light"
|
||||
data-step_index="2">
|
||||
<span class="glyphicon glyphicon-backward"></span>
|
||||
<i class="fas fa-long-arrow-alt-left"></i>
|
||||
<?= lang('back') ?>
|
||||
</button>
|
||||
<button type="button" id="button-next-2" class="btn button-next btn-primary"
|
||||
<button type="button" id="button-next-2" class="btn button-next btn-info"
|
||||
data-step_index="2">
|
||||
<?= lang('next') ?>
|
||||
<span class="glyphicon glyphicon-forward"></span>
|
||||
<i class="fas fa-long-arrow-alt-right"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -212,7 +213,7 @@
|
|||
<h3 class="frame-title"><?= lang('step_three_title') ?></h3>
|
||||
|
||||
<div class="frame-content row">
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="first-name" class="control-label"><?= lang('first_name') ?> *</label>
|
||||
<input type="text" id="first-name" class="required form-control" maxlength="100" />
|
||||
|
@ -233,7 +234,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="address" class="control-label"><?= lang('address') ?></label>
|
||||
<input type="text" id="address" class="form-control" maxlength="120" />
|
||||
|
@ -283,14 +284,14 @@
|
|||
</div>
|
||||
|
||||
<div class="command-buttons">
|
||||
<button type="button" id="button-back-3" class="btn button-back btn-default"
|
||||
data-step_index="3"><span class="glyphicon glyphicon-backward"></span>
|
||||
<button type="button" id="button-back-3" class="btn button-back btn-light"
|
||||
data-step_index="3"><i class="fas fa-long-arrow-alt-left"></i>
|
||||
<?= lang('back') ?>
|
||||
</button>
|
||||
<button type="button" id="button-next-3" class="btn button-next btn-primary"
|
||||
<button type="button" id="button-next-3" class="btn button-next btn-info"
|
||||
data-step_index="3">
|
||||
<?= lang('next') ?>
|
||||
<span class="glyphicon glyphicon-forward"></span>
|
||||
<i class="fas fa-long-arrow-alt-right"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -301,15 +302,15 @@
|
|||
<div class="frame-container">
|
||||
<h3 class="frame-title"><?= lang('step_four_title') ?></h3>
|
||||
<div class="frame-content row">
|
||||
<div id="appointment-details" class="col-xs-12 col-sm-6"></div>
|
||||
<div id="customer-details" class="col-xs-12 col-sm-6"></div>
|
||||
<div id="appointment-details" class="col-xs-12 col-md-6"></div>
|
||||
<div id="customer-details" class="col-xs-12 col-md-6"></div>
|
||||
</div>
|
||||
<?php if ($this->settings_model->get_setting('require_captcha') === '1'): ?>
|
||||
<div class="frame-content row">
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<h4 class="captcha-title">
|
||||
CAPTCHA
|
||||
<small class="glyphicon glyphicon-refresh"></small>
|
||||
<small class="fas fa-sync-alt"></small>
|
||||
</h4>
|
||||
<img class="captcha-image" src="<?= site_url('captcha') ?>">
|
||||
<input class="captcha-text" type="text" value="" />
|
||||
|
@ -320,14 +321,14 @@
|
|||
</div>
|
||||
|
||||
<div class="command-buttons">
|
||||
<button type="button" id="button-back-4" class="btn button-back btn-default"
|
||||
<button type="button" id="button-back-4" class="btn button-back btn-light"
|
||||
data-step_index="4">
|
||||
<span class="glyphicon glyphicon-backward"></span>
|
||||
<i class="fas fa-long-arrow-alt-left"></i>
|
||||
<?= lang('back') ?>
|
||||
</button>
|
||||
<form id="book-appointment-form" style="display:inline-block" method="post">
|
||||
<button id="book-appointment-submit" type="button" class="btn btn-success">
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<i class="far fa-check-circle"></i>
|
||||
<?= !$manage_mode ? lang('confirm') : lang('update') ?>
|
||||
</button>
|
||||
<input type="hidden" name="csrfToken" />
|
||||
|
@ -393,7 +394,7 @@
|
|||
<script src="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/jquery-qtip/jquery.qtip.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/cookieconsent/cookieconsent.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/moment/moment.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/moment/moment-timezone-with-data.min.js') ?>"></script>
|
||||
|
|
|
@ -9,30 +9,26 @@
|
|||
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/frontend.css') ?>">
|
||||
<script src="https://kit.fontawesome.com/bdcbd8a000.js" crossorigin="anonymous"></script>
|
||||
|
||||
<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') ?>">
|
||||
</head>
|
||||
<body>
|
||||
<div id="main" class="container">
|
||||
<div class="wrapper row">
|
||||
<div id="success-frame" class="frame-container
|
||||
col-xs-12
|
||||
col-sm-offset-1 col-sm-10
|
||||
col-md-offset-2 col-md-8
|
||||
col-lg-offset-2 col-lg-8">
|
||||
|
||||
<div class="col-xs-12 col-sm-2">
|
||||
<img id="success-icon" class="pull-right" src="<?= base_url('assets/img/success.png') ?>" />
|
||||
<div class="wrapper row d-md-flex align-items-center justify-content-center">
|
||||
<div id="success-frame" class="frame-container col-xs-12 d-md-flex">
|
||||
<div class="col-xs-12">
|
||||
<img id="success-icon" class="mt-0 mb-2" src="<?= base_url('assets/img/success.png') ?>" />
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-10">
|
||||
<div class="col-xs-12 col">
|
||||
<?php
|
||||
echo '
|
||||
<h3>' . lang('appointment_registered') . '</h3>
|
||||
<p>' . lang('appointment_details_was_sent_to_you') . '</p>
|
||||
<p><strong>' . lang('check_spam_folder') . '</strong></p>
|
||||
<a href="' . site_url() . '" class="btn btn-success btn-large">
|
||||
<span class="glyphicon glyphicon-calendar"></span> ' .
|
||||
<i class="far fa-calendar-alt"></i> ' .
|
||||
lang('go_to_booking_page') . '
|
||||
</a>
|
||||
';
|
||||
|
@ -40,7 +36,7 @@
|
|||
if (config('google_sync_feature')) {
|
||||
echo '
|
||||
<button id="add-to-google-calendar" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-plus"></span>
|
||||
<i class="fas fa-plus"></i>
|
||||
' . lang('add_to_google_calendar') . '
|
||||
</button>';
|
||||
}
|
||||
|
@ -61,7 +57,7 @@
|
|||
</div>
|
||||
|
||||
<script src="<?= base_url('assets/ext/jquery/jquery.min.js') ?>"></script>
|
||||
<script src="<?= base_url('assets/ext/bootstrap/js/bootstrap.min.js') ?>"></script>
|
||||
<script src="<?= base_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
|
||||
<script src="<?= base_url('assets/ext/datejs/date.min.js') ?>"></script>
|
||||
<script src="https://apis.google.com/js/client.js"></script>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
</script>
|
||||
|
||||
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/general_functions.js') ?>"></script>
|
||||
</head>
|
||||
|
|
|
@ -42,38 +42,38 @@
|
|||
</script>
|
||||
|
||||
<div id="calendar-page" class="container-fluid">
|
||||
<div class="row" id="calendar-toolbar">
|
||||
<div id="calendar-filter" class="form-inline col-xs-12 col-sm-5">
|
||||
<div class="form-group">
|
||||
<label for="select-filter-item"><?= lang('display_calendar') ?></label>
|
||||
<select id="select-filter-item" class="form-control" title="<?= lang('select_filter_item_hint') ?>">
|
||||
<div id="calendar-toolbar" class="d-md-flex">
|
||||
<div id="calendar-filter" class="col-12 col-md-5 d-flex">
|
||||
<div class="form-group calendar-filter-items">
|
||||
<label for="select-filter-item" class="mr-3"><?= lang('display_calendar') ?></label>
|
||||
<select id="select-filter-item" class="form-control col" title="<?= lang('select_filter_item_hint') ?>">
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="calendar-actions" class="col-xs-12 col-sm-7">
|
||||
<div id="calendar-actions" class="col-12 col-md-7">
|
||||
<?php if (($role_slug == DB_SLUG_ADMIN || $role_slug == DB_SLUG_PROVIDER)
|
||||
&& config('google_sync_feature') == TRUE): ?>
|
||||
<button id="google-sync" class="btn btn-primary"
|
||||
<button id="google-sync" class="btn btn-info"
|
||||
title="<?= lang('trigger_google_sync_hint') ?>">
|
||||
<span class="glyphicon glyphicon-refresh"></span>
|
||||
<i class="fas fa-sync-alt"></i>
|
||||
<span><?= lang('synchronize') ?></span>
|
||||
</button>
|
||||
|
||||
<button id="enable-sync" class="btn btn-default" data-toggle="button"
|
||||
<button id="enable-sync" class="btn btn-light" data-toggle="button"
|
||||
title="<?= lang('enable_appointment_sync_hint') ?>">
|
||||
<span class="glyphicon glyphicon-calendar"></span>
|
||||
<i class="far fa-calendar-alt"></i>
|
||||
<span><?= lang('enable_sync') ?></span>
|
||||
</button>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if ($privileges[PRIV_APPOINTMENTS]['add'] == TRUE): ?>
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-default" type="button" id="insert-appointment">
|
||||
<button class="btn btn-light" type="button" id="insert-appointment">
|
||||
<span class="glyphicon glyphicon-plus"></span>
|
||||
<?= lang('appointment') ?>
|
||||
</button>
|
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<button type="button" class="btn btn-light dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="caret"></span>
|
||||
<span class="sr-only">Toggle Dropdown</span>
|
||||
</button>
|
||||
|
@ -92,25 +92,25 @@
|
|||
</div>
|
||||
<?php endif ?>
|
||||
|
||||
<button id="reload-appointments" class="btn btn-default" title="<?= lang('reload_appointments_hint') ?>">
|
||||
<button id="reload-appointments" class="btn btn-light" title="<?= lang('reload_appointments_hint') ?>">
|
||||
<span class="glyphicon glyphicon-repeat"></span>
|
||||
</button>
|
||||
|
||||
<?php if($calendar_view === 'default'): ?>
|
||||
<a class="btn btn-default" href="<?= site_url('backend?view=table') ?>"
|
||||
<a class="btn btn-light" href="<?= site_url('backend?view=table') ?>"
|
||||
title="<?= lang('table') ?>">
|
||||
<span class="glyphicon glyphicon-list-alt"></span>
|
||||
</a>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if($calendar_view === 'table'): ?>
|
||||
<a class="btn btn-default" href="<?= site_url('backend') ?>"
|
||||
<a class="btn btn-light" href="<?= site_url('backend') ?>"
|
||||
title="<?= lang('default') ?>">
|
||||
<span class="glyphicon glyphicon-calendar"></span>
|
||||
</a>
|
||||
<?php endif ?>
|
||||
|
||||
<button id="toggle-fullscreen" class="btn btn-default">
|
||||
<button id="toggle-fullscreen" class="btn btn-light">
|
||||
<span class="glyphicon glyphicon-fullscreen"></span>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -125,12 +125,12 @@
|
|||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h3 class="modal-title"><?= lang('edit_appointment_title') ?></h3>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
</div>
|
||||
|
||||
<div class="modal-body">
|
||||
<div class="modal-message alert hidden"></div>
|
||||
<div class="modal-message alert d-none"></div>
|
||||
|
||||
<form>
|
||||
<fieldset>
|
||||
|
@ -139,7 +139,7 @@
|
|||
<input id="appointment-id" type="hidden">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="col-12 col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="select-service" class="control-label"><?= lang('service') ?> *</label>
|
||||
<select id="select-service" class="required form-control">
|
||||
|
@ -215,7 +215,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="col-12 col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="start-datetime" class="control-label"><?= lang('start_date_time') ?></label>
|
||||
<input id="start-datetime" class="required form-control">
|
||||
|
@ -253,11 +253,11 @@
|
|||
<fieldset>
|
||||
<legend>
|
||||
<?= lang('customer_details_title') ?>
|
||||
<button id="new-customer" class="btn btn-default btn-xs"
|
||||
<button id="new-customer" class="btn btn-light btn-xs"
|
||||
title="<?= lang('clear_fields_add_existing_customer_hint') ?>"
|
||||
type="button"><?= lang('new') ?>
|
||||
</button>
|
||||
<button id="select-customer" class="btn btn-primary btn-xs"
|
||||
<button id="select-customer" class="btn btn-info btn-xs"
|
||||
title="<?= lang('pick_existing_customer_hint') ?>"
|
||||
type="button"><?= lang('select') ?>
|
||||
</button>
|
||||
|
@ -270,7 +270,7 @@
|
|||
<input id="customer-id" type="hidden">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="col-12 col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="first-name" class="control-label"><?= lang('first_name') ?> *</label>
|
||||
<input id="first-name" class="required form-control">
|
||||
|
@ -291,7 +291,7 @@
|
|||
<input id="phone-number" class="required form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="col-12 col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="address" class="control-label"><?= lang('address') ?></label>
|
||||
<input id="address" class="form-control">
|
||||
|
@ -318,8 +318,8 @@
|
|||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<button id="save-appointment" class="btn btn-primary"><?= lang('save') ?></button>
|
||||
<button id="cancel-appointment" class="btn btn-default" data-dismiss="modal"><?= lang('cancel') ?></button>
|
||||
<button id="save-appointment" class="btn btn-info"><?= lang('save') ?></button>
|
||||
<button id="cancel-appointment" class="btn btn-light" data-dismiss="modal"><?= lang('cancel') ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -331,8 +331,8 @@
|
|||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h3 class="modal-title"><?= lang('new_unavailable_title') ?></h3>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="modal-message alert hidden"></div>
|
||||
|
@ -383,8 +383,8 @@
|
|||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button id="save-unavailable" class="btn btn-primary"><?= lang('save') ?></button>
|
||||
<button id="cancel-unavailable" class="btn btn-default" data-dismiss="modal"><?= lang('cancel') ?></button>
|
||||
<button id="save-unavailable" class="btn btn-info"><?= lang('save') ?></button>
|
||||
<button id="cancel-unavailable" class="btn btn-light" data-dismiss="modal"><?= lang('cancel') ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -466,8 +466,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button id="select-calendar" class="btn btn-primary"><?= lang('select') ?></button>
|
||||
<button id="close-calendar" class="btn btn-default" data-dismiss="modal"><?= lang('close') ?></button>
|
||||
<button id="select-calendar" class="btn btn-info"><?= lang('select') ?></button>
|
||||
<button id="close-calendar" class="btn btn-light" data-dismiss="modal"><?= lang('close') ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -28,18 +28,18 @@
|
|||
|
||||
<div id="customers-page" class="container-fluid backend-page">
|
||||
<div class="row">
|
||||
<div id="filter-customers" class="filter-records column col-xs-12 col-sm-5">
|
||||
<form>
|
||||
<div id="filter-customers" class="filter-records col col-xs-12 col-md-5">
|
||||
<form class="mb-4">
|
||||
<div class="input-group">
|
||||
<input type="text" class="key form-control">
|
||||
|
||||
<div class="input-group-addon">
|
||||
<div>
|
||||
<button class="filter btn btn-default" type="submit" title="<?= lang('filter') ?>">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<button class="filter btn btn-light" type="submit" title="<?= lang('filter') ?>">
|
||||
<i class="fas fa-search"></i>
|
||||
</button>
|
||||
<button class="clear btn btn-default" type="button" title="<?= lang('clear') ?>">
|
||||
<span class="glyphicon glyphicon-repeat"></span>
|
||||
<button class="clear btn btn-light" type="button" title="<?= lang('clear') ?>">
|
||||
<i class="fas fa-redo-alt"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -50,38 +50,38 @@
|
|||
<div class="results"></div>
|
||||
</div>
|
||||
|
||||
<div class="record-details col-xs-12 col-sm-7">
|
||||
<div class="btn-toolbar">
|
||||
<div class="record-details col-xs-12 col-md-7">
|
||||
<div class="btn-toolbar mb-4">
|
||||
<div id="add-edit-delete-group" class="btn-group">
|
||||
<?php if ($privileges[PRIV_CUSTOMERS]['add'] === TRUE): ?>
|
||||
<button id="add-customer" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-plus"></span>
|
||||
<button id="add-customer" class="btn btn-info">
|
||||
<i class="fas fa-plus"></i>
|
||||
<?= lang('add') ?>
|
||||
</button>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if ($privileges[PRIV_CUSTOMERS]['edit'] === TRUE): ?>
|
||||
<button id="edit-customer" class="btn btn-default" disabled="disabled">
|
||||
<span class="glyphicon glyphicon-pencil"></span>
|
||||
<button id="edit-customer" class="btn btn-light" disabled="disabled">
|
||||
<i class="far fa-edit"></i>
|
||||
<?= lang('edit') ?>
|
||||
</button>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if ($privileges[PRIV_CUSTOMERS]['delete'] === TRUE): ?>
|
||||
<button id="delete-customer" class="btn btn-default" disabled="disabled">
|
||||
<span class="glyphicon glyphicon-remove"></span>
|
||||
<button id="delete-customer" class="btn btn-light" disabled="disabled">
|
||||
<i class="far fa-trash-alt"></i>
|
||||
<?= lang('delete') ?>
|
||||
</button>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
|
||||
<div id="save-cancel-group" class="btn-group" style="display:none;">
|
||||
<button id="save-customer" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<button id="save-customer" class="btn btn-info">
|
||||
<i class="far fa-check-circle"></i>
|
||||
<?= lang('save') ?>
|
||||
</button>
|
||||
<button id="cancel-customer" class="btn btn-default">
|
||||
<i class="glyphicon glyphicon-ban-circle"></i>
|
||||
<button id="cancel-customer" class="btn btn-light">
|
||||
<i class="fas fa-ban"></i>
|
||||
<?= lang('cancel') ?>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -90,7 +90,7 @@
|
|||
<input id="customer-id" type="hidden">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-6" style="margin-left: 0;">
|
||||
<div class="col-xs-12 col-md-6" style="margin-left: 0;">
|
||||
<h3><?= lang('details') ?></h3>
|
||||
|
||||
<div id="form-message" class="alert" style="display:none;"></div>
|
||||
|
@ -147,10 +147,10 @@
|
|||
</p>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<h3><?= lang('appointments') ?></h3>
|
||||
<div id="customer-appointments" class="well"></div>
|
||||
<div id="appointment-details" class="well hidden"></div>
|
||||
<div id="customer-appointments" class="card card-body bg-light border-light"></div>
|
||||
<div id="appointment-details" class="card card-body bg-light border-light d-none"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -16,13 +16,14 @@
|
|||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
|
||||
|
||||
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/jquery-qtip/jquery.qtip.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/jquery-mousewheel/jquery.mousewheel.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/trumbowyg/trumbowyg.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/select2/select2.min.js') ?>"></script>
|
||||
<script src="https://kit.fontawesome.com/bdcbd8a000.js" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Global JavaScript Variables - Used in all backend pages.
|
||||
|
@ -32,29 +33,24 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<nav id="header" class="navbar">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<nav id="header" class="navbar navbar-expand-md navbar-dark">
|
||||
<div id="header-logo" class="navbar-brand">
|
||||
<img src="<?= base_url('assets/img/logo.png') ?>">
|
||||
<span><?= $company_name ?></span>
|
||||
</div>
|
||||
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#header-menu"
|
||||
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#header-menu"
|
||||
aria-expanded="false" aria-controls="navbar">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div id="header-menu" class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<div id="header-menu" class="collapse navbar-collapse flex-row-reverse">
|
||||
<ul class="navbar-nav">
|
||||
<?php $hidden = ($privileges[PRIV_APPOINTMENTS]['view'] == TRUE) ? '' : 'hidden' ?>
|
||||
<?php $active = ($active_menu == PRIV_APPOINTMENTS) ? 'active' : '' ?>
|
||||
<li class="<?= $active . $hidden ?>">
|
||||
<a href="<?= site_url('backend') ?>" class="menu-item"
|
||||
<li class="nav-item <?= $active . $hidden ?>">
|
||||
<a href="<?= site_url('backend') ?>" class="nav-link"
|
||||
title="<?= lang('manage_appointment_record_hint') ?>">
|
||||
<?= lang('calendar') ?>
|
||||
</a>
|
||||
|
@ -62,8 +58,8 @@
|
|||
|
||||
<?php $hidden = ($privileges[PRIV_CUSTOMERS]['view'] == TRUE) ? '' : 'hidden' ?>
|
||||
<?php $active = ($active_menu == PRIV_CUSTOMERS) ? 'active' : '' ?>
|
||||
<li class="<?= $active . $hidden ?>">
|
||||
<a href="<?= site_url('backend/customers') ?>" class="menu-item"
|
||||
<li class="nav-item <?= $active . $hidden ?>">
|
||||
<a href="<?= site_url('backend/customers') ?>" class="nav-link"
|
||||
title="<?= lang('manage_customers_hint') ?>">
|
||||
<?= lang('customers') ?>
|
||||
</a>
|
||||
|
@ -71,8 +67,8 @@
|
|||
|
||||
<?php $hidden = ($privileges[PRIV_SERVICES]['view'] == TRUE) ? '' : 'hidden' ?>
|
||||
<?php $active = ($active_menu == PRIV_SERVICES) ? 'active' : '' ?>
|
||||
<li class="<?= $active . $hidden ?>">
|
||||
<a href="<?= site_url('backend/services') ?>" class="menu-item"
|
||||
<li class="nav-item <?= $active . $hidden ?>">
|
||||
<a href="<?= site_url('backend/services') ?>" class="nav-link"
|
||||
title="<?= lang('manage_services_hint') ?>">
|
||||
<?= lang('services') ?>
|
||||
</a>
|
||||
|
@ -80,8 +76,8 @@
|
|||
|
||||
<?php $hidden = ($privileges[PRIV_USERS]['view'] == TRUE) ? '' : 'hidden' ?>
|
||||
<?php $active = ($active_menu == PRIV_USERS) ? 'active' : '' ?>
|
||||
<li class="<?= $active . $hidden ?>">
|
||||
<a href="<?= site_url('backend/users') ?>" class="menu-item"
|
||||
<li class="nav-item <?= $active . $hidden ?>">
|
||||
<a href="<?= site_url('backend/users') ?>" class="nav-link"
|
||||
title="<?= lang('manage_users_hint') ?>">
|
||||
<?= lang('users') ?>
|
||||
</a>
|
||||
|
@ -90,22 +86,21 @@
|
|||
<?php $hidden = ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE
|
||||
|| $privileges[PRIV_USER_SETTINGS]['view'] == TRUE) ? '' : 'hidden' ?>
|
||||
<?php $active = ($active_menu == PRIV_SYSTEM_SETTINGS) ? 'active' : '' ?>
|
||||
<li class="<?= $active . $hidden ?>">
|
||||
<a href="<?= site_url('backend/settings') ?>" class="menu-item"
|
||||
<li class="nav-item <?= $active . $hidden ?>">
|
||||
<a href="<?= site_url('backend/settings') ?>" class="nav-link"
|
||||
title="<?= lang('settings_hint') ?>">
|
||||
<?= lang('settings') ?>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="<?= site_url('user/logout') ?>" class="menu-item"
|
||||
<li class="nav-item">
|
||||
<a href="<?= site_url('user/logout') ?>" class="nav-link"
|
||||
title="<?= lang('log_out_hint') ?>">
|
||||
<?= lang('log_out') ?>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div id="notification" style="display: none;"></div>
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
|
||||
<div id="services-page" class="container-fluid backend-page">
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li role="presentation" class="active"><a href="#services" aria-controls="services" role="tab" data-toggle="tab"><?= lang('services') ?></a></li>
|
||||
<li role="presentation"><a href="#categories" aria-controls="categories" role="tab" data-toggle="tab"><?= lang('categories') ?></a></li>
|
||||
<li role="presentation" class="nav-item"><a class="nav-link active" href="#services" aria-controls="services" role="tab" data-toggle="tab"><?= lang('services') ?></a></li>
|
||||
<li role="presentation" class="nav-item"><a class="nav-link" href="#categories" aria-controls="categories" role="tab" data-toggle="tab"><?= lang('categories') ?></a></li>
|
||||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
|
@ -36,18 +36,18 @@
|
|||
|
||||
<div role="tabpanel" class="tab-pane active" id="services">
|
||||
<div class="row">
|
||||
<div id="filter-services" class="filter-records column col-xs-12 col-sm-5">
|
||||
<form>
|
||||
<div id="filter-services" class="filter-records col col-xs-12 col-md-5">
|
||||
<form class="mb-4">
|
||||
<div class="input-group">
|
||||
<input type="text" class="key form-control">
|
||||
|
||||
<span class="input-group-addon">
|
||||
<div>
|
||||
<button class="filter btn btn-default" type="submit" title="<?= lang('filter') ?>">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<button class="filter btn btn-light" type="submit" title="<?= lang('filter') ?>">
|
||||
<i class="fas fa-search"></i>
|
||||
</button>
|
||||
<button class="clear btn btn-default" type="button" title="<?= lang('clear') ?>">
|
||||
<span class="glyphicon glyphicon-repeat"></span>
|
||||
<button class="clear btn btn-light" type="button" title="<?= lang('clear') ?>">
|
||||
<i class="fas fa-redo-alt"></i>
|
||||
</button>
|
||||
</div>
|
||||
</span>
|
||||
|
@ -58,30 +58,30 @@
|
|||
<div class="results"></div>
|
||||
</div>
|
||||
|
||||
<div class="record-details column col-xs-12 col-sm-5">
|
||||
<div class="btn-toolbar">
|
||||
<div class="record-details column col-xs-12 col-md-5">
|
||||
<div class="btn-toolbar mb-4">
|
||||
<div class="add-edit-delete-group btn-group">
|
||||
<button id="add-service" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-plus"></span>
|
||||
<button id="add-service" class="btn btn-info">
|
||||
<i class="fas fa-plus"></i>
|
||||
<?= lang('add') ?>
|
||||
</button>
|
||||
<button id="edit-service" class="btn btn-default" disabled="disabled">
|
||||
<span class="glyphicon glyphicon-pencil"></span>
|
||||
<button id="edit-service" class="btn btn-light" disabled="disabled">
|
||||
<i class="far fa-edit"></i>
|
||||
<?= lang('edit') ?>
|
||||
</button>
|
||||
<button id="delete-service" class="btn btn-default" disabled="disabled">
|
||||
<span class="glyphicon glyphicon-remove"></span>
|
||||
<button id="delete-service" class="btn btn-light" disabled="disabled">
|
||||
<i class="far fa-trash-alt"></i>
|
||||
<?= lang('delete') ?>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="save-cancel-group btn-group" style="display:none;">
|
||||
<button id="save-service" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<button id="save-service" class="btn btn-info">
|
||||
<i class="far fa-check-circle"></i>
|
||||
<?= lang('save') ?>
|
||||
</button>
|
||||
<button id="cancel-service" class="btn btn-default">
|
||||
<span class="glyphicon glyphicon-ban-circle"></span>
|
||||
<button id="cancel-service" class="btn btn-light">
|
||||
<i class="fas fa-ban"></i>
|
||||
<?= lang('cancel') ?>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -156,18 +156,18 @@
|
|||
|
||||
<div role="tabpanel" class="tab-pane" id="categories">
|
||||
<div class="row">
|
||||
<div id="filter-categories" class="filter-records column col-xs-12 col-sm-5">
|
||||
<form class="input-append">
|
||||
<div id="filter-categories" class="filter-records column col-xs-12 col-md-5">
|
||||
<form class="input-append mb-4">
|
||||
<div class="input-group">
|
||||
<input type="text" class="key form-control">
|
||||
|
||||
<span class="input-group-addon">
|
||||
<div>
|
||||
<button class="filter btn btn-default" type="submit" title="<?= lang('filter') ?>">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<button class="filter btn btn-light" type="submit" title="<?= lang('filter') ?>">
|
||||
<i class="fas fa-search"></i>
|
||||
</button>
|
||||
<button class="clear btn btn-default" type="button" title="<?= lang('clear') ?>">
|
||||
<span class="glyphicon glyphicon-repeat"></span>
|
||||
<button class="clear btn btn-light" type="button" title="<?= lang('clear') ?>">
|
||||
<i class="fas fa-redo-alt"></i>
|
||||
</button>
|
||||
</div>
|
||||
</span>
|
||||
|
@ -178,30 +178,30 @@
|
|||
<div class="results"></div>
|
||||
</div>
|
||||
|
||||
<div class="record-details col-xs-12 col-sm-5">
|
||||
<div class="btn-toolbar">
|
||||
<div class="record-details col-xs-12 col-md-5">
|
||||
<div class="btn-toolbar mb-4">
|
||||
<div class="add-edit-delete-group btn-group">
|
||||
<button id="add-category" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-plus glyphicon glyphicon-white"></span>
|
||||
<button id="add-category" class="btn btn-info">
|
||||
<i class="fas fa-plus"></i>
|
||||
<?= lang('add') ?>
|
||||
</button>
|
||||
<button id="edit-category" class="btn btn-default" disabled="disabled">
|
||||
<span class="glyphicon glyphicon-pencil"></span>
|
||||
<button id="edit-category" class="btn btn-light" disabled="disabled">
|
||||
<i class="far fa-edit"></i>
|
||||
<?= lang('edit') ?>
|
||||
</button>
|
||||
<button id="delete-category" class="btn btn-default" disabled="disabled">
|
||||
<span class="glyphicon glyphicon-remove"></span>
|
||||
<button id="delete-category" class="btn btn-light" disabled="disabled">
|
||||
<i class="far fa-trash-alt"></i>
|
||||
<?= lang('delete') ?>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="save-cancel-group btn-group" style="display:none;">
|
||||
<button id="save-category" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-ok glyphicon glyphicon-white"></span>
|
||||
<button id="save-category" class="btn btn-info">
|
||||
<i class="far fa-check-circle"></i>
|
||||
<?= lang('save') ?>
|
||||
</button>
|
||||
<button id="cancel-category" class="btn btn-default">
|
||||
<span class="glyphicon glyphicon-ban-circle"></span>
|
||||
<button id="cancel-category" class="btn btn-light">
|
||||
<i class="fas fa-ban"></i>
|
||||
<?= lang('cancel') ?>
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
@ -34,27 +34,27 @@
|
|||
<div id="settings-page" class="container-fluid">
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE): ?>
|
||||
<li role="presentation" class="active">
|
||||
<a href="#general" aria-controls="general" role="tab" data-toggle="tab"><?= lang('general') ?></a>
|
||||
<li role="presentation" class="nav-item">
|
||||
<a class="nav-link" href="#general" aria-controls="general" role="tab" data-toggle="tab"><?= lang('general') ?></a>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE): ?>
|
||||
<li role="presentation">
|
||||
<a href="#business-logic" aria-controls="business-logic" role="tab" data-toggle="tab"><?= lang('business_logic') ?></a>
|
||||
<li role="presentation" class="nav-item">
|
||||
<a class="nav-link" href="#business-logic" aria-controls="business-logic" role="tab" data-toggle="tab"><?= lang('business_logic') ?></a>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE): ?>
|
||||
<li role="presentation">
|
||||
<a href="#legal-contents" aria-controls="legal-contents" role="tab" data-toggle="tab"><?= lang('legal_contents') ?></a>
|
||||
<li role="presentation" class="nav-item">
|
||||
<a class="nav-link" href="#legal-contents" aria-controls="legal-contents" role="tab" data-toggle="tab"><?= lang('legal_contents') ?></a>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
<?php if ($privileges[PRIV_USER_SETTINGS]['view'] == TRUE): ?>
|
||||
<li role="presentation">
|
||||
<a href="#current-user" aria-controls="current-user" role="tab" data-toggle="tab"><?= lang('current_user') ?></a>
|
||||
<li role="presentation" class="nav-item">
|
||||
<a class="nav-link" href="#current-user" aria-controls="current-user" role="tab" data-toggle="tab"><?= lang('current_user') ?></a>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
<li role="presentation">
|
||||
<a href="#about-app" aria-controls="about-app" role="tab" data-toggle="tab"><?= lang('about_app') ?></a>
|
||||
<li role="presentation" class="nav-item">
|
||||
<a class="nav-link" href="#about-app" aria-controls="about-app" role="tab" data-toggle="tab"><?= lang('about_app') ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
@ -62,16 +62,16 @@
|
|||
|
||||
<!-- GENERAL TAB -->
|
||||
|
||||
<?php $hidden = ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE) ? '' : 'hidden' ?>
|
||||
<?php $hidden = ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE) ? '' : 'd-none' ?>
|
||||
<div role="tabpanel" class="tab-pane active <?= $hidden ?>" id="general">
|
||||
<form>
|
||||
<fieldset>
|
||||
<legend>
|
||||
<legend class="border-bottom mb-4">
|
||||
<?= lang('general_settings') ?>
|
||||
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['edit'] == TRUE): ?>
|
||||
<button type="button" class="save-settings btn btn-primary btn-xs"
|
||||
<button type="button" class="save-settings btn btn-info btn-xs mb-2"
|
||||
title="<?= lang('save') ?>">
|
||||
<span class="glyphicon glyphicon-floppy-disk"></span>
|
||||
<i class="far fa-save"></i>
|
||||
<?= lang('save') ?>
|
||||
</button>
|
||||
<?php endif ?>
|
||||
|
@ -82,7 +82,7 @@
|
|||
<div class="form-group">
|
||||
<label for="company-name"><?= lang('company_name') ?> *</label>
|
||||
<input id="company-name" data-field="company_name" class="required form-control">
|
||||
<span class="help-block">
|
||||
<span class="form-text text-muted">
|
||||
<?= lang('company_name_hint') ?>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -90,7 +90,7 @@
|
|||
<div class="form-group">
|
||||
<label for="company-email"><?= lang('company_email') ?> *</label>
|
||||
<input id="company-email" data-field="company_email" class="required form-control">
|
||||
<span class="help-block">
|
||||
<span class="form-text text-muted">
|
||||
<?= lang('company_email_hint') ?>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -98,11 +98,10 @@
|
|||
<div class="form-group">
|
||||
<label for="company-link"><?= lang('company_link') ?> *</label>
|
||||
<input id="company-link" data-field="company_link" class="required form-control">
|
||||
<span class="help-block">
|
||||
<span class="form-text text-muted">
|
||||
<?= lang('company_link_hint') ?>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="date-format">
|
||||
<?= lang('date_format') ?>
|
||||
|
@ -112,7 +111,7 @@
|
|||
<option value="MDY">MDY</option>
|
||||
<option value="YMD">YMD</option>
|
||||
</select>
|
||||
<span class="help-block">
|
||||
<span class="form-text text-muted">
|
||||
<?= lang('date_format_hint') ?>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -124,7 +123,7 @@
|
|||
<option value="<?= TIME_FORMAT_REGULAR ?>">H:MM AM/PM</option>
|
||||
<option value="<?= TIME_FORMAT_MILITARY ?>">HH:MM</option>
|
||||
</select>
|
||||
<span class="help-block">
|
||||
<span class="form-text text-muted">
|
||||
<?= lang('time_format_hint') ?>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -169,11 +168,11 @@
|
|||
<div class="form-group">
|
||||
<label><?= lang('customer_notifications') ?></label>
|
||||
<br>
|
||||
<button type="button" id="customer-notifications" class="btn btn-default" data-toggle="button" aria-pressed="false">
|
||||
<span class="glyphicon glyphicon-envelope"></span>
|
||||
<button type="button" id="customer-notifications" class="btn btn-light" data-toggle="button" aria-pressed="false">
|
||||
<i class="far fa-envelope"></i>
|
||||
<?= lang('receive_notifications') ?>
|
||||
</button>
|
||||
<span class="help-block">
|
||||
<span class="form-text text-muted">
|
||||
<?= lang('customer_notifications_hint') ?>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -182,11 +181,11 @@
|
|||
CAPTCHA
|
||||
</label>
|
||||
<br>
|
||||
<button type="button" id="require-captcha" class="btn btn-default" data-toggle="button" aria-pressed="false">
|
||||
<span class="glyphicon glyphicon-lock"></span>
|
||||
<button type="button" id="require-captcha" class="btn btn-light" data-toggle="button" aria-pressed="false">
|
||||
<i class="fas fa-lock"></i>
|
||||
<?= lang('require_captcha') ?>
|
||||
</button>
|
||||
<span class="help-block">
|
||||
<span class="form-text text-muted">
|
||||
<?= lang('require_captcha_hint') ?>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -222,16 +221,16 @@
|
|||
|
||||
<!-- BUSINESS LOGIC TAB -->
|
||||
|
||||
<?php $hidden = ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE) ? '' : 'hidden' ?>
|
||||
<?php $hidden = ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE) ? '' : 'd-none' ?>
|
||||
<div role="tabpanel" class="tab-pane <?= $hidden ?>" id="business-logic">
|
||||
<form>
|
||||
<fieldset>
|
||||
<legend>
|
||||
<legend class="border-bottom mb-4">
|
||||
<?= lang('business_logic') ?>
|
||||
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['edit'] == TRUE): ?>
|
||||
<button type="button" class="save-settings btn btn-primary btn-xs"
|
||||
<button type="button" class="save-settings btn btn-info btn-xs mb-2"
|
||||
title="<?= lang('save') ?>">
|
||||
<span class="glyphicon glyphicon-floppy-disk"></span>
|
||||
<i class="far fa-save"></i>
|
||||
<?= lang('save') ?>
|
||||
</button>
|
||||
<?php endif ?>
|
||||
|
@ -240,7 +239,7 @@
|
|||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-7 working-plan-wrapper">
|
||||
<h4><?= lang('working_plan') ?></h4>
|
||||
<span class="help-block">
|
||||
<span class="form-text text-muted mb-4">
|
||||
<?= lang('edit_working_plan_hint') ?>
|
||||
</span>
|
||||
|
||||
|
@ -268,7 +267,7 @@
|
|||
<div class="form-group">
|
||||
<label for="book-advance-timeout" class="control-label"><?= lang('timeout_minutes') ?></label>
|
||||
<input id="book-advance-timeout" data-field="book_advance_timeout" class="form-control" type="number" min="15">
|
||||
<p class="help-block">
|
||||
<p class="form-text text-muted">
|
||||
<?= lang('book_advance_timeout_hint') ?>
|
||||
</p>
|
||||
</div>
|
||||
|
@ -276,13 +275,13 @@
|
|||
<div class="col-xs-12 col-sm-5 breaks-wrapper">
|
||||
<h4><?= lang('breaks') ?></h4>
|
||||
|
||||
<span class="help-block">
|
||||
<span class="form-text text-muted">
|
||||
<?= lang('edit_breaks_hint') ?>
|
||||
</span>
|
||||
|
||||
<div>
|
||||
<button type="button" class="add-break btn btn-primary">
|
||||
<span class="glyphicon glyphicon-white glyphicon glyphicon-plus"></span>
|
||||
<div class="mt-2">
|
||||
<button type="button" class="add-break btn btn-info">
|
||||
<i class="fas fa-plus"></i>
|
||||
<?= lang('add_break');?>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -308,16 +307,16 @@
|
|||
|
||||
<!-- LEGAL CONTENTS TAB -->
|
||||
|
||||
<?php $hidden = ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE) ? '' : 'hidden' ?>
|
||||
<?php $hidden = ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE) ? '' : 'd-none' ?>
|
||||
<div role="tabpanel" class="tab-pane <?= $hidden ?>" id="legal-contents">
|
||||
<form>
|
||||
<fieldset>
|
||||
<legend>
|
||||
<legend class="border-bottom mb-4">
|
||||
<?= lang('legal_contents') ?>
|
||||
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['edit'] == TRUE): ?>
|
||||
<button type="button" class="save-settings btn btn-primary btn-xs"
|
||||
<button type="button" class="save-settings btn btn-info btn-xs mb-2"
|
||||
title="<?= lang('save') ?>">
|
||||
<span class="glyphicon glyphicon-floppy-disk"></span>
|
||||
<i class="far fa-save"></i>
|
||||
<?= lang('save') ?>
|
||||
</button>
|
||||
<?php endif ?>
|
||||
|
@ -328,9 +327,9 @@
|
|||
<h4><?= lang('cookie_notice') ?></h4>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" id="display-cookie-notice">
|
||||
<div class="custom-control custom-checkbox">
|
||||
<input class="custom-control-input" type="checkbox" id="display-cookie-notice">
|
||||
<label class="custom-control-label" for="display-cookie-notice">
|
||||
<?= lang('display_cookie_notice') ?>
|
||||
</label>
|
||||
</div>
|
||||
|
@ -346,13 +345,15 @@
|
|||
<h4><?= lang('terms_and_conditions') ?></h4>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" id="display-terms-and-conditions">
|
||||
<div class="form-group">
|
||||
<div class="custom-control custom-checkbox">
|
||||
<input class="custom-control-input" type="checkbox" id="display-terms-and-conditions">
|
||||
<label class="custom-control-label" for="display-terms-and-conditions">
|
||||
<?= lang('display_terms_and_conditions') ?>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label><?= lang('terms_and_conditions_content') ?></label>
|
||||
|
@ -362,13 +363,15 @@
|
|||
<h4><?= lang('privacy_policy') ?></h4>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" id="display-privacy-policy">
|
||||
<div class="form-group">
|
||||
<div class="custom-control custom-checkbox">
|
||||
<input class="custom-control-input" type="checkbox" id="display-privacy-policy">
|
||||
<label class="custom-control-label" for="display-privacy-policy">
|
||||
<?= lang('display_privacy_policy') ?>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label><?= lang('privacy_policy_content') ?></label>
|
||||
|
@ -382,17 +385,17 @@
|
|||
|
||||
<!-- CURRENT USER TAB -->
|
||||
|
||||
<?php $hidden = ($privileges[PRIV_USER_SETTINGS]['view'] == TRUE) ? '' : 'hidden' ?>
|
||||
<?php $hidden = ($privileges[PRIV_USER_SETTINGS]['view'] == TRUE) ? '' : 'd-none' ?>
|
||||
<div role="tabpanel" class="tab-pane <?= $hidden ?>" id="current-user">
|
||||
<form>
|
||||
<div class="row">
|
||||
<fieldset class="col-xs-12 col-sm-6 personal-info-wrapper">
|
||||
<legend>
|
||||
<legend class="border-bottom mb-4">
|
||||
<?= lang('personal_information') ?>
|
||||
<?php if ($privileges[PRIV_USER_SETTINGS]['edit'] == TRUE): ?>
|
||||
<button type="button" class="save-settings btn btn-primary btn-xs"
|
||||
<button type="button" class="save-settings btn btn-info btn-xs mb-2"
|
||||
title="<?= lang('save') ?>">
|
||||
<span class="glyphicon glyphicon-floppy-disk"></span>
|
||||
<i class="far fa-save"></i>
|
||||
<?= lang('save') ?>
|
||||
</button>
|
||||
<?php endif ?>
|
||||
|
@ -452,7 +455,7 @@
|
|||
</fieldset>
|
||||
|
||||
<fieldset class="col-xs-12 col-sm-6 miscellaneous-wrapper">
|
||||
<legend><?= lang('system_login') ?></legend>
|
||||
<legend class="border-bottom mb-4"><?= lang('system_login') ?></legend>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="username"><?= lang('username') ?> *</label>
|
||||
|
@ -482,8 +485,8 @@
|
|||
<?= render_timezone_dropdown('id="timezone" class="form-control"') ?>
|
||||
</div>
|
||||
|
||||
<button type="button" id="user-notifications" class="btn btn-default" data-toggle="button">
|
||||
<span class="glyphicon glyphicon-envelope"></span>
|
||||
<button type="button" id="user-notifications" class="btn btn-light" data-toggle="button">
|
||||
<i class="far fa-envelope"></i>
|
||||
<?= lang('receive_notifications') ?>
|
||||
</button>
|
||||
</fieldset>
|
||||
|
@ -500,7 +503,7 @@
|
|||
<?= lang('about_app_info') ?>
|
||||
</p>
|
||||
|
||||
<div class="current-version well">
|
||||
<div class="current-version card card-body bg-light border-light mb-3">
|
||||
<?= lang('current_version') ?>
|
||||
<?= config('version') ?>
|
||||
<?php if (config('release_label')): ?>
|
||||
|
|
|
@ -36,11 +36,10 @@
|
|||
<div id="users-page" class="container-fluid backend-page">
|
||||
|
||||
<!-- PAGE NAVIGATION -->
|
||||
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li role="presentation" class="active"><a href="#providers" aria-controls="providers" role="tab" data-toggle="tab"><?= lang('providers') ?></a></li>
|
||||
<li role="presentation"><a href="#secretaries" aria-controls="secretaries" role="tab" data-toggle="tab"><?= lang('secretaries') ?></a></li>
|
||||
<li role="presentation"><a href="#admins" aria-controls="admins" role="tab" data-toggle="tab"><?= lang('admins') ?></a></li>
|
||||
<li role="presentation" class="nav-item"><a class="nav-link active" href="#providers" aria-controls="providers" role="tab" data-toggle="tab"><?= lang('providers') ?></a></li>
|
||||
<li role="presentation" class="nav-item"><a class="nav-link" href="#secretaries" aria-controls="secretaries" role="tab" data-toggle="tab"><?= lang('secretaries') ?></a></li>
|
||||
<li role="presentation" class="nav-item"><a class="nav-link" href="#admins" aria-controls="admins" role="tab" data-toggle="tab"><?= lang('admins') ?></a></li>
|
||||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
|
@ -49,18 +48,18 @@
|
|||
|
||||
<div role="tabpanel" class="tab-pane active" id="providers">
|
||||
<div class="row">
|
||||
<div id="filter-providers" class="filter-records column col-xs-12 col-sm-5">
|
||||
<form>
|
||||
<div id="filter-providers" class="filter-records column col-xs-12 col-md-5">
|
||||
<form class="mb-4">
|
||||
<div class="input-group">
|
||||
<input type="text" class="key form-control">
|
||||
|
||||
<span class="input-group-addon">
|
||||
<div>
|
||||
<button class="filter btn btn-default" type="submit" title="<?= lang('filter') ?>">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<button class="filter btn btn-light" type="submit" title="<?= lang('filter') ?>">
|
||||
<i class="fas fa-search"></i>
|
||||
</button>
|
||||
<button class="clear btn btn-default" type="button" title="<?= lang('clear') ?>">
|
||||
<span class="glyphicon glyphicon-repeat"></span>
|
||||
<button class="clear btn btn-light" type="button" title="<?= lang('clear') ?>">
|
||||
<i class="fas fa-redo-alt"></i>
|
||||
</button>
|
||||
</div>
|
||||
</span>
|
||||
|
@ -71,36 +70,36 @@
|
|||
<div class="results"></div>
|
||||
</div>
|
||||
|
||||
<div class="record-details column col-xs-12 col-sm-7">
|
||||
<div class="pull-left">
|
||||
<div class="record-details column col-xs-12 col-md-7">
|
||||
<div class="float-md-left mb-4">
|
||||
<div class="add-edit-delete-group btn-group">
|
||||
<button id="add-provider" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-plus"></span>
|
||||
<button id="add-provider" class="btn btn-info">
|
||||
<i class="fas fa-plus"></i>
|
||||
<?= lang('add') ?>
|
||||
</button>
|
||||
<button id="edit-provider" class="btn btn-default" disabled="disabled">
|
||||
<span class="glyphicon glyphicon-pencil"></span>
|
||||
<button id="edit-provider" class="btn btn-light" disabled="disabled">
|
||||
<i class="far fa-edit"></i>
|
||||
<?= lang('edit') ?>
|
||||
</button>
|
||||
<button id="delete-provider" class="btn btn-default" disabled="disabled">
|
||||
<span class="glyphicon glyphicon-remove"></span>
|
||||
<button id="delete-provider" class="btn btn-light" disabled="disabled">
|
||||
<i class="far fa-trash-alt"></i>
|
||||
<?= lang('delete') ?>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="save-cancel-group btn-group" style="display:none;">
|
||||
<button id="save-provider" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<button id="save-provider" class="btn btn-info">
|
||||
<i class="far fa-check-circle"></i>
|
||||
<?= lang('save') ?>
|
||||
</button>
|
||||
<button id="cancel-provider" class="btn btn-default">
|
||||
<span class="glyphicon glyphicon-ban-circle"></span>
|
||||
<button id="cancel-provider" class="btn btn-light">
|
||||
<i class="fas fa-ban"></i>
|
||||
<?= lang('cancel') ?>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="switch-view pull-right">
|
||||
<div class="switch-view float-md-right d-md-flex align-items-center mb-4">
|
||||
<strong><?= lang('current_view') ?></strong>
|
||||
<div class="display-details current"><?= lang('details') ?></div>
|
||||
<div class="display-working-plan"><?= lang('working_plan') ?></div>
|
||||
|
@ -116,7 +115,7 @@
|
|||
<input type="hidden" id="provider-id" class="record-id">
|
||||
|
||||
<div class="row">
|
||||
<div class="provider-details col-xs-12 col-sm-6">
|
||||
<div class="provider-details col-xs-12 col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="provider-first-name"><?= lang('first_name') ?> *</label>
|
||||
<input id="provider-first-name" class="form-control required" maxlength="256">
|
||||
|
@ -167,7 +166,7 @@
|
|||
<textarea id="provider-notes" class="form-control" rows="3"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="provider-settings col-xs-12 col-sm-6">
|
||||
<div class="provider-settings col-xs-12 col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="provider-username"><?= lang('username') ?> *</label>
|
||||
<input id="provider-username" class="form-control required" maxlength="256">
|
||||
|
@ -198,26 +197,26 @@
|
|||
|
||||
<br>
|
||||
|
||||
<button type="button" id="provider-notifications" class="btn btn-default" data-toggle="button">
|
||||
<span class="glyphicon glyphicon-envelope"></span>
|
||||
<button type="button" id="provider-notifications" class="btn btn-light" data-toggle="button">
|
||||
<i class="far fa-envelope"></i>
|
||||
<span><?= lang('receive_notifications') ?></span>
|
||||
</button>
|
||||
|
||||
<br><br>
|
||||
|
||||
<h4><?= lang('services') ?></h4>
|
||||
<div id="provider-services" class="well"></div>
|
||||
<div id="provider-services" class="card card-body bg-light border-light"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="working-plan-view provider-view" style="display: none;">
|
||||
<h3><?= lang('working_plan') ?></h3>
|
||||
<button id="reset-working-plan" class="btn btn-primary"
|
||||
<button id="reset-working-plan" class="btn btn-info"
|
||||
title="<?= lang('reset_working_plan') ?>">
|
||||
<span class="glyphicon glyphicon-repeat"></span>
|
||||
<i class="fas fa-redo-alt"></i>
|
||||
<?= lang('reset_plan') ?></button>
|
||||
<table class="working-plan table table-striped">
|
||||
<table class="working-plan table table-striped mt-2">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?= lang('day') ?></th>
|
||||
|
@ -237,8 +236,8 @@
|
|||
</span>
|
||||
|
||||
<div>
|
||||
<button type="button" class="add-break btn btn-primary">
|
||||
<span class="glyphicon glyphicon-plus"></span>
|
||||
<button type="button" class="add-break btn btn-info">
|
||||
<i class="fas fa-plus"></i>
|
||||
<?= lang('add_break') ?>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -294,18 +293,18 @@
|
|||
|
||||
<div role="tabpanel" class="tab-pane" id="secretaries">
|
||||
<div class="row">
|
||||
<div id="filter-secretaries" class="filter-records column col-xs-12 col-sm-5">
|
||||
<form>
|
||||
<div id="filter-secretaries" class="filter-records column col-xs-12 col-md-5">
|
||||
<form class="mb-4">
|
||||
<div class="input-group">
|
||||
<input type="text" class="key form-control">
|
||||
|
||||
<span class="input-group-addon">
|
||||
<div>
|
||||
<button class="filter btn btn-default" type="submit" title="<?= lang('filter') ?>">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<button class="filter btn btn-light" type="submit" title="<?= lang('filter') ?>">
|
||||
<i class="fas fa-search"></i>
|
||||
</button>
|
||||
<button class="clear btn btn-default" type="button" title="<?= lang('clear') ?>">
|
||||
<span class="glyphicon glyphicon-repeat"></span>
|
||||
<button class="clear btn btn-light" type="button" title="<?= lang('clear') ?>">
|
||||
<i class="fas fa-redo-alt"></i>
|
||||
</button>
|
||||
</div>
|
||||
</span>
|
||||
|
@ -317,30 +316,30 @@
|
|||
<div class="results"></div>
|
||||
</div>
|
||||
|
||||
<div class="record-details column col-xs-12 col-sm-7">
|
||||
<div class="btn-toolbar">
|
||||
<div class="record-details column col-xs-12 col-md-7">
|
||||
<div class="btn-toolbar mb-4">
|
||||
<div class="add-edit-delete-group btn-group">
|
||||
<button id="add-secretary" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-plus"></span>
|
||||
<button id="add-secretary" class="btn btn-info">
|
||||
<i class="fas fa-plus"></i>
|
||||
<?= lang('add') ?>
|
||||
</button>
|
||||
<button id="edit-secretary" class="btn btn-default" disabled="disabled">
|
||||
<span class="glyphicon glyphicon-pencil"></span>
|
||||
<button id="edit-secretary" class="btn btn-light" disabled="disabled">
|
||||
<i class="far fa-edit"></i>
|
||||
<?= lang('edit') ?>
|
||||
</button>
|
||||
<button id="delete-secretary" class="btn btn-default" disabled="disabled">
|
||||
<span class="glyphicon glyphicon-remove"></span>
|
||||
<button id="delete-secretary" class="btn btn-light" disabled="disabled">
|
||||
<i class="far fa-trash-alt"></i>
|
||||
<?= lang('delete') ?>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="save-cancel-group btn-group" style="display:none;">
|
||||
<button id="save-secretary" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<button id="save-secretary" class="btn btn-info">
|
||||
<i class="far fa-check-circle"></i>
|
||||
<?= lang('save') ?>
|
||||
</button>
|
||||
<button id="cancel-secretary" class="btn btn-default">
|
||||
<span class="glyphicon glyphicon-ban-circle"></span>
|
||||
<button id="cancel-secretary" class="btn btn-light">
|
||||
<i class="fas fa-ban"></i>
|
||||
<?= lang('cancel') ?>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -353,7 +352,7 @@
|
|||
<input type="hidden" id="secretary-id" class="record-id">
|
||||
|
||||
<div class="row">
|
||||
<div class="secretary-details col-xs-12 col-sm-6">
|
||||
<div class="secretary-details col-xs-12 col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="secretary-first-name"><?= lang('first_name') ?> *</label>
|
||||
<input id="secretary-first-name" class="form-control required" maxlength="256">
|
||||
|
@ -404,7 +403,7 @@
|
|||
<textarea id="secretary-notes" class="form-control" rows="3"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="secretary-settings col-xs-12 col-sm-6">
|
||||
<div class="secretary-settings col-xs-12 col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="secretary-username"><?= lang('username') ?> *</label>
|
||||
<input id="secretary-username" class="form-control required" maxlength="256">
|
||||
|
@ -435,15 +434,15 @@
|
|||
|
||||
<br>
|
||||
|
||||
<button type="button" id="secretary-notifications" class="btn btn-default" data-toggle="button">
|
||||
<span class="glyphicon glyphicon-envelope"></span>
|
||||
<button type="button" id="secretary-notifications" class="btn btn-light" data-toggle="button">
|
||||
<i class="far fa-envelope"></i>
|
||||
<span><?= lang('receive_notifications') ?></span>
|
||||
</button>
|
||||
|
||||
<br><br>
|
||||
|
||||
<h4><?= lang('providers') ?></h4>
|
||||
<div id="secretary-providers" class="well"></div>
|
||||
<div id="secretary-providers" class="card card-body bg-light border-light"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -454,18 +453,18 @@
|
|||
|
||||
<div role="tabpanel" class="tab-pane" id="admins">
|
||||
<div class="row">
|
||||
<div id="filter-admins" class="filter-records column col-xs-12 col-sm-5">
|
||||
<form>
|
||||
<div id="filter-admins" class="filter-records column col-xs-12 col-md-5">
|
||||
<form class="mb-4">
|
||||
<div class="input-group">
|
||||
<input type="text" class="key form-control">
|
||||
|
||||
<span class="input-group-addon">
|
||||
<div>
|
||||
<button class="filter btn btn-default" type="submit" title="<?= lang('filter') ?>">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<button class="filter btn btn-light" type="submit" title="<?= lang('filter') ?>">
|
||||
<i class="fas fa-search"></i>
|
||||
</button>
|
||||
<button class="clear btn btn-default" type="button" title="<?= lang('clear') ?>">
|
||||
<span class="glyphicon glyphicon-repeat"></span>
|
||||
<button class="clear btn btn-light" type="button" title="<?= lang('clear') ?>">
|
||||
<i class="fas fa-redo-alt"></i>
|
||||
</button>
|
||||
</div>
|
||||
</span>
|
||||
|
@ -477,30 +476,30 @@
|
|||
<div class="results"></div>
|
||||
</div>
|
||||
|
||||
<div class="record-details column col-xs-12 col-sm-7">
|
||||
<div class="btn-toolbar">
|
||||
<div class="record-details column col-xs-12 col-md-7">
|
||||
<div class="btn-toolbar mb-4">
|
||||
<div class="add-edit-delete-group btn-group">
|
||||
<button id="add-admin" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-plus"></span>
|
||||
<button id="add-admin" class="btn btn-info">
|
||||
<i class="fas fa-plus"></i>
|
||||
<?= lang('add') ?>
|
||||
</button>
|
||||
<button id="edit-admin" class="btn btn-default" disabled="disabled">
|
||||
<span class="glyphicon glyphicon-pencil"></span>
|
||||
<button id="edit-admin" class="btn btn-light" disabled="disabled">
|
||||
<i class="far fa-edit"></i>
|
||||
<?= lang('edit') ?>
|
||||
</button>
|
||||
<button id="delete-admin" class="btn btn-default" disabled="disabled">
|
||||
<span class="glyphicon glyphicon-remove"></span>
|
||||
<button id="delete-admin" class="btn btn-light" disabled="disabled">
|
||||
<i class="far fa-trash-alt"></i>
|
||||
<?= lang('delete') ?>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="save-cancel-group btn-group" style="display:none;">
|
||||
<button id="save-admin" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<button id="save-admin" class="btn btn-info">
|
||||
<i class="far fa-check-circle"></i>
|
||||
<?= lang('save') ?>
|
||||
</button>
|
||||
<button id="cancel-admin" class="btn btn-default">
|
||||
<span class="glyphicon glyphicon-ban-circle"></span>
|
||||
<button id="cancel-admin" class="btn btn-light">
|
||||
<i class="fas fa-ban"></i>
|
||||
<?= lang('cancel') ?>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -513,7 +512,7 @@
|
|||
<input type="hidden" id="admin-id" class="record-id">
|
||||
|
||||
<div class="row">
|
||||
<div class="admin-details col-xs-12 col-sm-6">
|
||||
<div class="admin-details col-xs-12 col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="first-name"><?= lang('first_name') ?> *</label>
|
||||
<input id="admin-first-name" class="form-control required" maxlength="256">
|
||||
|
@ -564,7 +563,7 @@
|
|||
<textarea id="admin-notes" class="form-control" rows="3"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="admin-settings col-xs-12 col-sm-6">
|
||||
<div class="admin-settings col-xs-12 col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="admin-username"><?= lang('username') ?> *</label>
|
||||
<input id="admin-username" class="form-control required" maxlength="256">
|
||||
|
@ -595,8 +594,8 @@
|
|||
|
||||
<br>
|
||||
|
||||
<button type="button" id="admin-notifications" class="btn btn-default" data-toggle="button">
|
||||
<span class="glyphicon glyphicon-envelope"></span>
|
||||
<button type="button" id="admin-notifications" class="btn btn-light" data-toggle="button">
|
||||
<i class="far fa-envelope"></i>
|
||||
<span><?= lang('receive_notifications') ?></span>
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
</script>
|
||||
|
||||
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/general_functions.js') ?>"></script>
|
||||
|
||||
|
@ -70,12 +70,12 @@
|
|||
<br>
|
||||
|
||||
<a href="<?= site_url() ?>" class="btn btn-primary btn-large">
|
||||
<span class="glyphicon glyphicon-calendar"></span>
|
||||
<i class="far fa-calendar-alt"></i>
|
||||
<?= lang('book_appointment_title') ?>
|
||||
</a>
|
||||
|
||||
<a href="<?= site_url('backend') ?>" class="btn btn-default btn-large">
|
||||
<span class="glyphicon glyphicon-wrench"></span>
|
||||
<i class="fas fa-wrench"></i>
|
||||
<?= lang('backend_section') ?>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -180,7 +180,7 @@
|
|||
|
||||
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/general_functions.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/js/installation.js') ?>"></script>
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
|
||||
<div>
|
||||
<a href="<?= site_url('backend') ?>" class="btn btn-default btn-large">
|
||||
<span class="glyphicon glyphicon-wrench"></span>
|
||||
<i class="fas fa-wrench"></i>
|
||||
<?= lang('backend_section') ?>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<title><?= lang('forgot_your_password') . ' - ' . $company_name ?></title>
|
||||
|
||||
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.css') ?>">
|
||||
|
@ -82,7 +82,7 @@
|
|||
</div>
|
||||
<br>
|
||||
|
||||
<button type="submit" id="login" class="btn btn-primary">
|
||||
<button type="submit" id="login" class="btn btn-info">
|
||||
<?= lang('login') ?>
|
||||
</button>
|
||||
|
||||
|
@ -91,7 +91,7 @@
|
|||
<a href="<?= site_url('user/forgot_password') ?>" class="forgot-password">
|
||||
<?= lang('forgot_your_password') ?></a>
|
||||
|
|
||||
<span id="select-language" class="label label-success">
|
||||
<span id="select-language" class="badge badge-success">
|
||||
<?= ucfirst(config('language')) ?>
|
||||
</span>
|
||||
</form>
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
|
||||
|
||||
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
|
||||
<script src="https://kit.fontawesome.com/bdcbd8a000.js" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
var EALang = <?= json_encode($this->lang->language) ?>;
|
||||
|
@ -66,12 +67,12 @@
|
|||
<br>
|
||||
|
||||
<a href="<?= site_url() ?>" class="btn btn-success btn-large">
|
||||
<span class="glyphicon glyphicon-calendar"></span>
|
||||
<i class="far fa-calendar-alt"></i>
|
||||
<?= lang('book_appointment_title') ?>
|
||||
</a>
|
||||
|
||||
<a href="<?= site_url('backend') ?>" class="btn btn-default btn-large">
|
||||
<span class="glyphicon glyphicon-wrench"></span>
|
||||
<a href="<?= site_url('backend') ?>" class="btn btn-light btn-large">
|
||||
<i class="fas fa-wrench"></i>
|
||||
<?= lang('backend_section') ?>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<title><?= lang('no_privileges') . ' - ' . $company_name ?></title>
|
||||
|
||||
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.min.js') ?>"></script>
|
||||
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
|
||||
|
||||
|
|
3899
assets/bootstrap/css/bootstrap-grid.css
vendored
Normal file
3899
assets/bootstrap/css/bootstrap-grid.css
vendored
Normal file
File diff suppressed because it is too large
Load diff
1
assets/bootstrap/css/bootstrap-grid.css.map
Normal file
1
assets/bootstrap/css/bootstrap-grid.css.map
Normal file
File diff suppressed because one or more lines are too long
7
assets/bootstrap/css/bootstrap-grid.min.css
vendored
Normal file
7
assets/bootstrap/css/bootstrap-grid.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
assets/bootstrap/css/bootstrap-grid.min.css.map
Normal file
1
assets/bootstrap/css/bootstrap-grid.min.css.map
Normal file
File diff suppressed because one or more lines are too long
327
assets/bootstrap/css/bootstrap-reboot.css
vendored
Normal file
327
assets/bootstrap/css/bootstrap-reboot.css
vendored
Normal file
|
@ -0,0 +1,327 @@
|
|||
/*!
|
||||
* Bootstrap Reboot v4.4.1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2019 The Bootstrap Authors
|
||||
* Copyright 2011-2019 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||
*/
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: sans-serif;
|
||||
line-height: 1.15;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #212529;
|
||||
text-align: left;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
[tabindex="-1"]:focus:not(:focus-visible) {
|
||||
outline: 0 !important;
|
||||
}
|
||||
|
||||
hr {
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
abbr[title],
|
||||
abbr[data-original-title] {
|
||||
text-decoration: underline;
|
||||
-webkit-text-decoration: underline dotted;
|
||||
text-decoration: underline dotted;
|
||||
cursor: help;
|
||||
border-bottom: 0;
|
||||
-webkit-text-decoration-skip-ink: none;
|
||||
text-decoration-skip-ink: none;
|
||||
}
|
||||
|
||||
address {
|
||||
margin-bottom: 1rem;
|
||||
font-style: normal;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
ol,
|
||||
ul,
|
||||
dl {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
ol ol,
|
||||
ul ul,
|
||||
ol ul,
|
||||
ul ol {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin-bottom: .5rem;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
position: relative;
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -.25em;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -.5em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #007bff;
|
||||
text-decoration: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #0056b3;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:not([href]) {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:not([href]):hover {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
pre {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
svg {
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
caption {
|
||||
padding-top: 0.75rem;
|
||||
padding-bottom: 0.75rem;
|
||||
color: #6c757d;
|
||||
text-align: left;
|
||||
caption-side: bottom;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: inherit;
|
||||
}
|
||||
|
||||
label {
|
||||
display: inline-block;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
button {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
button:focus {
|
||||
outline: 1px dotted;
|
||||
outline: 5px auto -webkit-focus-ring-color;
|
||||
}
|
||||
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
optgroup,
|
||||
textarea {
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
button,
|
||||
input {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
select {
|
||||
word-wrap: normal;
|
||||
}
|
||||
|
||||
button,
|
||||
[type="button"],
|
||||
[type="reset"],
|
||||
[type="submit"] {
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
button:not(:disabled),
|
||||
[type="button"]:not(:disabled),
|
||||
[type="reset"]:not(:disabled),
|
||||
[type="submit"]:not(:disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button::-moz-focus-inner,
|
||||
[type="button"]::-moz-focus-inner,
|
||||
[type="reset"]::-moz-focus-inner,
|
||||
[type="submit"]::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
input[type="radio"],
|
||||
input[type="checkbox"] {
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
input[type="date"],
|
||||
input[type="time"],
|
||||
input[type="datetime-local"],
|
||||
input[type="month"] {
|
||||
-webkit-appearance: listbox;
|
||||
}
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
legend {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: .5rem;
|
||||
font-size: 1.5rem;
|
||||
line-height: inherit;
|
||||
color: inherit;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
progress {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
[type="number"]::-webkit-inner-spin-button,
|
||||
[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
[type="search"] {
|
||||
outline-offset: -2px;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
font: inherit;
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
output {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
summary {
|
||||
display: list-item;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
/*# sourceMappingURL=bootstrap-reboot.css.map */
|
1
assets/bootstrap/css/bootstrap-reboot.css.map
Normal file
1
assets/bootstrap/css/bootstrap-reboot.css.map
Normal file
File diff suppressed because one or more lines are too long
8
assets/bootstrap/css/bootstrap-reboot.min.css
vendored
Normal file
8
assets/bootstrap/css/bootstrap-reboot.min.css
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
/*!
|
||||
* Bootstrap Reboot v4.4.1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2019 The Bootstrap Authors
|
||||
* Copyright 2011-2019 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]){color:inherit;text-decoration:none}a:not([href]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}
|
||||
/*# sourceMappingURL=bootstrap-reboot.min.css.map */
|
1
assets/bootstrap/css/bootstrap-reboot.min.css.map
Normal file
1
assets/bootstrap/css/bootstrap-reboot.min.css.map
Normal file
File diff suppressed because one or more lines are too long
1
assets/bootstrap/css/bootstrap.min.css.map
Normal file
1
assets/bootstrap/css/bootstrap.min.css.map
Normal file
File diff suppressed because one or more lines are too long
7134
assets/bootstrap/js/bootstrap.bundle.js
vendored
Normal file
7134
assets/bootstrap/js/bootstrap.bundle.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
1
assets/bootstrap/js/bootstrap.bundle.js.map
Normal file
1
assets/bootstrap/js/bootstrap.bundle.js.map
Normal file
File diff suppressed because one or more lines are too long
7
assets/bootstrap/js/bootstrap.bundle.min.js
vendored
Normal file
7
assets/bootstrap/js/bootstrap.bundle.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
assets/bootstrap/js/bootstrap.bundle.min.js.map
Normal file
1
assets/bootstrap/js/bootstrap.bundle.min.js.map
Normal file
File diff suppressed because one or more lines are too long
1
assets/bootstrap/js/bootstrap.js.map
Normal file
1
assets/bootstrap/js/bootstrap.js.map
Normal file
File diff suppressed because one or more lines are too long
1
assets/bootstrap/js/bootstrap.min.js.map
Normal file
1
assets/bootstrap/js/bootstrap.min.js.map
Normal file
File diff suppressed because one or more lines are too long
|
@ -46,32 +46,30 @@ root {
|
|||
font-weight: lighter;
|
||||
}
|
||||
|
||||
#header .navbar-header .navbar-toggle .icon-bar {
|
||||
#header .nav-link {
|
||||
color: white;
|
||||
}
|
||||
|
||||
#header #header-menu .nav-item {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#header #header-menu .nav-item::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 0;
|
||||
height: 3px;
|
||||
display: block;
|
||||
right: 0;
|
||||
background: white;
|
||||
transition: width .2s ease;
|
||||
}
|
||||
|
||||
#header #header-menu .menu-item {
|
||||
cursor: pointer;
|
||||
min-width: 130px;
|
||||
color: #FFF;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
#header #header-menu .menu-item:focus {
|
||||
background-color: inherit;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
#header #header-menu .menu-item:hover:not(.active) {
|
||||
background-color: #2A8F57;
|
||||
}
|
||||
|
||||
#header #header-menu .active {
|
||||
color: #C5FFD6;
|
||||
background: #29A067;
|
||||
#header #header-menu .nav-item:hover:not(.active)::after,
|
||||
#header #header-menu .active::after {
|
||||
width: 90%;
|
||||
left: 5px;
|
||||
background: white;
|
||||
}
|
||||
|
||||
#footer {
|
||||
|
@ -166,7 +164,6 @@ body .modal-header h3 {
|
|||
}
|
||||
|
||||
body .modal-header .close {
|
||||
margin-top: 2px;
|
||||
color: #12482a;
|
||||
}
|
||||
|
||||
|
@ -286,6 +283,11 @@ body legend {
|
|||
margin: 5px 0;
|
||||
}
|
||||
|
||||
#calendar-page .calendar-filter-items {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#calendar-page #calendar-filter label {
|
||||
float: left;
|
||||
display: inline-block;
|
||||
|
@ -318,12 +320,17 @@ body legend {
|
|||
|
||||
#calendar-page #calendar {
|
||||
margin-bottom: 15px;
|
||||
font-size: 15.2px;
|
||||
}
|
||||
|
||||
#calendar-page #calendar .fc-toolbar.fc-header-toolbar h2 {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
#calendar-page #calendar .fc-toolbar.fc-header-toolbar .fc-center {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#calendar-page #calendar .fc-unavailable {
|
||||
background-image: url('../img/unavailable.jpg');
|
||||
font-size: 14px;
|
||||
|
@ -659,7 +666,7 @@ body .form-horizontal .controls {
|
|||
#users-page #providers .switch-view strong {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
margin: 3px 20px;
|
||||
margin-right: 20px;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
|
@ -848,9 +855,14 @@ body .form-horizontal .controls {
|
|||
#header #header-menu .menu-item {
|
||||
min-width: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
#calendar-page #calendar-actions {
|
||||
text-align: left;
|
||||
@media (max-width: 1000px) {
|
||||
#header #header-menu .nav-item:hover:not(.active)::after,
|
||||
#header #header-menu .active::after {
|
||||
width: 100%;
|
||||
left: 0;
|
||||
background: white;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -866,9 +878,24 @@ body .form-horizontal .controls {
|
|||
#calendar-page #calendar-filter label {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
#calendar-page .calendar-filter-items {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
#calendar-page #calendar-actions {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 468px) {
|
||||
#calendar-page #calendar .fc-toolbar.fc-header-toolbar .fc-center {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
#calendar-page .fc-header td {
|
||||
display: block;
|
||||
width: 70vw;
|
||||
|
|
|
@ -96,13 +96,13 @@ body {
|
|||
|
||||
#book-appointment-wizard .book-step {
|
||||
display: inline-block;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
height: 25px;
|
||||
width: 25px;
|
||||
float: left;
|
||||
background: #FFF;
|
||||
padding: 1px;
|
||||
margin-right: 10px;
|
||||
margin-top: 9px;
|
||||
margin-top: 10px;
|
||||
border: 3px solid #79e2a8;
|
||||
}
|
||||
|
||||
|
@ -115,13 +115,13 @@ body {
|
|||
|
||||
#book-appointment-wizard .active-step {
|
||||
display: inline-block;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
height: 35px;
|
||||
width: 35px;
|
||||
float: left;
|
||||
background: #FFF;
|
||||
padding: 1px;
|
||||
margin-right: 10px;
|
||||
margin-top: 3px;
|
||||
margin-top: 5px;
|
||||
border: 3px solid #c0f1d6;
|
||||
}
|
||||
|
||||
|
|
|
@ -395,3 +395,20 @@ li.language:hover {
|
|||
#message_box pre {
|
||||
max-height: 250px;
|
||||
}
|
||||
|
||||
.has-error .control-label,
|
||||
.has-error label {
|
||||
color: #dc3545;
|
||||
}
|
||||
|
||||
.has-error .form-control {
|
||||
border-color: #dc3545;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #17a2b8;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #0a6977;
|
||||
}
|
File diff suppressed because one or more lines are too long
16
assets/ext/bootstrap/css/bootstrap.min.css
vendored
16
assets/ext/bootstrap/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
10
assets/ext/bootstrap/js/bootstrap.min.js
vendored
10
assets/ext/bootstrap/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -102,7 +102,7 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa
|
|||
Backend.displayNotification(EALang.appointment_saved);
|
||||
|
||||
// Close the modal dialog and refresh the calendar appointments.
|
||||
$dialog.find('.alert').addClass('hidden');
|
||||
$dialog.find('.alert').addClass('d-none');
|
||||
$dialog.modal('hide');
|
||||
$('#select-filter-item').trigger('change');
|
||||
};
|
||||
|
@ -110,7 +110,7 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa
|
|||
// Define error callback.
|
||||
var errorCallback = function () {
|
||||
$dialog.find('.modal-message').text(EALang.service_communication_error);
|
||||
$dialog.find('.modal-message').addClass('alert-danger').removeClass('hidden');
|
||||
$dialog.find('.modal-message').addClass('alert-danger').removeClass('d-none');
|
||||
$dialog.find('.modal-body').scrollTop(0);
|
||||
};
|
||||
|
||||
|
@ -493,7 +493,7 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa
|
|||
|
||||
// Reset previous validation css formatting.
|
||||
$dialog.find('.has-error').removeClass('has-error');
|
||||
$dialog.find('.modal-message').addClass('hidden');
|
||||
$dialog.find('.modal-message').addClass('d-none');
|
||||
|
||||
try {
|
||||
// Check required fields.
|
||||
|
@ -526,7 +526,7 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa
|
|||
|
||||
return true;
|
||||
} catch (error) {
|
||||
$dialog.find('.modal-message').addClass('alert-danger').text(error.message).removeClass('hidden');
|
||||
$dialog.find('.modal-message').addClass('alert-danger').text(error.message).removeClass('d-none');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -113,7 +113,7 @@
|
|||
instance.resetForm();
|
||||
$('#add-edit-delete-group').hide();
|
||||
$('#save-cancel-group').show();
|
||||
$('.record-details').find('input, textarea').prop('readonly', false);
|
||||
$('.record-details').find('input, textarea').prop('disabled', false);
|
||||
|
||||
$('#filter-customers button').prop('disabled', true);
|
||||
$('#filter-customers .results').css('color', '#AAA');
|
||||
|
@ -123,7 +123,7 @@
|
|||
* Event: Edit Customer Button "Click"
|
||||
*/
|
||||
$('#edit-customer').click(function () {
|
||||
$('.record-details').find('input, textarea').prop('readonly', false);
|
||||
$('.record-details').find('input, textarea').prop('disabled', false);
|
||||
$('#add-edit-delete-group').hide();
|
||||
$('#save-cancel-group').show();
|
||||
|
||||
|
@ -285,10 +285,10 @@
|
|||
*/
|
||||
CustomersHelper.prototype.resetForm = function () {
|
||||
$('.record-details').find('input, textarea').val('');
|
||||
$('.record-details').find('input, textarea').prop('readonly', true);
|
||||
$('.record-details').find('input, textarea').prop('disabled', true);
|
||||
|
||||
$('#customer-appointments').empty();
|
||||
$('#appointment-details').toggleClass('hidden', true).empty();
|
||||
$('#appointment-details').toggleClass('d-none', true).empty();
|
||||
$('#edit-customer, #delete-customer').prop('disabled', true);
|
||||
$('#add-edit-delete-group').show();
|
||||
$('#save-cancel-group').hide();
|
||||
|
@ -467,7 +467,7 @@
|
|||
EALang.timezone + ': ' + timezone + '<br>' +
|
||||
'</div>';
|
||||
|
||||
$('#appointment-details').html(html).removeClass('hidden');
|
||||
$('#appointment-details').html(html).removeClass('d-none');
|
||||
};
|
||||
|
||||
window.CustomersHelper = CustomersHelper;
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
|
||||
// Add dedicated provider link.
|
||||
var dedicatedUrl = GlobalVariables.baseUrl + '/index.php?service=' + encodeURIComponent(service.id);
|
||||
var linkHtml = '<a href="' + dedicatedUrl + '"><span class="glyphicon glyphicon-link"></span></a>';
|
||||
var linkHtml = '<a href="' + dedicatedUrl + '"><i class="fas fa-link"></i></a>';
|
||||
$('#services .record-details h3')
|
||||
.find('a')
|
||||
.remove()
|
||||
|
@ -92,7 +92,7 @@
|
|||
instance.resetForm();
|
||||
$('#services .add-edit-delete-group').hide();
|
||||
$('#services .save-cancel-group').show();
|
||||
$('#services .record-details').find('input, textarea').prop('readonly', false);
|
||||
$('#services .record-details').find('input, textarea').prop('disabled', false);
|
||||
$('#services .record-details').find('select').prop('disabled', false);
|
||||
|
||||
$('#filter-services button').prop('disabled', true);
|
||||
|
@ -150,7 +150,7 @@
|
|||
$('#edit-service').click(function () {
|
||||
$('#services .add-edit-delete-group').hide();
|
||||
$('#services .save-cancel-group').show();
|
||||
$('#services .record-details').find('input, textarea').prop('readonly', false);
|
||||
$('#services .record-details').find('input, textarea').prop('disabled', false);
|
||||
$('#services .record-details select').prop('disabled', false);
|
||||
|
||||
$('#filter-services button').prop('disabled', true);
|
||||
|
@ -268,7 +268,7 @@
|
|||
$('#services .add-edit-delete-group').show();
|
||||
$('#services .save-cancel-group').hide();
|
||||
$('#edit-service, #delete-service').prop('disabled', true);
|
||||
$('#services .record-details').find('input, textarea').prop('readonly', true);
|
||||
$('#services .record-details').find('input, textarea').prop('disabled', true);
|
||||
$('#services .record-details').find('select').prop('disabled', true);
|
||||
|
||||
$('#filter-services .selected').removeClass('selected');
|
||||
|
|
|
@ -137,7 +137,7 @@ window.BackendSettings = window.BackendSettings || {};
|
|||
|
||||
if (bindEventHandlers) {
|
||||
bindEventHandlers();
|
||||
var $link = $('#settings-page .nav li').not('.hidden').first().find('a');
|
||||
var $link = $('#settings-page .nav li').not('.d-none').first().find('a');
|
||||
$link.tab('show');
|
||||
}
|
||||
|
||||
|
|
|
@ -65,9 +65,9 @@ window.BackendUsers = window.BackendUsers || {};
|
|||
var html = '<div>';
|
||||
$.each(GlobalVariables.services, function (index, service) {
|
||||
html +=
|
||||
'<div class="checkbox">' +
|
||||
'<label class="checkbox">' +
|
||||
'<input type="checkbox" data-id="' + service.id + '" />' +
|
||||
'<div class="custom-control custom-checkbox">' +
|
||||
'<input class="custom-control-input" type="checkbox" id="' + service.id + '" data-id="' + service.id + '" />' +
|
||||
'<label class="custom-control-label" for="' + service.id + '">' +
|
||||
service.name +
|
||||
'</label>' +
|
||||
'</div>';
|
||||
|
@ -79,9 +79,9 @@ window.BackendUsers = window.BackendUsers || {};
|
|||
html = '<div>';
|
||||
$.each(GlobalVariables.providers, function (index, provider) {
|
||||
html +=
|
||||
'<div class="checkbox">' +
|
||||
'<label class="checkbox">' +
|
||||
'<input type="checkbox" data-id="' + provider.id + '" />' +
|
||||
'<div class="custom-control custom-checkbox">' +
|
||||
'<input class="custom-control-input" type="checkbox" id="' + provider.id + '" data-id="' + provider.id + '" />' +
|
||||
'<label class="custom-control-label" for="' + provider.id + '">' +
|
||||
provider.first_name + ' ' + provider.last_name +
|
||||
'</label>' +
|
||||
'</div>';
|
||||
|
@ -139,9 +139,9 @@ window.BackendUsers = window.BackendUsers || {};
|
|||
var html = '<div>';
|
||||
$.each(GlobalVariables.providers, function (index, provider) {
|
||||
html +=
|
||||
'<div class="checkbox">' +
|
||||
'<label class="checkbox">' +
|
||||
'<input type="checkbox" data-id="' + provider.id + '" />' +
|
||||
'<div class="custom-control custom-checkbox">' +
|
||||
'<input class="custom-control-input" type="checkbox" id="' + provider.id + '" data-id="' + provider.id + '" />' +
|
||||
'<label class="custom-control-label" for="' + provider.id + '">' +
|
||||
provider.first_name + ' ' + provider.last_name +
|
||||
'</label>' +
|
||||
'</div>';
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
this.resetForm();
|
||||
$('#admins .add-edit-delete-group').hide();
|
||||
$('#admins .save-cancel-group').show();
|
||||
$('#admins .record-details').find('input, textarea').prop('readonly', false);
|
||||
$('#admins .record-details').find('input, textarea').prop('disabled', false);
|
||||
$('#admins .record-details').find('select').prop('disabled', false);
|
||||
$('#admin-password, #admin-password-confirm').addClass('required');
|
||||
$('#admin-notifications').prop('disabled', false);
|
||||
|
@ -99,7 +99,7 @@
|
|||
$('#admins').on('click', '#edit-admin', function () {
|
||||
$('#admins .add-edit-delete-group').hide();
|
||||
$('#admins .save-cancel-group').show();
|
||||
$('#admins .record-details').find('input, textarea').prop('readonly', false);
|
||||
$('#admins .record-details').find('input, textarea').prop('disabled', false);
|
||||
$('#admins .record-details').find('select').prop('disabled', false);
|
||||
$('#admin-password, #admin-password-confirm').removeClass('required');
|
||||
$('#admin-notifications').prop('disabled', false);
|
||||
|
@ -296,7 +296,7 @@
|
|||
AdminsHelper.prototype.resetForm = function () {
|
||||
$('#admins .add-edit-delete-group').show();
|
||||
$('#admins .save-cancel-group').hide();
|
||||
$('#admins .record-details').find('input, textarea').prop('readonly', true);
|
||||
$('#admins .record-details').find('input, textarea').prop('disabled', true);
|
||||
$('#admins .record-details').find('select').prop('disabled', true);
|
||||
$('#admins .form-message').hide();
|
||||
$('#admin-notifications').prop('disabled', true);
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
$('#filter-providers .results').css('color', '#AAA');
|
||||
$('#providers .add-edit-delete-group').hide();
|
||||
$('#providers .save-cancel-group').show();
|
||||
$('#providers .record-details').find('input, textarea').prop('readonly', false);
|
||||
$('#providers .record-details').find('input, textarea').prop('disabled', false);
|
||||
$('#providers .record-details').find('select').prop('disabled', false);
|
||||
$('#provider-password, #provider-password-confirm').addClass('required');
|
||||
$('#provider-notifications').prop('disabled', false);
|
||||
|
@ -109,7 +109,7 @@
|
|||
$('#providers .save-cancel-group').show();
|
||||
$('#filter-providers button').prop('disabled', true);
|
||||
$('#filter-providers .results').css('color', '#AAA');
|
||||
$('#providers .record-details').find('input, textarea').prop('readonly', false);
|
||||
$('#providers .record-details').find('input, textarea').prop('disabled', false);
|
||||
$('#providers .record-details').find('select').prop('disabled', false);
|
||||
$('#provider-password, #provider-password-confirm').removeClass('required');
|
||||
$('#provider-notifications').prop('disabled', false);
|
||||
|
@ -352,7 +352,7 @@
|
|||
$('#providers .add-edit-delete-group').show();
|
||||
$('#providers .save-cancel-group').hide();
|
||||
$('#providers .record-details h3 a').remove();
|
||||
$('#providers .record-details').find('input, textarea').prop('readonly', true);
|
||||
$('#providers .record-details').find('input, textarea').prop('disabled', true);
|
||||
$('#providers .record-details').find('select').prop('disabled', true);
|
||||
$('#providers .form-message').hide();
|
||||
$('#provider-notifications').removeClass('active');
|
||||
|
@ -403,7 +403,7 @@
|
|||
|
||||
// Add dedicated provider link.
|
||||
var dedicatedUrl = GlobalVariables.baseUrl + '/index.php?provider=' + encodeURIComponent(provider.id);
|
||||
var linkHtml = '<a href="' + dedicatedUrl + '"><span class="glyphicon glyphicon-link"></span></a>';
|
||||
var linkHtml = '<a href="' + dedicatedUrl + '"><i class="fas fa-link"></i></a>';
|
||||
$('#providers .details-view h3')
|
||||
.find('a')
|
||||
.remove()
|
||||
|
@ -419,7 +419,7 @@
|
|||
// Add dedicated service-provider link.
|
||||
dedicatedUrl = GlobalVariables.baseUrl + '/index.php?provider=' + encodeURIComponent(provider.id)
|
||||
+ '&service=' + encodeURIComponent(serviceId);
|
||||
linkHtml = '<a href="' + dedicatedUrl + '"><span class="glyphicon glyphicon-link"></span></a>';
|
||||
linkHtml = '<a href="' + dedicatedUrl + '"><i class="fas fa-link"></i></a>';
|
||||
$(this).parent().append(linkHtml);
|
||||
}
|
||||
});
|
||||
|
@ -532,8 +532,8 @@
|
|||
data: weekDays,
|
||||
event: 'edit',
|
||||
height: '30px',
|
||||
submit: '<button type="button" class="hidden submit-editable">Submit</button>',
|
||||
cancel: '<button type="button" class="hidden cancel-editable">Cancel</button>',
|
||||
submit: '<button type="button" class="d-none submit-editable">Submit</button>',
|
||||
cancel: '<button type="button" class="d-none cancel-editable">Cancel</button>',
|
||||
onblur: 'ignore',
|
||||
onreset: function (settings, td) {
|
||||
if (!BackendUsers.enableCancel) {
|
||||
|
@ -560,8 +560,8 @@
|
|||
}, {
|
||||
event: 'edit',
|
||||
height: '25px',
|
||||
submit: '<button type="button" class="hidden submit-editable">Submit</button>',
|
||||
cancel: '<button type="button" class="hidden cancel-editable">Cancel</button>',
|
||||
submit: '<button type="button" class="d-none submit-editable">Submit</button>',
|
||||
cancel: '<button type="button" class="d-none cancel-editable">Cancel</button>',
|
||||
onblur: 'ignore',
|
||||
onreset: function (settings, td) {
|
||||
if (!BackendUsers.enableCancel) {
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
|
||||
$('#secretaries .add-edit-delete-group').hide();
|
||||
$('#secretaries .save-cancel-group').show();
|
||||
$('#secretaries .record-details').find('input, textarea').prop('readonly', false);
|
||||
$('#secretaries .record-details').find('input, textarea').prop('disabled', false);
|
||||
$('#secretaries .record-details').find('select').prop('disabled', false);
|
||||
$('#secretary-password, #secretary-password-confirm').addClass('required');
|
||||
$('#secretary-notifications').prop('disabled', false);
|
||||
|
@ -106,7 +106,7 @@
|
|||
$('#filter-secretaries .results').css('color', '#AAA');
|
||||
$('#secretaries .add-edit-delete-group').hide();
|
||||
$('#secretaries .save-cancel-group').show();
|
||||
$('#secretaries .record-details').find('input, textarea').prop('readonly', false);
|
||||
$('#secretaries .record-details').find('input, textarea').prop('disabled', false);
|
||||
$('#secretaries .record-details').find('select').prop('disabled', false);
|
||||
$('#secretary-password, #secretary-password-confirm').removeClass('required');
|
||||
$('#secretary-notifications').prop('disabled', false);
|
||||
|
@ -311,7 +311,7 @@
|
|||
$('#secretaries .add-edit-delete-group').show();
|
||||
$('#secretaries .save-cancel-group').hide();
|
||||
$('#edit-secretary, #delete-secretary').prop('disabled', true);
|
||||
$('#secretaries .record-details').find('input, textarea').prop('readonly', true);
|
||||
$('#secretaries .record-details').find('input, textarea').prop('disabled', true);
|
||||
$('#secretaries .record-details').find('select').prop('disabled', true);
|
||||
$('#secretaries .form-message').hide();
|
||||
$('#secretary-notifications').removeClass('active');
|
||||
|
|
|
@ -531,7 +531,7 @@ window.FrontendBook = window.FrontendBook || {};
|
|||
var html =
|
||||
'<h4>' + $('#select-service option:selected').text() + '</h4>' +
|
||||
'<p>'
|
||||
+ '<strong class="text-primary">'
|
||||
+ '<strong class="text-info">'
|
||||
+ $('#select-provider option:selected').text() + '<br>'
|
||||
+ selectedDate + ' ' + $('.selected-hour').text() + '<br>' + $('#select-timezone option:selected').text()
|
||||
+ servicePrice + ' ' + serviceCurrency
|
||||
|
|
|
@ -90,17 +90,17 @@
|
|||
'<td class="break-start editable">' + Date.parse(brk.start).toString(GlobalVariables.timeFormat === 'regular' ? 'h:mm tt' : 'HH:mm').toUpperCase() + '</td>' +
|
||||
'<td class="break-end editable">' + Date.parse(brk.end).toString(GlobalVariables.timeFormat === 'regular' ? 'h:mm tt' : 'HH:mm').toUpperCase() + '</td>' +
|
||||
'<td>' +
|
||||
'<button type="button" class="btn btn-default btn-sm edit-break" title="' + EALang.edit + '">' +
|
||||
'<span class="glyphicon glyphicon-pencil"></span>' +
|
||||
'<button type="button" class="btn btn-light btn-sm edit-break" title="' + EALang.edit + '">' +
|
||||
'<i class="far fa-edit"></i>' +
|
||||
'</button>' +
|
||||
'<button type="button" class="btn btn-default btn-sm delete-break" title="' + EALang.delete + '">' +
|
||||
'<span class="glyphicon glyphicon-remove"></span>' +
|
||||
'<button type="button" class="btn btn-light btn-sm delete-break" title="' + EALang.delete + '">' +
|
||||
'<i class="far fa-trash-alt"></i>' +
|
||||
'</button>' +
|
||||
'<button type="button" class="btn btn-default btn-sm save-break hidden" title="' + EALang.save + '">' +
|
||||
'<span class="glyphicon glyphicon-ok"></span>' +
|
||||
'<button type="button" class="btn btn-light btn-sm save-break hidden" title="' + EALang.save + '">' +
|
||||
'<i class="far fa-check-circle"></i>' +
|
||||
'</button>' +
|
||||
'<button type="button" class="btn btn-default btn-sm cancel-break hidden" title="' + EALang.cancel + '">' +
|
||||
'<span class="glyphicon glyphicon-ban-circle"></span>' +
|
||||
'<button type="button" class="btn btn-light btn-sm cancel-break hidden" title="' + EALang.cancel + '">' +
|
||||
'<i class="fas fa-ban"></i>' +
|
||||
'</button>' +
|
||||
'</td>' +
|
||||
'</tr>';
|
||||
|
@ -190,8 +190,8 @@
|
|||
data: weekDays,
|
||||
event: 'edit',
|
||||
height: '30px',
|
||||
submit: '<button type="button" class="hidden submit-editable">Submit</button>',
|
||||
cancel: '<button type="button" class="hidden cancel-editable">Cancel</button>',
|
||||
submit: '<button type="button" class="d-none submit-editable">Submit</button>',
|
||||
cancel: '<button type="button" class="d-none cancel-editable">Cancel</button>',
|
||||
onblur: 'ignore',
|
||||
onreset: function (settings, td) {
|
||||
if (!this.enableCancel) {
|
||||
|
@ -220,8 +220,8 @@
|
|||
}, {
|
||||
event: 'edit',
|
||||
height: '30px',
|
||||
submit: '<button type="button" class="hidden submit-editable">Submit</button>',
|
||||
cancel: '<button type="button" class="hidden cancel-editable">Cancel</button>',
|
||||
submit: '<button type="button" class="d-none submit-editable">Submit</button>',
|
||||
cancel: '<button type="button" class="d-none cancel-editable">Cancel</button>',
|
||||
onblur: 'ignore',
|
||||
onreset: function (settings, td) {
|
||||
if (!this.enableCancel) {
|
||||
|
@ -270,17 +270,17 @@
|
|||
'<td class="break-start editable">9:00 AM</td>' +
|
||||
'<td class="break-end editable">10:00 AM</td>' +
|
||||
'<td>' +
|
||||
'<button type="button" class="btn btn-default btn-sm edit-break" title="' + EALang.edit + '">' +
|
||||
'<span class="glyphicon glyphicon-pencil"></span>' +
|
||||
'<button type="button" class="btn btn-light btn-sm edit-break" title="' + EALang.edit + '">' +
|
||||
'<i class="far fa-edit"></i>' +
|
||||
'</button>' +
|
||||
'<button type="button" class="btn btn-default btn-sm delete-break" title="' + EALang.delete + '">' +
|
||||
'<span class="glyphicon glyphicon-remove"></span>' +
|
||||
'<button type="button" class="btn btn-light btn-sm delete-break" title="' + EALang.delete + '">' +
|
||||
'<i class="far fa-trash-alt"></i>' +
|
||||
'</button>' +
|
||||
'<button type="button" class="btn btn-default btn-sm save-break hidden" title="' + EALang.save + '">' +
|
||||
'<span class="glyphicon glyphicon-ok"></span>' +
|
||||
'<button type="button" class="btn btn-light btn-sm save-break hidden" title="' + EALang.save + '">' +
|
||||
'<i class="far fa-check-circle"></i>' +
|
||||
'</button>' +
|
||||
'<button type="button" class="btn btn-default btn-sm cancel-break hidden" title="' + EALang.cancel + '">' +
|
||||
'<span class="glyphicon glyphicon-ban-circle"></span>' +
|
||||
'<button type="button" class="btn btn-light btn-sm cancel-break hidden" title="' + EALang.cancel + '">' +
|
||||
'<i class="fas fa-ban"></i>' +
|
||||
'</button>' +
|
||||
'</td>' +
|
||||
'</tr>';
|
||||
|
@ -322,8 +322,8 @@
|
|||
$(this).parent().parent().find('.break-day select').focus();
|
||||
|
||||
// Show save - cancel buttons.
|
||||
$(this).closest('table').find('.edit-break, .delete-break').addClass('hidden');
|
||||
$(this).parent().find('.save-break, .cancel-break').removeClass('hidden');
|
||||
$(this).closest('table').find('.edit-break, .delete-break').addClass('d-none');
|
||||
$(this).parent().find('.save-break, .cancel-break').removeClass('d-none');
|
||||
$(this).closest('tr').find('select,input:text').addClass('form-control input-sm')
|
||||
|
||||
$('.add-break').prop('disabled', true);
|
||||
|
@ -352,8 +352,8 @@
|
|||
$modifiedRow.find('.cancel-editable').trigger('click');
|
||||
this.enableCancel = false;
|
||||
|
||||
$(element).closest('table').find('.edit-break, .delete-break').removeClass('hidden');
|
||||
$modifiedRow.find('.save-break, .cancel-break').addClass('hidden');
|
||||
$(element).closest('table').find('.edit-break, .delete-break').removeClass('d-none');
|
||||
$modifiedRow.find('.save-break, .cancel-break').addClass('d-none');
|
||||
$('.add-break').prop('disabled', false);
|
||||
}.bind(this));
|
||||
|
||||
|
@ -379,8 +379,8 @@
|
|||
$modifiedRow.find('.editable .submit-editable').trigger('click');
|
||||
this.enableSubmit = false;
|
||||
|
||||
$modifiedRow.find('.save-break, .cancel-break').addClass('hidden');
|
||||
$(element).closest('table').find('.edit-break, .delete-break').removeClass('hidden');
|
||||
$modifiedRow.find('.save-break, .cancel-break').addClass('d-none');
|
||||
$(element).closest('table').find('.edit-break, .delete-break').removeClass('d-none');
|
||||
$('.add-break').prop('disabled', false);
|
||||
|
||||
// Refresh working plan to have the new break sorted in the break list.
|
||||
|
|
4626
package-lock.json
generated
4626
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -24,7 +24,7 @@
|
|||
"node": ">=10"
|
||||
},
|
||||
"dependencies": {
|
||||
"bootstrap": "^3.4.1",
|
||||
"bootstrap": "^4.4.1",
|
||||
"cookieconsent": "^3.1.1",
|
||||
"datatables": "^1.10.18",
|
||||
"datejs": "0.0.2",
|
||||
|
|
Loading…
Reference in a new issue