Meta Menu for CMS layout
See original GitHub issueLektor needs the ability to manipulate the CMS layout.
Currently, all of our fields in the CMS populate on top of each other reflecting the order in the .ini files the fields were created. The field extends horizontally across the window in the CMS regardless of their type and data actually inserted in the fields.
(1) I’m proposing a pop out menu for a catch all default layout style to apply to system fields. (2) Then a button & pop out menu for each field for individual changes.
The available options in the pop out menu would include manually setting buttons native width (which is currently a css variable width="100%"
), allowing them to be horizontally parallel with each other if width settings permit it, and flowblock button limiter (this will be another issue).
This will make the CMS more compact and less “white space” wasted as a result.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (5 by maintainers)
Top GitHub Comments
The UI definitely wasn’t designed for editing code.
I get the want to style the admin as you see fit. A little bit of that can be done with models now, but as for larger changes like skinning or something we have #324 and #458 that basically cover that. If we’re going to be able to change the admin’s look from within admin it should definitely come after those tickets, and after offering that ability at all. Since you say so @alan-cugler, I’ll close this. We’ll re-evaluate custom styles later.
The intention of Lektor is that someone designs the models, templates, etc., then users can use the UI to edit the content. I don’t think the UI was ever intended to be an editor for project files, only for content.