<https://lh6.googleusercontent.com/-vlz1xlvEvkU/VI11l_BlzKI/AAAAAAAAAAU/hDIBLXesoj8/s1600/overlay_icons_in_auth_navbar.png>
I also had overlay icons, in the auth navbar, as shown. To solve it I had
to edit gluon/tools.py:1536
def bootstrap3(): # Default web2py scaffolding
def rename(icon): return icon.replace('icon','glyphicon')
self.bar = UL(LI(Anr(I(_class=rename('icon '+items[0]['icon'])),
' ' + items[0]['name'],
_href=items[0]['href'])),_class=
'dropdown-menu')
instead of
def bootstrap3(): # Default web2py scaffolding
def rename(icon): return icon+' '+icon.replace('icon',
'glyphicon')
self.bar = UL(LI(Anr(I(_class=rename('icon '+items[0]['icon'])),
' ' + items[0]['name'],
_href=items[0]['href'])),_class=
'dropdown-menu')
There sure are other ways...
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.