Open hasansezertasan opened 9 months ago
One other thing I would like to add is Flask Appbuilder's approach:
Flask-AppBuilder/flask_appbuilder/templates/appbuilder at master · dpgaspar/Flask-AppBuilder
So for this layout, we would have to update the file structure like this:
- templates
- starlette_admin
- tabler1
- admin # Current templates folder goes here
- tabler2
- admin
- bootstrap5
- admin
- tailwind
- admin
- ...
Related: aminalaee/sqladmin#747 Solution: aminalaee/sqladmin#748
Any updates?
As far as I know, there are currently two ways for users of this library to resolve this conflict:
templates
-> templates/app
base.html
-> app_base.html
This is really good to have. Please feel free to submit a PR.
This is really good to have. Please feel free to submit a PR.
I'll work on it when I get a chance 👍.
Is your feature request related to a problem? Please describe. I (and many others IMO) intend to use a single templates instance for their projects. Starlette Admin occupies some file names (that are very common) and conflicts occur. For example,
base.html
andindex.html
are quite standard file names for templates.Describe the solution you'd like Follow the Flask Admin layout:
Statics and Templates