flask-nav icon indicating copy to clipboard operation
flask-nav copied to clipboard

parameters "role", "icon" and "info" for elements

Open kal60 opened this issue 8 years ago • 0 comments

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

?

kal60 avatar May 10 '17 21:05 kal60