Replies: 3 comments 11 replies
-
You can simply override base.html. Flask Admin has some examples of doing this in the repo. Here are the four examples I could find:
I think we can add a recipe to the cookbook that demonstrates this but an examples folder could be better, WDYT @aminalaee? |
Beta Was this translation helpful? Give feedback.
-
Some other ideas for implementing this feature.
|
Beta Was this translation helpful? Give feedback.
-
Thanks @hasansezertasan . Is this a recommendation to me as a user, or is this an idea for a new feature in sqladmin. If the first how would I "override" base.html? Some kind of package monkey patching? I'm not sure how to do that. |
Beta Was this translation helpful? Give feedback.
-
I would like to add some javascript and css that will affect all the pages.
For now I am doing that individually on each custom template. For example:
organization_edit.html
I would like to make this change either to the layout.html file to affect the whole site. Or do it in a more targeted fashion to the 'edit.html' template so all edit pages affected.
Beta Was this translation helpful? Give feedback.
All reactions