Commit graph

358 commits

Author SHA1 Message Date
Alex Tselegidis
f0992fd4f6 Changed the account page attributes and added the validation script 2021-12-18 18:55:27 +01:00
Alex Tselegidis
c53cd000d8 Refactored the account page functionality and structure 2021-12-18 18:25:03 +01:00
Alex Tselegidis
2cc3123a2f Added var tags in the template comments 2021-12-17 10:59:07 +01:00
Alex Tselegidis
5420ef1389 Updated the booking page so that it works with the new html_vars and script_vars helper functions. 2021-12-17 10:55:37 +01:00
Alex Tselegidis
74c48e8a9a Renamed and updated the js_lang_script and js_vars_script components 2021-12-17 10:55:10 +01:00
Alex Tselegidis
c49f141bbb Moved the booking confirmation and cancellation code out of the booking controller 2021-12-16 08:37:55 +01:00
Alex Tselegidis
bb3665272d Renamed language_script.php to js_language_script.php for clarity 2021-12-16 08:21:29 +01:00
Alex Tselegidis
c9d9153594 Renamed config_script.php to js_config_script.php for clarity 2021-12-16 08:20:10 +01:00
Alex Tselegidis
4ef2c0a9bb Changed cancellation frame view file name 2021-12-16 08:19:08 +01:00
Alex Tselegidis
1a0ed47fe3 Changed the names of the booking step components 2021-12-16 08:18:37 +01:00
Alex Tselegidis
3dee36d4c1 Moved booking sections into the components directory 2021-12-16 08:13:27 +01:00
Alex Tselegidis
dc8d6ad140 Update has its own controller class 2021-12-16 08:10:01 +01:00
Alex Tselegidis
568ff9be2e Renamed the service category resource to just category 2021-12-15 08:00:48 +01:00
Alex Tselegidis
41635413a1 Moved scripts to the script slot 2021-12-15 07:59:54 +01:00
Alex Tselegidis
c8bd47d1e5 Removed the "_page" postfix from page view files 2021-12-14 08:08:06 +01:00
Alex Tselegidis
e8a1976521 The dest_url may have not been set by all account layout pages 2021-12-14 08:05:49 +01:00
Alex Tselegidis
d1e79910a9 Moved scripts to the scripts section 2021-12-14 08:05:22 +01:00
Alex Tselegidis
c761f6d37c Use the js_config component in all pages 2021-12-14 07:52:41 +01:00
Alex Tselegidis
62a5ace98e Added the config_script.php file that will load the application config values to the global App object 2021-12-14 07:48:09 +01:00
Alex Tselegidis
d0ad54ce49 Replaced EALang with the global App.Lang object 2021-12-13 07:52:09 +01:00
Alex Tselegidis
4f9fbc05e3 Added the language script in the layout templates 2021-12-13 07:48:56 +01:00
Alex Tselegidis
530422608a Moved scripts inside the script section 2021-12-13 07:44:01 +01:00
Alex Tselegidis
a95df871b9 Load the app and the layout JS files 2021-12-13 07:41:02 +01:00
Alex Tselegidis
885dcbf5c8 Moved the footer and header templates to the component directory 2021-12-13 07:34:51 +01:00
Alex Tselegidis
271be99f05 Layout view file improvements 2021-12-10 22:21:44 +01:00
Alex Tselegidis
450bc49932 Moved setting JS files to the pages directory. 2021-12-10 22:00:26 +01:00
Alex Tselegidis
bd412eba8e Refactored the installation page functionality 2021-12-10 09:12:08 +01:00
Alex Tselegidis
17b7ff6631 The login page now links to the new recovery route 2021-12-10 08:41:28 +01:00
Alex Tselegidis
6ab32781ad Moved the recovery functionality into its own controller and files 2021-12-10 08:41:16 +01:00
Alex Tselegidis
246d25c7f4 Moved the logout functionality into its own controller and files 2021-12-10 08:26:05 +01:00
Alex Tselegidis
63da7afce2 Renamed and moved the controller and view files of the settings page 2021-12-07 11:09:34 +01:00
Alex Tselegidis
622a4e9390 Moved the about controller and renamed the view file 2021-12-07 11:00:13 +01:00
Alex Tselegidis
523db7e5e3 Moved the login functionality into its own controller and files 2021-12-07 10:53:59 +01:00
Alex Tselegidis
db0b4fbdbd Removed the unused account_no_permissions_page.php file 2021-12-07 10:53:44 +01:00
Alex Tselegidis
8528713ea2 Corrected script paths for the settings pages 2021-12-07 10:22:10 +01:00
Alex Tselegidis
f1849e3a16 Restructured the view/js/css files (flatter file structure) 2021-12-06 09:00:02 +01:00
Alex Tselegidis
e7d7307cd6 Corrected users menu item 2021-11-29 08:58:51 +01:00
Alex Tselegidis
617ada7641 Major assets restructuring (for better scalability). 2021-11-29 08:55:29 +01:00
Alex Tselegidis
3601cf14fc Footer styling 2021-11-29 08:12:02 +01:00
Alex Tselegidis
c188e678bc Link styling 2021-11-29 08:10:09 +01:00
Alex Tselegidis
ba3655266e Easily customize the bootstrap theme 2021-11-25 09:24:07 +01:00
Alex Tselegidis
8fc4e9587d Use the permission helper functions in backend_header.php 2021-11-25 09:17:07 +01:00
Alex Tselegidis
c9457a30e7 Various calendar page variable fixes 2021-11-25 09:13:27 +01:00
Alex Tselegidis
e2d6dd7f4f Updated header link to calendar controller 2021-11-25 09:13:00 +01:00
Alex Tselegidis
056e445dba Corrected prop name 2021-11-25 09:08:30 +01:00
Alex Tselegidis
7841535802 Corrections in the customers page 2021-11-25 08:46:01 +01:00
Alex Tselegidis
bc723c2609 Added legal-contents to the backend header navigation 2021-11-25 08:41:46 +01:00
Alex Tselegidis
5906ae2aef Removed the datejs from the layouts 2021-11-24 08:34:13 +01:00
Alex Tselegidis
bea81e4aa3 Since Bootstrap 5 is using popper v2, we can use the bootstrap.min.js file directly 2021-11-23 10:12:49 +01:00
Alex Tselegidis
3808185ac9 Replaced the use of the "hidden" class with the "hidden" attribute 2021-11-23 10:06:13 +01:00
Alex Tselegidis
633cf0a722 Adjusted the form elements based on the new Bootstrap 5 structure 2021-11-23 09:53:10 +01:00
Alex Tselegidis
ec2109db54 Changed data-dismiss to data-bs-dismiss 2021-11-23 08:46:32 +01:00
Alex Tselegidis
01fe98602f Further utility class fixes 2021-11-23 08:43:40 +01:00
Alex Tselegidis
0088065e43 Updated the margin helper classes 2021-11-23 08:41:37 +01:00
Alex Tselegidis
684b7e700e Changed data-toggle to data-bs-toggle 2021-11-23 08:37:41 +01:00
Alex Tselegidis
4a9f5f4a87 Updated the modal close button 2021-11-23 08:35:39 +01:00
Alex Tselegidis
c2cb077850 There are no badge color classes any more 2021-11-23 08:34:03 +01:00
Alex Tselegidis
6eaebe449e Corrected typo 2021-11-23 08:21:50 +01:00
alextselegidis
e0a6f9482e Removed the tabindex prop as it makes problems with datepickers in iOS mobile devices 2021-11-22 08:09:56 +01:00
alextselegidis
d6debb40f5 Removed old settings files 2021-11-22 08:09:56 +01:00
alextselegidis
1cd0d45153 Converted the settings menu to a dropdown widget 2021-11-22 08:09:56 +01:00
alextselegidis
83bfd87d5d Ported the current about content to a new standalone page 2021-11-22 08:09:56 +01:00
alextselegidis
a622f2f295 Ported the current user settings functionality to a new standalone page 2021-11-22 08:09:56 +01:00
alextselegidis
35a05de1f0 Ported the legal contents settings functionality to a new standalone page 2021-11-22 08:09:56 +01:00
alextselegidis
fc48db0ea4 Ported the client form settings functionality to a new standalone page 2021-11-22 08:09:56 +01:00
alextselegidis
2d1fb357c8 Ported the business logic settings functionality to a new standalone page 2021-11-18 08:49:23 +01:00
alextselegidis
753237d003 Ported the general settings functionality to a new standalone page 2021-11-18 07:53:41 +01:00
alextselegidis
8a8f4a7ce0 Changed the cancellation URL to point to the Booking controller 2021-11-18 07:13:11 +01:00
alextselegidis
df13336af5 Changed page ID attribute (service categories) 2021-11-18 06:28:00 +01:00
alextselegidis
d8a5460397 Changed page ID attribute (providers) 2021-11-18 06:28:00 +01:00
alextselegidis
16cfd17536 Dropdown navbar menu for users 2021-11-18 06:25:30 +01:00
alextselegidis
7a3aa38622 Created a new secretaries resource controller 2021-11-18 06:23:21 +01:00
alextselegidis
e842089694 Removed semicolon 2021-11-18 06:13:28 +01:00
alextselegidis
d6b294a12b Created a new admins resource controller 2021-11-18 06:11:18 +01:00
alextselegidis
4bbcb9fff8 Created a new providers resource controller 2021-11-18 06:08:36 +01:00
alextselegidis
8682fc886b Removed the services part from the service categories page 2021-11-18 05:35:56 +01:00
alextselegidis
2a599f11b8 Removed the service categories part from the services page 2021-11-18 05:32:46 +01:00
alextselegidis
54ee7ac924 Dropdown navbar menu for services 2021-11-18 05:28:16 +01:00
alextselegidis
aadac6a060 Created a new service categories resource controller 2021-11-18 05:23:54 +01:00
alextselegidis
8dd509d4dc Created a new services resource controller 2021-11-18 05:21:30 +01:00
alextselegidis
f7b2e60f95 PHP formatting 2021-11-17 09:28:35 +01:00
alextselegidis
e86b01dada Added background color to the standalone error pages 2021-11-17 09:28:04 +01:00
alextselegidis
8bad857edb Modified the exception and error messages so that they display nicely within the modal and on standalone pages 2021-11-17 09:26:13 +01:00
alextselegidis
758e556f56 Use the bootstrap.bundle.min.js in the installations page 2021-11-17 08:49:51 +01:00
alextselegidis
8c353917b2 Load the working plan exceptions modal via the component helper 2021-11-17 08:46:58 +01:00
alextselegidis
8ce3a8ffce The timezone dropdown becomes a component for customers_page.php 2021-11-17 08:42:12 +01:00
alextselegidis
35f9a6eb1c Replaced bootstrap.min.js with bootstrap.bundle.min.js so that popper dependent widgets work 2021-11-17 08:28:44 +01:00
alextselegidis
d3787b2b29 The calendar page must also extend from the backend layout 2021-11-16 10:40:54 +01:00
alextselegidis
aa760e827e Fixed variable problems of the manage_appointment_modal.php component 2021-11-16 10:40:15 +01:00
alextselegidis
12a12caa36 Added missing slots to the backend layout file 2021-11-16 10:39:51 +01:00
alextselegidis
4a49800674 Minor formatting 2021-11-16 10:22:24 +01:00
alextselegidis
a3ab7ad898 Added the meta and styles slots to the account layout 2021-11-16 10:21:42 +01:00
alextselegidis
2966b89a59 Added the missing scripts section to the account layout 2021-11-16 10:20:53 +01:00
alextselegidis
ca8f3524ef Replaced the render function with the new component function 2021-11-16 10:15:37 +01:00
alextselegidis
5fb2fcdf71 Relative paths in booking_page.php 2021-11-16 10:15:23 +01:00
alextselegidis
914ed84a40 The view files use the new layout slots 2021-11-15 09:49:08 +01:00
alextselegidis
79d2460b2a Added slots to the layouts 2021-11-15 09:48:51 +01:00
alextselegidis
1103db92df Loaded scripts from the appointments controller 2021-11-12 17:30:09 +01:00
alextselegidis
548bc04c88 Corrected moment timezone script URL 2021-11-12 17:22:39 +01:00
alextselegidis
eb64b6c7ef The google analytics code does not need to be loaded twice 2021-11-12 17:09:01 +01:00
alextselegidis
3fa817d52d Renamed the email templates for more consistency 2021-11-12 16:58:55 +01:00
alextselegidis
007e95ed7a Moved the installation and update pages to the new view/pages directory 2021-11-12 16:57:05 +01:00
alextselegidis
cf579dddc2 Removed the error override configuration and files 2021-11-12 16:53:42 +01:00
alextselegidis
ee6729cf0b Converted all the account related pages to the new layout structure 2021-11-12 16:51:25 +01:00
alextselegidis
64846e0107 Removed the appointments directory from the view files 2021-11-12 16:40:12 +01:00
alextselegidis
9fdafa5497 Converted the booking message to the booking message layout 2021-11-12 16:39:38 +01:00
alextselegidis
b31b4c87bd Converted the booking success page to the layout structure 2021-11-12 16:33:01 +01:00
alextselegidis
d96e65792b Converted the booking page view files to the layout structure 2021-11-12 08:38:20 +01:00
alextselegidis
3ca9211449 Created the backend layout and moved all of its templates into the new "pages" directory 2021-11-12 08:25:27 +01:00
alextselegidis
fa313c3ef3 Moved partial and other reusable view files into the new "components" directory 2021-11-12 08:24:43 +01:00
alextselegidis
0e8ebc8110 Added doc blocks for template vars and did minor template fixes 2021-11-10 08:32:46 +01:00
alextselegidis
44fffb1c56 Moved the remaining modals into their own files. 2021-11-09 08:53:09 +01:00
alextselegidis
2068f70840 Moved the modal view files to a new modals directory 2021-11-09 08:47:09 +01:00
alextselegidis
fb92fa1832 Updated the meta html tag of the view files 2021-11-09 08:44:37 +01:00
alextselegidis
6c356aec50 Added new functions to the render helper that render the global variables and EALang scripts into a view file 2021-11-09 08:40:20 +01:00
alextselegidis
cd9a92bed9 Removed the polyfill scripts as it is no longer needed. 2021-11-09 08:11:33 +01:00
Alex Tselegidis
f371177fb6 Updated the vendor script paths in the view files 2021-11-08 10:57:03 +01:00
Alex Tselegidis
198db17100 Minor formatting changes 2021-10-28 13:28:37 +02:00
Alex Tselegidis
a241e8b2a4 Removed teh custom_exceptions_helper.php file 2021-10-27 12:02:24 +02:00
Tthecreator
ff89857934
Update style of Client Form menu
Co-authored-by: Vitor Mattos <vitor@php.rio>
2021-10-20 22:18:40 +02:00
Thomas Saedt
9671def4ea Merge branch 'develop' into 1081_hide_data_fields 2021-10-20 22:12:47 +02:00
Alex Tselegidis
53acb6146c Mark required the fields of the settings page 2021-10-04 09:27:50 +02:00
Alex Tselegidis
49197b5c66 Use the right bootstrap CSS classes for the setting input field help blocks 2021-08-24 16:01:44 +03:00
Alex Tselegidis
6103b6992d The timepicker sliders do not work when using an iOS device. #1026 2021-07-19 17:26:24 +03:00
Alex Tselegidis
9ddc820176 Set minimum service duration field value to honor the value of EVENT_MINIMUM_DURATION. #1068 2021-07-19 16:59:21 +03:00
Thomas Saedt
1bcbf9f71b [1081] Made show booking form field settings functional 2021-05-30 13:27:39 +02:00
Thomas S
ea2cdeff70 [1081] Added visual buttons to hide or show form fields 2021-05-29 20:58:08 +02:00
Thomas S
872640c46d [1081] Frontend hiding of fields 2021-05-28 15:39:14 +02:00
Alex Tselegidis
f9bb741810 Merge branch 'add-ga4-support' of https://github.com/c0un7-z3r0/easyappointments into develop
# Conflicts:
#	application/language/german/translations_lang.php
2021-04-07 10:44:00 +02:00
David Kagerer
acbce19a50 feat: add ga4 property support
Since google analytics is using now GA4 the support for the new script was needed
2021-03-30 21:13:59 +02:00
Alex Tselegidis
76672db959 Make sure that the duration of a service does not become less than the minimum acceptable value as otherwise it will make problems with the availability generation 2021-03-25 11:32:10 +01:00
Alex Tselegidis
5df1bd4902 Made the timezone and language fields required, in the backend customers page 2020-12-14 20:40:10 +02:00
Alex Tselegidis
b7ff6cbc16 Include the moment timezone support file in backend pages 2020-12-14 20:38:34 +02:00
Alex Tselegidis
bae970d257 Sync appointment with customer's Google Calendar in the book success page needs the correct timezone 2020-12-14 20:37:08 +02:00
Alex Tselegidis
f77ceeff84 Corrected click event behavior of the captcha refresh button 2020-12-14 10:48:36 +02:00
Alex Tselegidis
0d5f673ecf User timezone must not be empied by default as it is required. 2020-12-14 09:53:16 +02:00
Alex Tselegidis
7bf1d536f3 Updated the facebook URL in the about page. 2020-12-11 09:55:54 +02:00
Alex Tselegidis
9133aeedd6 Applied Captcha fixes in the booking page 2020-12-09 21:28:26 +02:00
Alex Tselegidis
4252bc8d0b Corrected the modal header 2020-12-09 14:29:02 +02:00
Alex Tselegidis
8a68e97f94 Reformatted code files 2020-12-09 14:17:45 +02:00
Alex Tselegidis
22ac631995 Updated copyright information in backend 2020-12-08 14:16:42 +02:00
Alex Tselegidis
e92902f332 Backend users and services page would register the tab content events again and again 2020-12-08 13:23:37 +02:00
Alex Tselegidis
54c4852cd7 Consistently use solid style of fontawesome 2020-12-08 00:10:49 +02:00
Alex Tselegidis
9b2a892b12 Removed blog link 2020-12-07 23:09:28 +02:00
Alex Tselegidis
14017a49f5 Renamed the partial directory 2020-12-05 11:16:07 +02:00
Alex Tselegidis
1571a01f1d Update page UI fixes 2020-12-02 21:58:32 +02:00
Alex Tselegidis
af5ddfaac4 Only admins can modify working plan exceptions at the moment 2020-11-16 11:09:48 +02:00
Alex Tselegidis
e8556e0339 jQuery needs to be defined before being used in the login page. 2020-11-12 14:55:03 +02:00
Alex Tselegidis
39614fc418 Corrected the column class of the time selection container 2020-10-27 11:30:03 +02:00
Alex Tselegidis
632b943392 Use the container class in installation.php 2020-10-27 11:29:51 +02:00