Tống Thành Đạt
5615c494cf
style(cms): improve editor ui and implement collapsible item cards
...
Enhance the CMS administration interface by introducing a more refined design system for content editors. This update replaces generic Bootstrap utility classes with dedicated CMS styling to improve visual hierarchy and usability.
Key changes:
- Introduce `cms-editor-group` and `cms-item-card` classes for consistent grouping and item styling.
- Implement collapsible functionality for item cards to manage long lists of content more effectively.
- Standardize editor buttons, including new styles for drag handles, remove buttons, and add buttons.
- Update the fixed bottom action bar with improved backdrop filters, shadows, and spacing.
- Refactor editor scripts across Accreditation, Admissions, History, Partnerships, and Policies to utilize the new UI components and collapse logic.
- Add comprehensive CSS to `main.ejs` to support the new CMS design tokens and layout behaviors.
2026-04-20 20:10:27 +07:00
Tống Thành Đạt
7df3a6f6bf
feat(cms): refactor page content management and implement detailed editors
...
Refactor the CMS page content system to use a more modular configuration-driven approach. This replaces the monolithic `pageContentConfig.js` with individual configuration files for each page and introduces a shared field utility to standardize editor components.
Key changes:
- Implement a generic `_renderSingletonPageView` helper to reduce duplication across controllers.
- Enhance `_createPageContentController` with `normalizeForEditor`, `normalizeForApi`, and `preparePayload` hooks for custom data transformation.
- Create dedicated configuration and view structures for Partnerships, History, Accreditation, Admissions, and Policies pages.
- Add a specialized section editor for Policies to manage complex nested content.
- Improve the frontend `page-content-editor.js` with support for visibility logic, auto-sequencing for arrays, and URL synchronization for active tabs.
- Update data JSON files to align with the new schema.
2026-04-20 19:43:28 +07:00
Tống Thành Đạt
8b6bf5fe6e
feat(cms): add management for partnerships, history, accreditation, admissions, and policies pages
...
Implement a singleton page content system to manage static informational pages. This includes:
- New controllers, models, and data files for Partnerships, History, Accreditation, Admissions, and Policies.
- Admin routes and views for updating page content.
- Public API endpoints for fetching page data.
- Migration scripts for initializing page data.
- Updated admin navigation layout to include a dropdown for "About" sections.
- Audit action constants for tracking updates to these pages.
2026-04-20 14:08:38 +07:00
admin
fab72e86a6
change || to ??
2026-04-11 19:15:01 +07:00
admin
ac40097bdd
add logs
2026-04-11 19:04:26 +07:00
admin
1cc0c66835
add logs
2026-04-11 18:49:05 +07:00
admin
b15c4ed525
Merge branch 'main' of ssh://gits.techvanguard.vn:8822/UKSOURCE/cms.hailearning.edu.vn into main
2026-04-11 16:11:39 +07:00
admin
033cec29f1
fix cors
2026-04-11 16:11:26 +07:00
tranthanh
e86e5d2c46
Merge pull request 'fix: standardize model import names for HeaderMenu across controllers and scripts' ( #40 ) from fix/thanh-19032026-rename-file into main
...
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#40
2026-03-19 02:54:08 +00:00
Wini_Fy
e85c80ab2f
fix: standardize model import names for HeaderMenu across controllers and scripts
2026-03-19 09:54:17 +07:00
Wini_Fy
45077b858b
fix: correct date filtering logic to ensure proper date range handling
2026-03-19 09:49:22 +07:00
tranthanh
46403d4fcb
Merge pull request 'fix/thanh-19032026-rename-file' ( #39 ) from fix/thanh-19032026-rename-file into main
...
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#39
2026-03-19 02:49:06 +00:00
Wini_Fy
4e4042e075
feat: Create new file
2026-03-19 09:39:53 +07:00
Wini_Fy
f26a4b7e25
feat: Remove file
2026-03-19 09:39:12 +07:00
Wini_Fy
63d6bd7c8f
feat: Rename file
2026-03-19 09:36:14 +07:00
admin
6002e04c2e
add rebuild
2026-03-15 17:23:33 +07:00
nthanhtoan
79487fa60d
Update package.json
2026-03-07 16:14:17 +07:00
tranthanh
7319eba9a6
Merge pull request 'feat: implement comprehensive audit logging system' ( #37 ) from fea/bao-10022026-AuditLog into main
...
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#37
2026-02-11 04:50:46 +00:00
nguyenvanbao
c37b355f06
fix(): fix conflict
2026-02-10 16:48:58 +07:00
nguyenvanbao
8b3f0534d8
Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into fea/bao-10022026-AuditLog
2026-02-10 16:46:39 +07:00
nguyenvanbao
970fcbac7d
feat: implement comprehensive audit logging system
2026-02-10 16:42:35 +07:00
tranthanh
467a807600
Merge pull request 'fea/thanh-05022026-home' ( #36 ) from fea/thanh-05022026-home into main
...
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#36
2026-02-10 03:36:38 +00:00
Wini_Fy
380e5f497d
Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into fea/thanh-05022026-home
2026-02-10 10:33:58 +07:00
Wini_Fy
c56fc0f2f7
feat: Clear console.log
2026-02-10 10:25:22 +07:00
Wini_Fy
5e7de227ec
feat: add password toggle visibility and rename forgot-password to change-password
2026-02-10 10:24:35 +07:00
tranthanh
d440a04618
Merge pull request 'feat: implement user authentication with database integration' ( #35 ) from fea/thanh-05022026-home into main
...
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#35
2026-02-09 09:40:35 +00:00
Wini_Fy
2ddf43c139
feat: implement user authentication with database integration
2026-02-09 16:36:50 +07:00
tranthanh
a2785955b3
Merge pull request 'refactor: update primary color variables and adjust styles in dashboard and login pages' ( #34 ) from hoanganh-03022026-appointment-contact-pricing into main
...
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#34
2026-02-09 06:24:23 +00:00
LNHA
759cd8f10c
refactor: update primary color variables and adjust styles in dashboard and login pages
2026-02-09 13:20:35 +07:00
tranthanh
44ef644659
Merge pull request 'refactor(about): remove blog section and decouple from blog module' ( #33 ) from feat/huy-07022026-remove-blog-section-from-about into main
...
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#33
2026-02-08 05:12:00 +00:00
nhuthuy
8401ea2057
refactor(about): remove blog section and decouple from blog module
2026-02-07 22:11:59 +07:00
tranthanh
954c52fc5f
Merge pull request 'hoanganh-03022026-appointment-contact-pricing' ( #32 ) from hoanganh-03022026-appointment-contact-pricing into main
...
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#32
2026-02-07 03:39:27 +00:00
LNHA
09f5c12a2f
feat: Add initial admin dashboard, login page, and main layout, including a new logo and updated gitignore.
2026-02-07 10:29:10 +07:00
LNHA
84097e6ed6
Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into hoanganh-03022026-appointment-contact-pricing
2026-02-07 09:38:53 +07:00
admin
a0b94d8fb1
del docker and rm cache package-lock.json
2026-02-06 23:25:29 +07:00
tranthanh
fdd7b7d6f7
Merge pull request 'update contact img' ( #31 ) from fea/hoang-04022026-Visa/VisaDetail into main
...
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#31
2026-02-06 07:57:18 +00:00
r2xrzh9q2z-lab
b3bef037c4
update contact img
2026-02-06 14:53:45 +07:00
Wini_Fy
cc675f85a7
feat: Update .env.example
2026-02-06 12:25:49 +07:00
tranthanh
b81a21a669
Merge pull request 'refactor(header): improve code formatting and add JSON response support' ( #30 ) from refactor/huy-06022026-header-code-formatting into main
...
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#30
2026-02-06 04:41:45 +00:00
nhuthuy
e188eb4abe
refactor(header): improve code formatting and add JSON response support
2026-02-06 11:33:00 +07:00
tranthanh
d3d88ce26b
Merge pull request 'feat(about): sync FE-BE data and image upload' ( #29 ) from feat/huy-05022026-cms-add-about-api-management into main
...
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#29
2026-02-06 03:33:50 +00:00
nhuthuy
8232a36e71
feat(about): sync FE-BE data and image upload
2026-02-06 01:58:56 +07:00
tranthanh
a0b9993f3d
Merge pull request 'fea/thanh-05022026-home' ( #28 ) from fea/thanh-05022026-home into main
...
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#28
2026-02-05 14:23:11 +00:00
Wini_Fy
ade8fc7e08
Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into fea/thanh-05022026-home
2026-02-05 21:22:06 +07:00
Wini_Fy
b355e1ed10
Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into fea/thanh-05022026-home
2026-02-05 21:21:55 +07:00
tranthanh
8ed5f65432
Merge pull request 'feat/huy-05022026-cms-add-footer-api-management' ( #27 ) from feat/huy-05022026-cms-add-footer-api-management into main
...
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#27
2026-02-05 14:21:20 +00:00
Wini_Fy
7ec9bccad5
refactor: enhance home page structure and content management
2026-02-05 21:19:51 +07:00
tranthanh
7709a4dec7
Merge pull request 'fea/thanh-05022026-home' ( #26 ) from fea/thanh-05022026-home into main
...
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#26
2026-02-05 09:57:21 +00:00
LNHA
1def614ca6
Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into hoanganh-03022026-appointment-contact-pricing
2026-02-05 16:18:58 +07:00
tranthanh
5a23d3b9d0
Merge pull request 'feat/huy-05022026-cms-add-footer-api-management' ( #23 ) from feat/huy-05022026-cms-add-footer-api-management into main
...
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#23
2026-02-05 09:11:13 +00:00