Updated the margin helper classes

This commit is contained in:
Alex Tselegidis 2021-11-23 08:41:37 +01:00
parent 684b7e700e
commit 0088065e43
30 changed files with 96 additions and 96 deletions

View file

@ -164,12 +164,12 @@
<?= lang('customer_details_title') ?> <?= lang('customer_details_title') ?>
<button id="new-customer" class="btn btn-outline-secondary btn-sm" type="button" <button id="new-customer" class="btn btn-outline-secondary btn-sm" type="button"
data-tippy-content="<?= lang('clear_fields_add_existing_customer_hint') ?>"> data-tippy-content="<?= lang('clear_fields_add_existing_customer_hint') ?>">
<i class="fas fa-plus-square mr-2"></i> <i class="fas fa-plus-square me-2"></i>
<?= lang('new') ?> <?= lang('new') ?>
</button> </button>
<button id="select-customer" class="btn btn-outline-secondary btn-sm" type="button" <button id="select-customer" class="btn btn-outline-secondary btn-sm" type="button"
data-tippy-content="<?= lang('pick_existing_customer_hint') ?>"> data-tippy-content="<?= lang('pick_existing_customer_hint') ?>">
<i class="fas fa-hand-pointer mr-2"></i> <i class="fas fa-hand-pointer me-2"></i>
<span> <span>
<?= lang('select') ?> <?= lang('select') ?>
</span> </span>
@ -259,7 +259,7 @@
<?= lang('cancel') ?> <?= lang('cancel') ?>
</button> </button>
<button id="save-appointment" class="btn btn-primary"> <button id="save-appointment" class="btn btn-primary">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('save') ?> <?= lang('save') ?>
</button> </button>
</div> </div>

View file

@ -75,7 +75,7 @@
<?= lang('cancel') ?> <?= lang('cancel') ?>
</button> </button>
<button id="save-unavailable" class="btn btn-primary"> <button id="save-unavailable" class="btn btn-primary">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('save') ?> <?= lang('save') ?>
</button> </button>
</div> </div>

View file

@ -15,11 +15,11 @@
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button class="btn btn-outline-secondary" data-dismiss="modal"> <button class="btn btn-outline-secondary" data-dismiss="modal">
<i class="fas fa-ban mr-2"></i> <i class="fas fa-ban me-2"></i>
<?= lang('cancel') ?> <?= lang('cancel') ?>
</button> </button>
<button id="select-calendar" class="btn btn-primary"> <button id="select-calendar" class="btn btn-primary">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('select') ?> <?= lang('select') ?>
</button> </button>
</div> </div>

View file

@ -30,7 +30,7 @@
<div> <div>
<button type="button" class="btn btn-primary working-plan-exceptions-add-break"> <button type="button" class="btn btn-primary working-plan-exceptions-add-break">
<i class="fas fa-plus-square mr-2"></i> <i class="fas fa-plus-square me-2"></i>
<?= lang('add_break') ?> <?= lang('add_break') ?>
</button> </button>
</div> </div>

View file

@ -5,7 +5,7 @@
?> ?>
<div id="footer"> <div id="footer">
<div id="footer-content" class="col-12 col-sm-8"> <div id="footer-content" class="col-12 col-sm-8">
<img class="mr-1" src="<?= base_url('assets/img/logo-16x16.png') ?>" alt="Easy!Appointments Logo"> <img class="me-1" src="<?= base_url('assets/img/logo-16x16.png') ?>" alt="Easy!Appointments Logo">
<a href="https://easyappointments.org"> <a href="https://easyappointments.org">
Easy!Appointments Easy!Appointments
</a> </a>
@ -33,7 +33,7 @@
| |
<span id="select-language" class="badge bg-secondary"> <span id="select-language" class="badge bg-secondary">
<i class="fas fa-language mr-2"></i> <i class="fas fa-language me-2"></i>
<?= ucfirst(config('language')) ?> <?= ucfirst(config('language')) ?>
</span> </span>

View file

@ -12,7 +12,7 @@
<small>Open Source Appointment Scheduler</small> <small>Open Source Appointment Scheduler</small>
</div> </div>
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-target="#header-menu"> <button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#header-menu">
<span class="sr-only">Toggle navigation</span> <span class="sr-only">Toggle navigation</span>
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>
@ -24,7 +24,7 @@
<li class="nav-item <?= $active . $hidden ?>"> <li class="nav-item <?= $active . $hidden ?>">
<a href="<?= site_url('backend') ?>" class="nav-link" <a href="<?= site_url('backend') ?>" class="nav-link"
data-tippy-content="<?= lang('manage_appointment_record_hint') ?>"> data-tippy-content="<?= lang('manage_appointment_record_hint') ?>">
<i class="fas fa-calendar-alt mr-2"></i> <i class="fas fa-calendar-alt me-2"></i>
<?= lang('calendar') ?> <?= lang('calendar') ?>
</a> </a>
</li> </li>
@ -34,7 +34,7 @@
<li class="nav-item <?= $active . $hidden ?>"> <li class="nav-item <?= $active . $hidden ?>">
<a href="<?= site_url('backend/customers') ?>" class="nav-link" <a href="<?= site_url('backend/customers') ?>" class="nav-link"
data-tippy-content="<?= lang('manage_customers_hint') ?>"> data-tippy-content="<?= lang('manage_customers_hint') ?>">
<i class="fas fa-user-friends mr-2"></i> <i class="fas fa-user-friends me-2"></i>
<?= lang('customers') ?> <?= lang('customers') ?>
</a> </a>
</li> </li>
@ -44,7 +44,7 @@
<li class="nav-item dropdown <?= $active . $hidden ?>"> <li class="nav-item dropdown <?= $active . $hidden ?>">
<a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown" <a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown"
data-tippy-content="<?= lang('manage_services_hint') ?>"> data-tippy-content="<?= lang('manage_services_hint') ?>">
<i class="fas fa-business-time mr-2"></i> <i class="fas fa-business-time me-2"></i>
<?= lang('services') ?> <?= lang('services') ?>
</a> </a>
<div class="dropdown-menu dropdown-menu-right"> <div class="dropdown-menu dropdown-menu-right">
@ -62,7 +62,7 @@
<li class="nav-item dropdown <?= $active . $hidden ?>"> <li class="nav-item dropdown <?= $active . $hidden ?>">
<a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown" <a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown"
data-tippy-content="<?= lang('manage_users_hint') ?>"> data-tippy-content="<?= lang('manage_users_hint') ?>">
<i class="fas fa-business-time mr-2"></i> <i class="fas fa-business-time me-2"></i>
<?= lang('users') ?> <?= lang('users') ?>
</a> </a>
<div class="dropdown-menu dropdown-menu-right"> <div class="dropdown-menu dropdown-menu-right">
@ -84,7 +84,7 @@
<li class="nav-item dropdown <?= $active . $hidden ?>"> <li class="nav-item dropdown <?= $active . $hidden ?>">
<a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown" <a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown"
data-tippy-content="<?= lang('settings_hint') ?>"> data-tippy-content="<?= lang('settings_hint') ?>">
<i class="fas fa-cogs mr-2"></i> <i class="fas fa-cogs me-2"></i>
<?= lang('settings') ?> <?= lang('settings') ?>
</a> </a>
<div class="dropdown-menu dropdown-menu-right"> <div class="dropdown-menu dropdown-menu-right">

View file

@ -8,12 +8,12 @@
<span class="footer-options"> <span class="footer-options">
<span id="select-language" class="badge bg-secondary"> <span id="select-language" class="badge bg-secondary">
<i class="fas fa-language mr-2"></i> <i class="fas fa-language me-2"></i>
<?= ucfirst(config('language')) ?> <?= ucfirst(config('language')) ?>
</span> </span>
<a class="backend-link badge bg-primary" href="<?= site_url('backend'); ?>"> <a class="backend-link badge bg-primary" href="<?= site_url('backend'); ?>">
<i class="fas fa-sign-in-alt mr-2"></i> <i class="fas fa-sign-in-alt me-2"></i>
<?= session('user_id') ? lang('backend_section') : lang('login') ?> <?= session('user_id') ? lang('backend_section') : lang('login') ?>
</a> </a>
</span> </span>

View file

@ -32,7 +32,7 @@
<div class="form-group"> <div class="form-group">
<button type="submit" id="login" class="btn btn-primary"> <button type="submit" id="login" class="btn btn-primary">
<i class="fas fa-sign-in-alt mr-2"></i> <i class="fas fa-sign-in-alt me-2"></i>
<?= lang('login') ?> <?= lang('login') ?>
</button> </button>
</div> </div>

View file

@ -11,12 +11,12 @@
<br> <br>
<a href="<?= site_url() ?>" class="btn btn-success btn-large"> <a href="<?= site_url() ?>" class="btn btn-success btn-large">
<i class="fas fa-calendar-alt mr-2"></i> <i class="fas fa-calendar-alt me-2"></i>
<?= lang('book_appointment_title') ?> <?= lang('book_appointment_title') ?>
</a> </a>
<a href="<?= site_url('backend') ?>" class="btn btn-outline-secondary btn-large"> <a href="<?= site_url('backend') ?>" class="btn btn-outline-secondary btn-large">
<i class="fas fa-wrench mr-2"></i> <i class="fas fa-wrench me-2"></i>
<?= lang('backend_section') ?> <?= lang('backend_section') ?>
</a> </a>

View file

@ -10,7 +10,7 @@
<br> <br>
<a href="<?= site_url('backend') ?>" class="btn btn-success btn-large"> <a href="<?= site_url('backend') ?>" class="btn btn-success btn-large">
<i class="icon-calendar icon-white mr-2"></i> <i class="icon-calendar icon-white me-2"></i>
<?= lang('backend_calendar') ?> <?= lang('backend_calendar') ?>
</a> </a>

View file

@ -23,7 +23,7 @@
<br> <br>
<button type="submit" id="get-new-password" class="btn btn-primary btn-large"> <button type="submit" id="get-new-password" class="btn btn-primary btn-large">
<i class="fas fa-unlock-alt mr-2"></i> <i class="fas fa-unlock-alt me-2"></i>
<?= lang('regenerate_password') ?> <?= lang('regenerate_password') ?>
</button> </button>

View file

@ -64,26 +64,26 @@
<div class="btn-toolbar mb-4"> <div class="btn-toolbar mb-4">
<div class="add-edit-delete-group btn-group"> <div class="add-edit-delete-group btn-group">
<button id="add-admin" class="btn btn-primary"> <button id="add-admin" class="btn btn-primary">
<i class="fas fa-plus-square mr-2"></i> <i class="fas fa-plus-square me-2"></i>
<?= lang('add') ?> <?= lang('add') ?>
</button> </button>
<button id="edit-admin" class="btn btn-outline-secondary" disabled="disabled"> <button id="edit-admin" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-edit mr-2"></i> <i class="fas fa-edit me-2"></i>
<?= lang('edit') ?> <?= lang('edit') ?>
</button> </button>
<button id="delete-admin" class="btn btn-outline-secondary" disabled="disabled"> <button id="delete-admin" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-trash-alt mr-2"></i> <i class="fas fa-trash-alt me-2"></i>
<?= lang('delete') ?> <?= lang('delete') ?>
</button> </button>
</div> </div>
<div class="save-cancel-group btn-group" style="display:none;"> <div class="save-cancel-group btn-group" style="display:none;">
<button id="save-admin" class="btn btn-primary"> <button id="save-admin" class="btn btn-primary">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('save') ?> <?= lang('save') ?>
</button> </button>
<button id="cancel-admin" class="btn btn-outline-secondary"> <button id="cancel-admin" class="btn btn-outline-secondary">
<i class="fas fa-ban mr-2"></i> <i class="fas fa-ban me-2"></i>
<?= lang('cancel') ?> <?= lang('cancel') ?>
</button> </button>
</div> </div>

View file

@ -98,7 +98,7 @@
<button type="button" id="button-next-1" class="btn button-next btn-dark" <button type="button" id="button-next-1" class="btn button-next btn-dark"
data-step_index="1"> data-step_index="1">
<?= lang('next') ?> <?= lang('next') ?>
<i class="fas fa-chevron-right ml-2"></i> <i class="fas fa-chevron-right ms-2"></i>
</button> </button>
</div> </div>
</div> </div>

View file

@ -30,13 +30,13 @@
<div class="command-buttons"> <div class="command-buttons">
<button type="button" id="button-back-2" class="btn button-back btn-outline-secondary" <button type="button" id="button-back-2" class="btn button-back btn-outline-secondary"
data-step_index="2"> data-step_index="2">
<i class="fas fa-chevron-left mr-2"></i> <i class="fas fa-chevron-left me-2"></i>
<?= lang('back') ?> <?= lang('back') ?>
</button> </button>
<button type="button" id="button-next-2" class="btn button-next btn-dark" <button type="button" id="button-next-2" class="btn button-next btn-dark"
data-step_index="2"> data-step_index="2">
<?= lang('next') ?> <?= lang('next') ?>
<i class="fas fa-chevron-right ml-2"></i> <i class="fas fa-chevron-right ms-2"></i>
</button> </button>
</div> </div>
</div> </div>

View file

@ -81,7 +81,7 @@
<label class="form-check-label" for="accept-to-terms-and-conditions"> <label class="form-check-label" for="accept-to-terms-and-conditions">
<?= strtr(lang('read_and_agree_to_terms_and_conditions'), <?= strtr(lang('read_and_agree_to_terms_and_conditions'),
[ [
'{$link}' => '<a href="#" data-bs-toggle="modal" data-target="#terms-and-conditions-modal">', '{$link}' => '<a href="#" data-bs-toggle="modal" data-bs-target="#terms-and-conditions-modal">',
'{/$link}' => '</a>' '{/$link}' => '</a>'
]) ])
?> ?>
@ -95,7 +95,7 @@
<label class="form-check-label" for="accept-to-privacy-policy"> <label class="form-check-label" for="accept-to-privacy-policy">
<?= strtr(lang('read_and_agree_to_privacy_policy'), <?= strtr(lang('read_and_agree_to_privacy_policy'),
[ [
'{$link}' => '<a href="#" data-bs-toggle="modal" data-target="#privacy-policy-modal">', '{$link}' => '<a href="#" data-bs-toggle="modal" data-bs-target="#privacy-policy-modal">',
'{/$link}' => '</a>' '{/$link}' => '</a>'
]) ])
?> ?>
@ -106,13 +106,13 @@
<div class="command-buttons"> <div class="command-buttons">
<button type="button" id="button-back-3" class="btn button-back btn-outline-secondary" <button type="button" id="button-back-3" class="btn button-back btn-outline-secondary"
data-step_index="3"> data-step_index="3">
<i class="fas fa-chevron-left mr-2"></i> <i class="fas fa-chevron-left me-2"></i>
<?= lang('back') ?> <?= lang('back') ?>
</button> </button>
<button type="button" id="button-next-3" class="btn button-next btn-dark" <button type="button" id="button-next-3" class="btn button-next btn-dark"
data-step_index="3"> data-step_index="3">
<?= lang('next') ?> <?= lang('next') ?>
<i class="fas fa-chevron-right ml-2"></i> <i class="fas fa-chevron-right ms-2"></i>
</button> </button>
</div> </div>
</div> </div>

View file

@ -25,12 +25,12 @@
<div class="command-buttons"> <div class="command-buttons">
<button type="button" id="button-back-4" class="btn button-back btn-outline-secondary" <button type="button" id="button-back-4" class="btn button-back btn-outline-secondary"
data-step_index="4"> data-step_index="4">
<i class="fas fa-chevron-left mr-2"></i> <i class="fas fa-chevron-left me-2"></i>
<?= lang('back') ?> <?= lang('back') ?>
</button> </button>
<form id="book-appointment-form" style="display:inline-block" method="post"> <form id="book-appointment-form" style="display:inline-block" method="post">
<button id="book-appointment-submit" type="button" class="btn btn-success"> <button id="book-appointment-submit" type="button" class="btn btn-success">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= ! $manage_mode ? lang('confirm') : lang('update') ?> <?= ! $manage_mode ? lang('confirm') : lang('update') ?>
</button> </button>
<input type="hidden" name="csrfToken"/> <input type="hidden" name="csrfToken"/>

View file

@ -93,7 +93,7 @@
<button id="enable-sync" class="btn btn-light" data-bs-toggle="button" <button id="enable-sync" class="btn btn-light" data-bs-toggle="button"
data-tippy-content="<?= lang('enable_appointment_sync_hint') ?>"> data-tippy-content="<?= lang('enable_appointment_sync_hint') ?>">
<i class="fas fa-calendar-alt mr-2"></i> <i class="fas fa-calendar-alt me-2"></i>
<span><?= lang('enable_sync') ?></span> <span><?= lang('enable_sync') ?></span>
</button> </button>
<?php endif ?> <?php endif ?>
@ -101,7 +101,7 @@
<?php if ($privileges[PRIV_APPOINTMENTS]['add'] == TRUE): ?> <?php if ($privileges[PRIV_APPOINTMENTS]['add'] == TRUE): ?>
<div class="btn-group"> <div class="btn-group">
<button class="btn btn-light" id="insert-appointment"> <button class="btn btn-light" id="insert-appointment">
<i class="fas fa-plus-square mr-2"></i> <i class="fas fa-plus-square me-2"></i>
<?= lang('appointment') ?> <?= lang('appointment') ?>
</button> </button>
@ -112,12 +112,12 @@
<div class="dropdown-menu"> <div class="dropdown-menu">
<a class="dropdown-item" href="#" id="insert-unavailable"> <a class="dropdown-item" href="#" id="insert-unavailable">
<i class="fas fa-plus-square mr-2"></i> <i class="fas fa-plus-square me-2"></i>
<?= lang('unavailable') ?> <?= lang('unavailable') ?>
</a> </a>
<a class="dropdown-item" href="#" id="insert-working-plan-exception" <a class="dropdown-item" href="#" id="insert-working-plan-exception"
<?= $this->session->userdata('role_slug') !== 'admin' ? 'hidden' : '' ?>> <?= $this->session->userdata('role_slug') !== 'admin' ? 'hidden' : '' ?>>
<i class="fas fa-plus-square mr-2"></i> <i class="fas fa-plus-square me-2"></i>
<?= lang('working_plan_exception') ?> <?= lang('working_plan_exception') ?>
</a> </a>
</div> </div>

View file

@ -80,21 +80,21 @@
<div id="add-edit-delete-group" class="btn-group"> <div id="add-edit-delete-group" class="btn-group">
<?php if ($privileges[PRIV_CUSTOMERS]['add'] === TRUE): ?> <?php if ($privileges[PRIV_CUSTOMERS]['add'] === TRUE): ?>
<button id="add-customer" class="btn btn-primary"> <button id="add-customer" class="btn btn-primary">
<i class="fas fa-plus-square mr-2"></i> <i class="fas fa-plus-square me-2"></i>
<?= lang('add') ?> <?= lang('add') ?>
</button> </button>
<?php endif ?> <?php endif ?>
<?php if ($privileges[PRIV_CUSTOMERS]['edit'] === TRUE): ?> <?php if ($privileges[PRIV_CUSTOMERS]['edit'] === TRUE): ?>
<button id="edit-customer" class="btn btn-outline-secondary" disabled="disabled"> <button id="edit-customer" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-edit mr-2"></i> <i class="fas fa-edit me-2"></i>
<?= lang('edit') ?> <?= lang('edit') ?>
</button> </button>
<?php endif ?> <?php endif ?>
<?php if ($privileges[PRIV_CUSTOMERS]['delete'] === TRUE): ?> <?php if ($privileges[PRIV_CUSTOMERS]['delete'] === TRUE): ?>
<button id="delete-customer" class="btn btn-outline-secondary" disabled="disabled"> <button id="delete-customer" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-trash-alt mr-2"></i> <i class="fas fa-trash-alt me-2"></i>
<?= lang('delete') ?> <?= lang('delete') ?>
</button> </button>
<?php endif ?> <?php endif ?>
@ -102,11 +102,11 @@
<div id="save-cancel-group" class="btn-group" style="display:none;"> <div id="save-cancel-group" class="btn-group" style="display:none;">
<button id="save-customer" class="btn btn-primary"> <button id="save-customer" class="btn btn-primary">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('save') ?> <?= lang('save') ?>
</button> </button>
<button id="cancel-customer" class="btn btn-outline-secondary"> <button id="cancel-customer" class="btn btn-outline-secondary">
<i class="fas fa-ban mr-2"></i> <i class="fas fa-ban me-2"></i>
<?= lang('cancel') ?> <?= lang('cancel') ?>
</button> </button>
</div> </div>

View file

@ -124,7 +124,7 @@
<br> <br>
<button type="button" id="install" class="btn btn-success btn-large"> <button type="button" id="install" class="btn btn-success btn-large">
<i class="icon-white icon-ok mr-2"></i> <i class="icon-white icon-ok me-2"></i>
Install Easy!Appointments Install Easy!Appointments
</button> </button>
</div> </div>

View file

@ -39,7 +39,7 @@
You can now use the latest Easy!Appointments version. You can now use the latest Easy!Appointments version.
</p> </p>
<a href="<?= site_url('backend') ?>" class="btn btn-success btn-large"> <a href="<?= site_url('backend') ?>" class="btn btn-success btn-large">
<i class="fas fa-wrench mr-2"></i> <i class="fas fa-wrench me-2"></i>
<?= lang('backend_section') ?> <?= lang('backend_section') ?>
</a> </a>
</div> </div>
@ -54,7 +54,7 @@
Please restore your database backup. Please restore your database backup.
</p> </p>
<a href="<?= site_url('backend') ?>" class="btn btn-success btn-large"> <a href="<?= site_url('backend') ?>" class="btn btn-success btn-large">
<i class="fas fa-wrench mr-2"></i> <i class="fas fa-wrench me-2"></i>
<?= lang('backend_section') ?> <?= lang('backend_section') ?>
</a> </a>

View file

@ -67,29 +67,29 @@
</div> </div>
<div class="record-details column col-12 col-md-7"> <div class="record-details column col-12 col-md-7">
<div class="float-md-left mb-4 mr-4"> <div class="float-md-left mb-4 me-4">
<div class="add-edit-delete-group btn-group"> <div class="add-edit-delete-group btn-group">
<button id="add-provider" class="btn btn-primary"> <button id="add-provider" class="btn btn-primary">
<i class="fas fa-plus-square mr-2"></i> <i class="fas fa-plus-square me-2"></i>
<?= lang('add') ?> <?= lang('add') ?>
</button> </button>
<button id="edit-provider" class="btn btn-outline-secondary" disabled="disabled"> <button id="edit-provider" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-edit mr-2"></i> <i class="fas fa-edit me-2"></i>
<?= lang('edit') ?> <?= lang('edit') ?>
</button> </button>
<button id="delete-provider" class="btn btn-outline-secondary" disabled="disabled"> <button id="delete-provider" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-trash-alt mr-2"></i> <i class="fas fa-trash-alt me-2"></i>
<?= lang('delete') ?> <?= lang('delete') ?>
</button> </button>
</div> </div>
<div class="save-cancel-group btn-group" style="display:none;"> <div class="save-cancel-group btn-group" style="display:none;">
<button id="save-provider" class="btn btn-primary"> <button id="save-provider" class="btn btn-primary">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('save') ?> <?= lang('save') ?>
</button> </button>
<button id="cancel-provider" class="btn btn-outline-secondary"> <button id="cancel-provider" class="btn btn-outline-secondary">
<i class="fas fa-ban mr-2"></i> <i class="fas fa-ban me-2"></i>
<?= lang('cancel') ?> <?= lang('cancel') ?>
</button> </button>
</div> </div>
@ -268,7 +268,7 @@
<h3><?= lang('working_plan') ?></h3> <h3><?= lang('working_plan') ?></h3>
<button id="reset-working-plan" class="btn btn-primary" <button id="reset-working-plan" class="btn btn-primary"
data-tippy-content="<?= lang('reset_working_plan') ?>"> data-tippy-content="<?= lang('reset_working_plan') ?>">
<i class="fas fa-redo-alt mr-2"></i> <i class="fas fa-redo-alt me-2"></i>
<?= lang('reset_plan') ?></button> <?= lang('reset_plan') ?></button>
<table class="working-plan table table-striped mt-2"> <table class="working-plan table table-striped mt-2">
<thead> <thead>
@ -291,7 +291,7 @@
<div> <div>
<button type="button" class="add-break btn btn-primary"> <button type="button" class="add-break btn btn-primary">
<i class="fas fa-plus-square mr-2"></i> <i class="fas fa-plus-square me-2"></i>
<?= lang('add_break') ?> <?= lang('add_break') ?>
</button> </button>
</div> </div>
@ -319,7 +319,7 @@
</p> </p>
<div> <div>
<button type="button" class="add-working-plan-exception btn btn-primary mr-2"> <button type="button" class="add-working-plan-exception btn btn-primary me-2">
<i class="fas fa-plus-square"></i> <i class="fas fa-plus-square"></i>
<?= lang('add_working_plan_exception') ?> <?= lang('add_working_plan_exception') ?>
</button> </button>

View file

@ -66,26 +66,26 @@
<div class="btn-toolbar mb-4"> <div class="btn-toolbar mb-4">
<div class="add-edit-delete-group btn-group"> <div class="add-edit-delete-group btn-group">
<button id="add-secretary" class="btn btn-primary"> <button id="add-secretary" class="btn btn-primary">
<i class="fas fa-plus-square mr-2"></i> <i class="fas fa-plus-square me-2"></i>
<?= lang('add') ?> <?= lang('add') ?>
</button> </button>
<button id="edit-secretary" class="btn btn-outline-secondary" disabled="disabled"> <button id="edit-secretary" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-edit mr-2"></i> <i class="fas fa-edit me-2"></i>
<?= lang('edit') ?> <?= lang('edit') ?>
</button> </button>
<button id="delete-secretary" class="btn btn-outline-secondary" disabled="disabled"> <button id="delete-secretary" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-trash-alt mr-2"></i> <i class="fas fa-trash-alt me-2"></i>
<?= lang('delete') ?> <?= lang('delete') ?>
</button> </button>
</div> </div>
<div class="save-cancel-group btn-group" style="display:none;"> <div class="save-cancel-group btn-group" style="display:none;">
<button id="save-secretary" class="btn btn-primary"> <button id="save-secretary" class="btn btn-primary">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('save') ?> <?= lang('save') ?>
</button> </button>
<button id="cancel-secretary" class="btn btn-outline-secondary"> <button id="cancel-secretary" class="btn btn-outline-secondary">
<i class="fas fa-ban mr-2"></i> <i class="fas fa-ban me-2"></i>
<?= lang('cancel') ?> <?= lang('cancel') ?>
</button> </button>
</div> </div>

View file

@ -63,26 +63,26 @@
<div class="btn-toolbar mb-4"> <div class="btn-toolbar mb-4">
<div class="add-edit-delete-group btn-group"> <div class="add-edit-delete-group btn-group">
<button id="add-category" class="btn btn-primary"> <button id="add-category" class="btn btn-primary">
<i class="fas fa-plus-square mr-2"></i> <i class="fas fa-plus-square me-2"></i>
<?= lang('add') ?> <?= lang('add') ?>
</button> </button>
<button id="edit-category" class="btn btn-outline-secondary" disabled="disabled"> <button id="edit-category" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-edit mr-2"></i> <i class="fas fa-edit me-2"></i>
<?= lang('edit') ?> <?= lang('edit') ?>
</button> </button>
<button id="delete-category" class="btn btn-outline-secondary" disabled="disabled"> <button id="delete-category" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-trash-alt mr-2"></i> <i class="fas fa-trash-alt me-2"></i>
<?= lang('delete') ?> <?= lang('delete') ?>
</button> </button>
</div> </div>
<div class="save-cancel-group btn-group" style="display:none;"> <div class="save-cancel-group btn-group" style="display:none;">
<button id="save-category" class="btn btn-primary"> <button id="save-category" class="btn btn-primary">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('save') ?> <?= lang('save') ?>
</button> </button>
<button id="cancel-category" class="btn btn-outline-secondary"> <button id="cancel-category" class="btn btn-outline-secondary">
<i class="fas fa-ban mr-2"></i> <i class="fas fa-ban me-2"></i>
<?= lang('cancel') ?> <?= lang('cancel') ?>
</button> </button>
</div> </div>

View file

@ -62,26 +62,26 @@
<div class="btn-toolbar mb-4"> <div class="btn-toolbar mb-4">
<div class="add-edit-delete-group btn-group"> <div class="add-edit-delete-group btn-group">
<button id="add-service" class="btn btn-primary"> <button id="add-service" class="btn btn-primary">
<i class="fas fa-plus-square mr-2"></i> <i class="fas fa-plus-square me-2"></i>
<?= lang('add') ?> <?= lang('add') ?>
</button> </button>
<button id="edit-service" class="btn btn-outline-secondary" disabled="disabled"> <button id="edit-service" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-edit mr-2"></i> <i class="fas fa-edit me-2"></i>
<?= lang('edit') ?> <?= lang('edit') ?>
</button> </button>
<button id="delete-service" class="btn btn-outline-secondary" disabled="disabled"> <button id="delete-service" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-trash-alt mr-2"></i> <i class="fas fa-trash-alt me-2"></i>
<?= lang('delete') ?> <?= lang('delete') ?>
</button> </button>
</div> </div>
<div class="save-cancel-group btn-group" style="display:none;"> <div class="save-cancel-group btn-group" style="display:none;">
<button id="save-service" class="btn btn-primary"> <button id="save-service" class="btn btn-primary">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('save') ?> <?= lang('save') ?>
</button> </button>
<button id="cancel-service" class="btn btn-outline-secondary"> <button id="cancel-service" class="btn btn-outline-secondary">
<i class="fas fa-ban mr-2"></i> <i class="fas fa-ban me-2"></i>
<?= lang('cancel') ?> <?= lang('cancel') ?>
</button> </button>
</div> </div>

View file

@ -50,7 +50,7 @@
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['edit'] == TRUE): ?> <?php if ($privileges[PRIV_SYSTEM_SETTINGS]['edit'] == TRUE): ?>
<button type="button" class="save-settings btn btn-primary btn-sm mb-2" <button type="button" class="save-settings btn btn-primary btn-sm mb-2"
data-tippy-content="<?= lang('save') ?>"> data-tippy-content="<?= lang('save') ?>">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('save') ?> <?= lang('save') ?>
</button> </button>
<?php endif ?> <?php endif ?>

View file

@ -48,7 +48,7 @@
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['edit'] == TRUE): ?> <?php if ($privileges[PRIV_SYSTEM_SETTINGS]['edit'] == TRUE): ?>
<button type="button" class="save-settings btn btn-primary btn-sm mb-2" <button type="button" class="save-settings btn btn-primary btn-sm mb-2"
data-tippy-content="<?= lang('save') ?>"> data-tippy-content="<?= lang('save') ?>">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('save') ?> <?= lang('save') ?>
</button> </button>
<?php endif ?> <?php endif ?>

View file

@ -48,7 +48,7 @@
<?php if ($privileges[PRIV_USER_SETTINGS]['edit'] == TRUE): ?> <?php if ($privileges[PRIV_USER_SETTINGS]['edit'] == TRUE): ?>
<button type="button" class="save-settings btn btn-primary btn-sm mb-2" <button type="button" class="save-settings btn btn-primary btn-sm mb-2"
data-tippy-content="<?= lang('save') ?>"> data-tippy-content="<?= lang('save') ?>">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('save') ?> <?= lang('save') ?>
</button> </button>
<?php endif ?> <?php endif ?>

View file

@ -46,7 +46,7 @@
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['edit'] == TRUE): ?> <?php if ($privileges[PRIV_SYSTEM_SETTINGS]['edit'] == TRUE): ?>
<button type="button" class="save-settings btn btn-primary btn-sm mb-2" <button type="button" class="save-settings btn btn-primary btn-sm mb-2"
data-tippy-content="<?= lang('save') ?>"> data-tippy-content="<?= lang('save') ?>">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('save') ?> <?= lang('save') ?>
</button> </button>
<?php endif ?> <?php endif ?>

View file

@ -44,7 +44,7 @@
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['edit'] == TRUE): ?> <?php if ($privileges[PRIV_SYSTEM_SETTINGS]['edit'] == TRUE): ?>
<button type="button" class="save-settings btn btn-primary btn-sm mb-2" <button type="button" class="save-settings btn btn-primary btn-sm mb-2"
data-tippy-content="<?= lang('save') ?>"> data-tippy-content="<?= lang('save') ?>">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('save') ?> <?= lang('save') ?>
</button> </button>
<?php endif ?> <?php endif ?>

View file

@ -112,29 +112,29 @@
</div> </div>
<div class="record-details column col-12 col-md-7"> <div class="record-details column col-12 col-md-7">
<div class="float-md-left mb-4 mr-4"> <div class="float-md-left mb-4 me-4">
<div class="add-edit-delete-group btn-group"> <div class="add-edit-delete-group btn-group">
<button id="add-provider" class="btn btn-primary"> <button id="add-provider" class="btn btn-primary">
<i class="fas fa-plus-square mr-2"></i> <i class="fas fa-plus-square me-2"></i>
<?= lang('add') ?> <?= lang('add') ?>
</button> </button>
<button id="edit-provider" class="btn btn-outline-secondary" disabled="disabled"> <button id="edit-provider" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-edit mr-2"></i> <i class="fas fa-edit me-2"></i>
<?= lang('edit') ?> <?= lang('edit') ?>
</button> </button>
<button id="delete-provider" class="btn btn-outline-secondary" disabled="disabled"> <button id="delete-provider" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-trash-alt mr-2"></i> <i class="fas fa-trash-alt me-2"></i>
<?= lang('delete') ?> <?= lang('delete') ?>
</button> </button>
</div> </div>
<div class="save-cancel-group btn-group" style="display:none;"> <div class="save-cancel-group btn-group" style="display:none;">
<button id="save-provider" class="btn btn-primary"> <button id="save-provider" class="btn btn-primary">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('save') ?> <?= lang('save') ?>
</button> </button>
<button id="cancel-provider" class="btn btn-outline-secondary"> <button id="cancel-provider" class="btn btn-outline-secondary">
<i class="fas fa-ban mr-2"></i> <i class="fas fa-ban me-2"></i>
<?= lang('cancel') ?> <?= lang('cancel') ?>
</button> </button>
</div> </div>
@ -313,7 +313,7 @@
<h3><?= lang('working_plan') ?></h3> <h3><?= lang('working_plan') ?></h3>
<button id="reset-working-plan" class="btn btn-primary" <button id="reset-working-plan" class="btn btn-primary"
data-tippy-content="<?= lang('reset_working_plan') ?>"> data-tippy-content="<?= lang('reset_working_plan') ?>">
<i class="fas fa-redo-alt mr-2"></i> <i class="fas fa-redo-alt me-2"></i>
<?= lang('reset_plan') ?></button> <?= lang('reset_plan') ?></button>
<table class="working-plan table table-striped mt-2"> <table class="working-plan table table-striped mt-2">
<thead> <thead>
@ -336,7 +336,7 @@
<div> <div>
<button type="button" class="add-break btn btn-primary"> <button type="button" class="add-break btn btn-primary">
<i class="fas fa-plus-square mr-2"></i> <i class="fas fa-plus-square me-2"></i>
<?= lang('add_break') ?> <?= lang('add_break') ?>
</button> </button>
</div> </div>
@ -364,7 +364,7 @@
</p> </p>
<div> <div>
<button type="button" class="add-working-plan-exception btn btn-primary mr-2"> <button type="button" class="add-working-plan-exception btn btn-primary me-2">
<i class="fas fa-plus-square"></i> <i class="fas fa-plus-square"></i>
<?= lang('add_working_plan_exception') ?> <?= lang('add_working_plan_exception') ?>
</button> </button>
@ -424,26 +424,26 @@
<div class="btn-toolbar mb-4"> <div class="btn-toolbar mb-4">
<div class="add-edit-delete-group btn-group"> <div class="add-edit-delete-group btn-group">
<button id="add-secretary" class="btn btn-primary"> <button id="add-secretary" class="btn btn-primary">
<i class="fas fa-plus-square mr-2"></i> <i class="fas fa-plus-square me-2"></i>
<?= lang('add') ?> <?= lang('add') ?>
</button> </button>
<button id="edit-secretary" class="btn btn-outline-secondary" disabled="disabled"> <button id="edit-secretary" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-edit mr-2"></i> <i class="fas fa-edit me-2"></i>
<?= lang('edit') ?> <?= lang('edit') ?>
</button> </button>
<button id="delete-secretary" class="btn btn-outline-secondary" disabled="disabled"> <button id="delete-secretary" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-trash-alt mr-2"></i> <i class="fas fa-trash-alt me-2"></i>
<?= lang('delete') ?> <?= lang('delete') ?>
</button> </button>
</div> </div>
<div class="save-cancel-group btn-group" style="display:none;"> <div class="save-cancel-group btn-group" style="display:none;">
<button id="save-secretary" class="btn btn-primary"> <button id="save-secretary" class="btn btn-primary">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('save') ?> <?= lang('save') ?>
</button> </button>
<button id="cancel-secretary" class="btn btn-outline-secondary"> <button id="cancel-secretary" class="btn btn-outline-secondary">
<i class="fas fa-ban mr-2"></i> <i class="fas fa-ban me-2"></i>
<?= lang('cancel') ?> <?= lang('cancel') ?>
</button> </button>
</div> </div>
@ -630,26 +630,26 @@
<div class="btn-toolbar mb-4"> <div class="btn-toolbar mb-4">
<div class="add-edit-delete-group btn-group"> <div class="add-edit-delete-group btn-group">
<button id="add-admin" class="btn btn-primary"> <button id="add-admin" class="btn btn-primary">
<i class="fas fa-plus-square mr-2"></i> <i class="fas fa-plus-square me-2"></i>
<?= lang('add') ?> <?= lang('add') ?>
</button> </button>
<button id="edit-admin" class="btn btn-outline-secondary" disabled="disabled"> <button id="edit-admin" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-edit mr-2"></i> <i class="fas fa-edit me-2"></i>
<?= lang('edit') ?> <?= lang('edit') ?>
</button> </button>
<button id="delete-admin" class="btn btn-outline-secondary" disabled="disabled"> <button id="delete-admin" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-trash-alt mr-2"></i> <i class="fas fa-trash-alt me-2"></i>
<?= lang('delete') ?> <?= lang('delete') ?>
</button> </button>
</div> </div>
<div class="save-cancel-group btn-group" style="display:none;"> <div class="save-cancel-group btn-group" style="display:none;">
<button id="save-admin" class="btn btn-primary"> <button id="save-admin" class="btn btn-primary">
<i class="fas fa-check-square mr-2"></i> <i class="fas fa-check-square me-2"></i>
<?= lang('save') ?> <?= lang('save') ?>
</button> </button>
<button id="cancel-admin" class="btn btn-outline-secondary"> <button id="cancel-admin" class="btn btn-outline-secondary">
<i class="fas fa-ban mr-2"></i> <i class="fas fa-ban me-2"></i>
<?= lang('cancel') ?> <?= lang('cancel') ?>
</button> </button>
</div> </div>