


has a collection of widgets to change your views presentation, has already stored it, next references will be made by name.

Using label argument is optional for view name or category, but it’s advised for internationalization, if you use it with Babel’s lazy_gettext function it will automate translation’s extraction.Ĭategory icon and label can be setup only for the first time. add_view ( MyModelView3, "My View 3", category = "My Views" ) add_view ( MyModelView2, "My View 2", category = "My Views" ) appbuilder. add_view ( MyModelView1, "My View 1", category = "My Views" ) appbuilder. # Register a view, rendering a top menu without icon appbuilder.
FOOTER BOOTSTRAP BUILDER HOW TO
Let’s take a quick look on how to easily change this You can change the way the menu is constructed adding your own links, separators and changing the navbar reverse property.īy default menu is constructed based on your classes and in a reversed navbar. your_root_project_path/app/templates/appbuilder/footer.htmlĪctually you can override any given F.A.B. You must develop your template,ĭevelop your jinja2 template and place it on the following relative path to override the F.A.B footer. The default footer can be easily changed by your own. You can override IndexView index function to display a different view if a user is logged in or not. Of course you can use a more complex index view, you can use any kind of view (BaseView childs), you can evenĬhange relative url path to whatever you want, remember to set default_view to your function. from_object ( 'config' ) db = SQLA ( app ) appbuilder = AppBuilder ( app, db.
FOOTER BOOTSTRAP BUILDER UPGRADE
