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>
>
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
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
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
4 matches
Mail list logo