[web2py] Re: add items in navbar .. mode=dropdown

2015-05-24 Thread Neeraj Shukla
1'), > LI('Item 2'), ...])}} > {{=navbar}} > > Anthony > > On Saturday, May 23, 2015 at 12:00:23 PM UTC-4, Neeraj Shukla wrote: >> >> >> <https://lh3.googleusercontent.com/-OK9lM0zgP4c/VWCkDG6uOUI/ALs/RjjEwoaloSc/s1600/web2py_query.png> >

[web2py] Re: add items in navbar .. mode=dropdown

2015-05-23 Thread Neeraj Shukla
as well as the > HTML markup that ends up in the browser? > > On Saturday, May 23, 2015 at 6:01:34 AM UTC-4, Neeraj Shukla wrote: >> >> >> navbar = auth.navbar(mode='dropdown') >> if auth.user: >> navbar.element('ul.dropdown-menu').comp

[web2py] Re: add items in navbar .. mode=dropdown

2015-05-23 Thread Neeraj Shukla
navbar = auth.navbar(mode='dropdown') if auth.user: navbar.element('ul.dropdown-menu').components.extend([LI('Item 1'), LI('Item 2'), ...]) Above method is not working on web2py 2.10.4 however if jquery works {{block page_js}} {{if auth.user:}} jQuery("ul.dropdown-menu").append('
  • i

  • [web2py] How to change bootstrap theme of application ?

    2014-05-31 Thread Neeraj Shukla
    After replacing bootstrap.min.css located in static/css/ folder of application with another bootstrap.min.css changes are not getting reflected in application. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://co