From 3ca9211449fff7387effefa33931827e55f43cac Mon Sep 17 00:00:00 2001 From: alextselegidis Date: Fri, 12 Nov 2021 08:25:27 +0100 Subject: [PATCH] Created the backend layout and moved all of its templates into the new "pages" directory --- application/views/backend/index.html | 10 ---- .../backend/backend_footer.php} | 5 +- .../backend/backend_header.php} | 40 +------------ .../views/layouts/backend/backend_layout.php | 56 +++++++++++++++++++ .../calendar/calendar_page.php} | 25 +++------ .../customers/customers_page.php} | 0 .../services/services_page.php} | 0 .../settings/settings_page.php} | 0 .../users.php => pages/users/users_page.php} | 3 - 9 files changed, 67 insertions(+), 72 deletions(-) delete mode 100644 application/views/backend/index.html rename application/views/{backend/footer.php => layouts/backend/backend_footer.php} (89%) rename application/views/{backend/header.php => layouts/backend/backend_header.php} (59%) create mode 100644 application/views/layouts/backend/backend_layout.php rename application/views/{backend/calendar.php => pages/calendar/calendar_page.php} (92%) rename application/views/{backend/customers.php => pages/customers/customers_page.php} (100%) rename application/views/{backend/services.php => pages/services/services_page.php} (100%) rename application/views/{backend/settings.php => pages/settings/settings_page.php} (100%) rename application/views/{backend/users.php => pages/users/users_page.php} (99%) diff --git a/application/views/backend/index.html b/application/views/backend/index.html deleted file mode 100644 index 221ac80d..00000000 --- a/application/views/backend/index.html +++ /dev/null @@ -1,10 +0,0 @@ - - - 403 Forbidden - - - -

Directory access is forbidden.

- - - diff --git a/application/views/backend/footer.php b/application/views/layouts/backend/backend_footer.php similarity index 89% rename from application/views/backend/footer.php rename to application/views/layouts/backend/backend_footer.php index 6509332c..0fb1c564 100644 --- a/application/views/backend/footer.php +++ b/application/views/layouts/backend/backend_footer.php @@ -49,7 +49,4 @@ - - - - + diff --git a/application/views/backend/header.php b/application/views/layouts/backend/backend_header.php similarity index 59% rename from application/views/backend/header.php rename to application/views/layouts/backend/backend_header.php index a42148dd..18c2b2df 100755 --- a/application/views/backend/header.php +++ b/application/views/layouts/backend/backend_header.php @@ -1,48 +1,10 @@ - - - - - - <?= isset($page_title) ? $page_title : lang('backend_section') ?> | Easy!Appointments - - - - - - - - - - - - - - - - - - - - - - - - - - -