Attached is my layout.html...

On Sun, Dec 14, 2014 at 5:35 AM, <p...@cancamusa.net> wrote:

>
> <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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/HWZ_4gyUSPo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Title: QLF Connect
{{include}}
{{if response.google_analytics_id:}} {{pass}}

--
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to