Bootstrap 4 & 5 helper for your Flask projects.
This is the last version that supports Python 2.
Some new features in this version:
See the changelog for details: https://github.com/greyli/bootstrap-flask/blob/master/CHANGES.rst#180
Thanks to @yuxiaoy1 and @caffeinatedMike!
The version includes a lot of improvements on render_table
, especially for the table actions.
custom_actions
parameter for the render_table
macro. When passing a list of tuples [(title, bootstrap icon, link)]
to the custom_actions
parameter, the render_table
macro will create an icon (link) on the action column for each tuple in the list. The title text (first index of each tuple) will show when hovering over each custom_actions
button. #134render_table
, now the icons can be styled with the action-icon
class. #137action_pk_placeholder
to ':id'
. The support to the old value will be removed in version 2.0. #138new_url
parameter for the render_table
macro. When passing an URL to the new_url
parameter, the render_table
macro will create an icon (link) on the action header (#133).render_table
macro (#132).A bugfix release.
See the changelog for more details.
A bugfix release:
render_table
macro for the breaking change in SQLAlchemy >= 1.4 (PR #124, thanks to @Demetriex)Use the following command to upgrade:
pip install -U bootstrap-flask