flask-nav
flask-nav copied to clipboard
parameters "role", "icon" and "info" for elements
How about adding these parameters to the elements (except "separator"):
role=string | list = roles to check when navbar is rendered against current_user.has_role() (only in an own renderer "authorized")
icon=string = definition of an bootstrap glyphicon to be placed in front of the text
info=string = mouse-overtext for nav item
?