FontAwesome icon improvements in the view files

This commit is contained in:
Alex Tselegidis 2020-09-23 14:18:50 +03:00
parent a3dfb91550
commit e7800e5302
10 changed files with 25 additions and 16 deletions

View file

@ -188,7 +188,7 @@
<button type="button" id="button-next-1" class="btn button-next btn-info" <button type="button" id="button-next-1" class="btn button-next btn-info"
data-step_index="1"> data-step_index="1">
<?= lang('next') ?> <?= lang('next') ?>
<i class="fas fa-long-arrow-alt-right"></i> <i class="fas fa-long-arrow-alt-right ml-2"></i>
</button> </button>
</div> </div>
</div> </div>
@ -221,13 +221,13 @@
<div class="command-buttons"> <div class="command-buttons">
<button type="button" id="button-back-2" class="btn button-back btn-light" <button type="button" id="button-back-2" class="btn button-back btn-light"
data-step_index="2"> data-step_index="2">
<i class="fas fa-long-arrow-alt-left"></i> <i class="fas fa-long-arrow-alt-left mr-2"></i>
<?= lang('back') ?> <?= lang('back') ?>
</button> </button>
<button type="button" id="button-next-2" class="btn button-next btn-info" <button type="button" id="button-next-2" class="btn button-next btn-info"
data-step_index="2"> data-step_index="2">
<?= lang('next') ?> <?= lang('next') ?>
<i class="fas fa-long-arrow-alt-right"></i> <i class="fas fa-long-arrow-alt-right ml-2"></i>
</button> </button>
</div> </div>
</div> </div>
@ -320,13 +320,14 @@
<div class="command-buttons"> <div class="command-buttons">
<button type="button" id="button-back-3" class="btn button-back btn-light" <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> data-step_index="3">
<i class="fas fa-long-arrow-alt-left mr-2"></i>
<?= lang('back') ?> <?= lang('back') ?>
</button> </button>
<button type="button" id="button-next-3" class="btn button-next btn-info" <button type="button" id="button-next-3" class="btn button-next btn-info"
data-step_index="3"> data-step_index="3">
<?= lang('next') ?> <?= lang('next') ?>
<i class="fas fa-long-arrow-alt-right"></i> <i class="fas fa-long-arrow-alt-right ml-2"></i>
</button> </button>
</div> </div>
</div> </div>
@ -358,12 +359,12 @@
<div class="command-buttons"> <div class="command-buttons">
<button type="button" id="button-back-4" class="btn button-back btn-light" <button type="button" id="button-back-4" class="btn button-back btn-light"
data-step_index="4"> data-step_index="4">
<i class="fas fa-long-arrow-alt-left"></i> <i class="fas fa-long-arrow-alt-left mr-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="far fa-check-circle"></i> <i class="far fa-plus-square mr-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

@ -61,7 +61,7 @@
<button id="enable-sync" class="btn btn-light" data-toggle="button" <button id="enable-sync" class="btn btn-light" data-toggle="button"
title="<?= lang('enable_appointment_sync_hint') ?>"> title="<?= lang('enable_appointment_sync_hint') ?>">
<i class="far fa-calendar-alt"></i> <i class="far fa-calendar-alt mr-2"></i>
<span><?= lang('enable_sync') ?></span> <span><?= lang('enable_sync') ?></span>
</button> </button>
<?php endif ?> <?php endif ?>

View file

@ -52,6 +52,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"
title="<?= lang('manage_appointment_record_hint') ?>"> title="<?= lang('manage_appointment_record_hint') ?>">
<i class="far fa-calendar-alt mr-2"></i>
<?= lang('calendar') ?> <?= lang('calendar') ?>
</a> </a>
</li> </li>
@ -61,6 +62,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"
title="<?= lang('manage_customers_hint') ?>"> title="<?= lang('manage_customers_hint') ?>">
<i class="fas fa-user-friends mr-2"></i>
<?= lang('customers') ?> <?= lang('customers') ?>
</a> </a>
</li> </li>
@ -70,6 +72,7 @@
<li class="nav-item <?= $active . $hidden ?>"> <li class="nav-item <?= $active . $hidden ?>">
<a href="<?= site_url('backend/services') ?>" class="nav-link" <a href="<?= site_url('backend/services') ?>" class="nav-link"
title="<?= lang('manage_services_hint') ?>"> title="<?= lang('manage_services_hint') ?>">
<i class="fas fa-business-time mr-2"></i>
<?= lang('services') ?> <?= lang('services') ?>
</a> </a>
</li> </li>
@ -79,6 +82,7 @@
<li class="nav-item <?= $active . $hidden ?>"> <li class="nav-item <?= $active . $hidden ?>">
<a href="<?= site_url('backend/users') ?>" class="nav-link" <a href="<?= site_url('backend/users') ?>" class="nav-link"
title="<?= lang('manage_users_hint') ?>"> title="<?= lang('manage_users_hint') ?>">
<i class="fas fa-users-cog mr-2"></i>
<?= lang('users') ?> <?= lang('users') ?>
</a> </a>
</li> </li>
@ -89,6 +93,7 @@
<li class="nav-item <?= $active . $hidden ?>"> <li class="nav-item <?= $active . $hidden ?>">
<a href="<?= site_url('backend/settings') ?>" class="nav-link" <a href="<?= site_url('backend/settings') ?>" class="nav-link"
title="<?= lang('settings_hint') ?>"> title="<?= lang('settings_hint') ?>">
<i class="fas fa-cogs mr-2"></i>
<?= lang('settings') ?> <?= lang('settings') ?>
</a> </a>
</li> </li>
@ -96,6 +101,7 @@
<li class="nav-item"> <li class="nav-item">
<a href="<?= site_url('user/logout') ?>" class="nav-link" <a href="<?= site_url('user/logout') ?>" class="nav-link"
title="<?= lang('log_out_hint') ?>"> title="<?= lang('log_out_hint') ?>">
<i class="fas fa-sign-out-alt mr-2"></i>
<?= lang('log_out') ?> <?= lang('log_out') ?>
</a> </a>
</li> </li>

View file

@ -36,12 +36,12 @@
<br> <br>
<a href="<?= site_url() ?>" class="btn btn-primary btn-large"> <a href="<?= site_url() ?>" class="btn btn-primary btn-large">
<i class="far fa-calendar-alt"></i> <i class="far fa-calendar-alt mr-2"></i>
<?= lang('book_appointment_title') ?> <?= lang('book_appointment_title') ?>
</a> </a>
<a href="<?= site_url('backend') ?>" class="btn btn-light btn-large"> <a href="<?= site_url('backend') ?>" class="btn btn-light btn-large">
<i class="fas fa-wrench"></i> <i class="fas fa-wrench mr-2"></i>
<?= lang('backend_section') ?> <?= lang('backend_section') ?>
</a> </a>

View file

@ -125,7 +125,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"></i> <i class="icon-white icon-ok mr-2"></i>
Install Easy!Appointments</button> Install Easy!Appointments</button>
</div> </div>

View file

@ -46,7 +46,7 @@
<div> <div>
<a href="<?= site_url('backend') ?>" class="btn btn-light btn-large"> <a href="<?= site_url('backend') ?>" class="btn btn-light btn-large">
<i class="fas fa-wrench"></i> <i class="fas fa-wrench mr-2"></i>
<?= lang('backend_section') ?> <?= lang('backend_section') ?>
</a> </a>
</div> </div>

View file

@ -51,6 +51,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>
<?= lang('regenerate_password') ?> <?= lang('regenerate_password') ?>
</button> </button>

View file

@ -60,7 +60,8 @@
<br> <br>
<button type="submit" id="login" class="btn btn-primary"> <button type="submit" id="login" class="btn btn-primary">
<?= lang('login') ?> <i class="fas fa-sign-in-alt mr-2"></i>
<?= lang('login') ?>
</button> </button>
<br> <br>

View file

@ -33,12 +33,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="far fa-calendar-alt"></i> <i class="far fa-calendar-alt mr-2"></i>
<?= lang('book_appointment_title') ?> <?= lang('book_appointment_title') ?>
</a> </a>
<a href="<?= site_url('backend') ?>" class="btn btn-light btn-large"> <a href="<?= site_url('backend') ?>" class="btn btn-light btn-large">
<i class="fas fa-wrench"></i> <i class="fas fa-wrench mr-2"></i>
<?= lang('backend_section') ?> <?= lang('backend_section') ?>
</a> </a>

View file

@ -28,7 +28,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"></i> <i class="icon-calendar icon-white mr-2"></i>
<?= lang('backend_calendar') ?> <?= lang('backend_calendar') ?>
</a> </a>