Commit Graph

2650 Commits

Author SHA1 Message Date
Alex Tselegidis a7077ef642 Make sure that component view files are reusable by only using the local variables instead of the global ones. 2022-01-18 11:04:08 +01:00
Alex Tselegidis 626d8b86a1 The component helper function will now have a single vars argument for both attributes and params. 2022-01-18 11:03:44 +01:00
Alex Tselegidis c9fd813d0b Remove attribute from js script components. 2022-01-18 10:43:40 +01:00
Alex Tselegidis 49585d388d Use the component helper for rendering the timezone dropdown in account page. 2022-01-18 10:35:34 +01:00
Alex Tselegidis d2fb826f8f Use the component helper for rendering the timezone dropdown in admins page. 2022-01-18 10:34:53 +01:00
Alex Tselegidis 8bc1f49613 Remove prefix from admins HTML elements 2022-01-18 10:33:59 +01:00
Alex Tselegidis 65d2836911 The timezone component must not use the global vars when rendering. 2022-01-18 10:32:30 +01:00
Alex Tselegidis 837bcab4fc Remove prefix from secretaries HTML elements 2022-01-18 10:05:17 +01:00
Alex Tselegidis cacc84fd74 Remove prefix from providers HTML elements 2022-01-18 09:40:19 +01:00
Alex Tselegidis e23bdbb45f Render with the html_vars helper. 2022-01-18 09:40:13 +01:00
Alex Tselegidis cf1fe8d537 Remove prefix from category HTML elements 2022-01-18 09:31:19 +01:00
Alex Tselegidis b7d9efe7c3 Remove prefix from service HTML elements 2022-01-18 09:29:56 +01:00
Alex Tselegidis 7b2315c371 Rename the working plan bindEventListeners to addEventListeners 2022-01-18 08:47:16 +01:00
Alex Tselegidis 1690ba7b10 Remove unused "users.php" view file. 2022-01-18 08:45:15 +01:00
Alex Tselegidis 9f08ce329e Replace direct use of variables inside views with the new "vars" helper method. 2022-01-18 08:45:02 +01:00
Alex Tselegidis 8dad2d9624 Replace the global App.Lang with the "lang" helper method, which is more appropriate due to the dynamic load of script translation strings. 2022-01-18 08:22:25 +01:00
Alex Tselegidis e93565500d Replace the global App.Vars with the "vars" helper method, which is more appropriate due to the dynamic load of script vars. 2022-01-18 08:18:22 +01:00
Alex Tselegidis ca4e58313a Pull the available languages from the App.Vars.* object. 2022-01-18 07:20:04 +01:00
Alex Tselegidis 380ce3784a Perform various post-refactoring fixes to the calendar page views (default/table). 2022-01-17 21:33:04 +01:00
Alex Tselegidis 0cf99d9538 Parse the working plan start and end value correctly, depending on the current time format setting. 2022-01-17 21:32:44 +01:00
Alex Tselegidis 2feb0d5c99 Add missing selector const and convert remaining functions to arrow functions 2022-01-17 21:32:17 +01:00
Alex Tselegidis 3ca5fa6de6 Proper mark selected row when clicking on a result list item. 2022-01-17 21:31:53 +01:00
Alex Tselegidis f4f494e4b4 Minor business settings module improvements. 2022-01-17 21:20:29 +01:00
Alex Tselegidis 79c9566257 Hide the appointments modal after a successful appointment store method. 2022-01-17 21:20:06 +01:00
Alex Tselegidis 398b85363f Update the request params (now using snake_case). 2022-01-17 21:19:46 +01:00
Alex Tselegidis 777d15423c Backend notification functionality and styling. 2022-01-17 21:19:17 +01:00
Alex Tselegidis 6589e4e5c8 The scripts section must be at the bottom of the file. 2022-01-17 21:18:59 +01:00
Alex Tselegidis 7ca93f5eeb Pass the calendar view to both the html and script vars 2022-01-17 21:18:43 +01:00
Alex Tselegidis 0da73ab43e Remove the "ajax_" prefix from all new AJAX endpoints. 2022-01-17 19:44:44 +01:00
Alex Tselegidis c154280026 Create new Google HTTP client. 2022-01-17 19:44:21 +01:00
Alex Tselegidis 8d93f283f8 Redirect to the login page if the user is not logged in or display the no permissions message when the permissions are insufficient. 2022-01-17 18:24:02 +01:00
Alex Tselegidis 3c0f925596 Login works again using the new login HTTP client. 2022-01-17 18:23:11 +01:00
Alex Tselegidis af464bd83c Create new login HTTP client JS module. 2022-01-17 18:22:23 +01:00
Alex Tselegidis 0051a30673 Correct upperCaseFirstLetter call namespace 2022-01-17 18:22:05 +01:00
Alex Tselegidis 4580d095ee Automatically load the common utility modules directly inside layout view files. 2022-01-17 18:21:44 +01:00
Alex Tselegidis a8b5062bd3 Correct login href value based on logged-in state. 2022-01-17 18:06:31 +01:00
Alex Tselegidis 2b0eb8d18b Remove remanining GlobalVariables occurrences. 2022-01-17 18:02:50 +01:00
Alex Tselegidis adf7943297 Replace GeneralFunctions upperCaseFirstLetter with the string utility module. 2022-01-17 18:01:09 +01:00
Alex Tselegidis 7a9aa3d91d Replace GlobalVariables use with App.Vars.* values. 2022-01-17 18:00:25 +01:00
Alex Tselegidis 46f0a27998 The layout modules will initialize the language selection on their own. 2022-01-17 17:54:30 +01:00
Alex Tselegidis 1986438357 Port escapeHtml method to string utility module. 2022-01-17 17:49:29 +01:00
Alex Tselegidis d333869952 Port the change language callback to the Account controller. 2022-01-17 17:42:47 +01:00
Alex Tselegidis cd6ec7400c Create new lang utility. 2022-01-17 17:42:12 +01:00
Alex Tselegidis 89c91fbf8b Code refactoring and improvements for the working plan utilities page. 2022-01-17 15:31:04 +01:00
Alex Tselegidis b13fb1c574 Add jsdoc block to http utility functions 2022-01-17 15:22:12 +01:00
Alex Tselegidis 6a89e11d39 Code refactoring and improvements for the calendar related utilities page. 2022-01-17 15:21:59 +01:00
Alex Tselegidis c9f4a8303a Code refactoring and improvements for the services page. 2022-01-17 15:03:50 +01:00
Alex Tselegidis f004807014 Code refactoring and improvements for the secretaries page. 2022-01-17 14:56:08 +01:00
Alex Tselegidis 390d66f8d2 Code refactoring and improvements for the recovery page. 2022-01-17 14:45:20 +01:00
Alex Tselegidis 2451d4d5b7 Code refactoring and improvements for the providers page. 2022-01-17 14:37:21 +01:00