Skip to content

_dashboard themes: refactor code structure#1032

Open
nicozanf wants to merge 3 commits intoweb2py:masterfrom
nicozanf:nicozanf-themes2
Open

_dashboard themes: refactor code structure#1032
nicozanf wants to merge 3 commits intoweb2py:masterfrom
nicozanf:nicozanf-themes2

Conversation

@nicozanf
Copy link
Collaborator

for improved readability and maintainability

@mdipierro
Copy link
Contributor

I do not like having different index.html for different color themes. This make is hard to maintain because any change will require editing multiple files. Can this be avoided?

- index.html  is central, use optional partial hooks for single themes styles.
- add new Classic  theme with separated pages instead of accordion. Should look like the old web2py admin app
@nicozanf
Copy link
Collaborator Author

Right! I have restored index.html centrality - and also added a new Classic theme!

Big change. I've tested it quite a lot, but it's mainly AI generated - check it careful and do not hesitate to blame it if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants