Commit Graph

4 Commits

Author SHA1 Message Date
Zack Spear
469f15883b feat: enhance page content generation with responsive layout support
- Updated `generateContent` function to handle a new `ResponsiveLayout` flag in the page data array.
- Added a wrapper for non-responsive content based on the `ResponsiveLayout` flag.
- Adjusted CSS class naming for consistency in the `default-base.css` file.
- Set `ResponsiveLayout` to false in `AddVM.page` and `UpdateVM.page` for default behavior.
- Cleaned up HTML structure in `VMedit.php` to remove unnecessary class.

This change improves the flexibility of page layouts and ensures proper styling for non-responsive content.
2025-07-01 16:04:27 -07:00
bergware
de4aa58e2a Copyright update 2023-10-26 17:04:48 +02:00
bergware
202cb8c222 Move inline styling in page files to dedicated css files
Instead of styling defined inside a page file, these settings are now kept in a dedicated css file. This has several advantages:

- It comes much easier to maintain styling, all css files are easy to find and update
- Browser can cache css files, which may improve page loading time
- Separate theme css files exist, no more need to make selection by coding

- This PR is a 1-to-1 move of existing inline styling to css files
- In future more optimization can be made by consolidating css files
2023-10-14 19:02:35 +02:00
Tom Mortensen
f9ec00b488 repo reorg 2023-06-02 12:49:33 -07:00