diff --git a/public/uploads/about/Online_Meeting.png b/public/uploads/about/Online_Meeting.png new file mode 100644 index 0000000..ff327bb Binary files /dev/null and b/public/uploads/about/Online_Meeting.png differ diff --git a/views/admin/about/index.ejs b/views/admin/about/index.ejs index 937c84b..8d63f21 100644 --- a/views/admin/about/index.ejs +++ b/views/admin/about/index.ejs @@ -17,7 +17,7 @@
-
+ @@ -357,12 +357,17 @@
- + + +
+ +
@@ -373,7 +378,7 @@ let originalFormData = null; document.addEventListener('DOMContentLoaded', function () { - originalFormData = <% - JSON.stringify(data) %>; + originalFormData = <%- JSON.stringify(data) %>; populateAll(originalFormData); document.getElementById('aboutForm').addEventListener('submit', function (e) { diff --git a/views/admin/dashboard.ejs b/views/admin/dashboard.ejs index 291b7f7..5b2581e 100644 --- a/views/admin/dashboard.ejs +++ b/views/admin/dashboard.ejs @@ -7,10 +7,11 @@
Quick Management
-
+
+
-
+
@@ -21,7 +22,7 @@

Manage homepage

- + Edit
@@ -29,7 +30,7 @@
-
+
@@ -40,7 +41,7 @@

Manage header & menu

- + Edit
@@ -48,7 +49,7 @@
-
+
@@ -59,7 +60,7 @@

Manage footer

- + Edit
@@ -88,8 +89,7 @@ <% const aboutPages=[ { label: 'About Us' , href: '/admin/about' , icon: 'fa-users' }, { label: 'Partnerships' , href: '/admin/partnerships' , icon: 'fa-handshake' }, { label: 'History' , href: '/admin/history' , icon: 'fa-history' }, { label: 'Accreditation' , href: '/admin/accreditation' , - icon: 'fa-certificate' }, { label: 'Admissions' , href: '/admin/admissions' , icon: 'fa-door-open' }, { - label: 'Policies' , href: '/admin/policies' , icon: 'fa-file-contract' }, ]; %> + icon: 'fa-certificate' }, {label: 'Policies' , href: '/admin/policies' , icon: 'fa-file-contract' }, ]; %> <% aboutPages.forEach(page=> { %>
@@ -112,85 +112,9 @@
- -
-
-
-
- -
-
-
Contact
-

Manage contact

-
-
- - Edit - -
-
- - -
-
-
-
- -
-
-
Student Support
-

LAMS student support page

-
-
- - Edit - -
-
- - -
-
-
-
- -
-
-
Request Info
-

LAMS request information page

-
-
- - Edit - -
-
- - -
-
-
-
- -
-
-
Blog
-

Manage blog posts

-
-
- - Edit - -
-
-
-
+
@@ -201,7 +125,102 @@

Manage academic programmes

- + + Edit + +
+
+ + +
+
+
+
+ +
+
+
Student Support
+

LAMS student support page

+
+
+ + Edit + +
+
+ + +
+
+
+
+ +
+
+
Admisions
+

LAMS admission page

+
+
+ + Edit + +
+
+ + +
+
+
+
+ +
+
+
Blog
+

Manage blog posts

+
+
+ + Edit + +
+
+ + +
+
+
+
+ +
+
+
Contact
+

Manage contact

+
+
+ + Edit + +
+
+ + +
+
+
+
+ +
+
+
Request Info
+

LAMS request information page

+
+
+ Edit
diff --git a/views/admin/home/index.ejs b/views/admin/home/index.ejs index 26d768f..f5c2adf 100644 --- a/views/admin/home/index.ejs +++ b/views/admin/home/index.ejs @@ -17,7 +17,7 @@
-
+ @@ -270,12 +270,17 @@
- +
+ +
+ +
@@ -286,7 +291,7 @@ let originalFormData = null; document.addEventListener('DOMContentLoaded', function () { - originalFormData = <% - JSON.stringify(data) %>; + originalFormData = <%- JSON.stringify(data) %>; populateAll(originalFormData); document.getElementById('homeForm').addEventListener('submit', function (e) { diff --git a/views/layouts/main.ejs b/views/layouts/main.ejs index 2d99a1a..0d87916 100644 --- a/views/layouts/main.ejs +++ b/views/layouts/main.ejs @@ -1102,11 +1102,17 @@ + +