From 2f6699f655589518fb6e096a2ef6c1d2b9144f74 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Mon, 7 Sep 2020 12:21:16 +0300 Subject: [PATCH] All buttons have their icon. --- application/views/backend/calendar.php | 56 +++++++++---- application/views/backend/customers.php | 10 +-- application/views/backend/services.php | 20 ++--- application/views/backend/settings.php | 10 +-- application/views/backend/users.php | 34 ++++---- .../js/backend_calendar_appointments_modal.js | 6 +- assets/js/backend_calendar_default_view.js | 63 ++++++++++++-- assets/js/backend_calendar_table_view.js | 83 +++++++++++++++++-- 8 files changed, 213 insertions(+), 69 deletions(-) diff --git a/application/views/backend/calendar.php b/application/views/backend/calendar.php index d59b2a26..48d731de 100755 --- a/application/views/backend/calendar.php +++ b/application/views/backend/calendar.php @@ -69,7 +69,7 @@
@@ -80,9 +80,11 @@ @@ -90,13 +92,13 @@ - + @@ -265,11 +267,15 @@
@@ -395,9 +406,14 @@ @@ -456,8 +472,14 @@ @@ -480,8 +502,14 @@ diff --git a/application/views/backend/customers.php b/application/views/backend/customers.php index 52967139..1d81bc92 100755 --- a/application/views/backend/customers.php +++ b/application/views/backend/customers.php @@ -55,21 +55,21 @@
@@ -77,11 +77,11 @@ diff --git a/application/views/backend/services.php b/application/views/backend/services.php index 94eff1dd..04576d1a 100755 --- a/application/views/backend/services.php +++ b/application/views/backend/services.php @@ -70,26 +70,26 @@
@@ -190,26 +190,26 @@
diff --git a/application/views/backend/settings.php b/application/views/backend/settings.php index 17d7771f..63d6d116 100755 --- a/application/views/backend/settings.php +++ b/application/views/backend/settings.php @@ -71,7 +71,7 @@ @@ -224,7 +224,7 @@ @@ -275,7 +275,7 @@
@@ -310,7 +310,7 @@ @@ -389,7 +389,7 @@ diff --git a/application/views/backend/users.php b/application/views/backend/users.php index f9eae349..814985a3 100755 --- a/application/views/backend/users.php +++ b/application/views/backend/users.php @@ -86,26 +86,26 @@
@@ -251,7 +251,7 @@
@@ -280,7 +280,7 @@
@@ -334,26 +334,26 @@
@@ -496,26 +496,26 @@
diff --git a/assets/js/backend_calendar_appointments_modal.js b/assets/js/backend_calendar_appointments_modal.js index ec265064..3662ce74 100755 --- a/assets/js/backend_calendar_appointments_modal.js +++ b/assets/js/backend_calendar_appointments_modal.js @@ -182,7 +182,7 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa var $list = $('#existing-customers-list'); if (!$list.is(':visible')) { - $(this).text(EALang.hide); + $(this).find('span').text(EALang.hide); $list.empty(); $list.slideDown('slow'); $('#filter-existing-customers').fadeIn('slow'); @@ -197,7 +197,7 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa } else { $list.slideUp('slow'); $('#filter-existing-customers').fadeOut('slow'); - $(this).text(EALang.select); + $(this).find('span').text(EALang.select); } }); @@ -380,7 +380,7 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa // Close existing customers-filter frame. $('#existing-customers-list').slideUp('slow'); $('#filter-existing-customers').fadeOut('slow'); - $('#select-customer').text(EALang.select); + $('#select-customer span').text(EALang.select); // Setup start and datetimepickers. // Get the selected service duration. It will be needed in order to calculate the appointment end datetime. diff --git a/assets/js/backend_calendar_default_view.js b/assets/js/backend_calendar_default_view.js index 258ceb9f..6bd4abb4 100755 --- a/assets/js/backend_calendar_default_view.js +++ b/assets/js/backend_calendar_default_view.js @@ -350,15 +350,36 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {}; 'html': [ $('