If Andrew and LightDot agree, I will prepare a patch and I'll sumbit it in
google issue tracker in next two hours.
Il giorno domenica 17 giugno 2012 17:32:53 UTC+2, Massimo Di Pierro ha
scritto:
>
> Can you coordinate with Andrew and Paolo and send me a single fix that
> applies to latest trunk and addresses the outstanding issues?
>
> On Sunday, 17 June 2012 08:42:50 UTC-5, LightDot wrote:
>>
>> I have tried your updated bootswatch.css from another thread here, which
>> also incorporates this fix. I confirm that BS 2.0.4 works now.
>>
>> Thanks!
>>
>> On Sunday, June 17, 2012 12:33:52 AM UTC+2, Paolo Caruccio wrote:
>>>
>>> LightDot,
>>>
>>> try to append in static/css/bootswatch.css this rule:
>>>
>>> .dropdown-menu ul{display:block;}
>>>
>>> I spotted the issue some days ago, but I didn't propose a patch because
>>> web2py still has bs 2.0.2
>>>
>>> Let me know if the fix works for you also.
>>>
>>> Il giorno domenica 17 giugno 2012 00:27:18 UTC+2, LightDot ha scritto:
>>>>
>>>> Changes in dev in the last week or so have effect on Bootstrap. 2nd
>>>> level submenus don't work anymore if using Bootstrap 2.0.4, while bundled
>>>> 2.0.2 works.
>>>>
>>>> - clean welcome app from latest dev, Bootstrap css and js upgraded to
>>>> 2.0.4
>>>> - clicking over the yellow "web2py" opens the first submenu level
>>>> - clicking or hovering over e.g. Documentation, does nothing.
>>>>
>>>> Tested in Firefox 13 and Opera 12... Are there plans to update
>>>> Bootstrap to 2.0.4 in web2py itself?
>>>>
>>>> Regards
>>>>
>>>>
>>>> On Friday, June 15, 2012 4:49:29 PM UTC+2, Paolo Caruccio wrote:
>>>>>
>>>>> Andrew, do you mean the code for old auth_navbar style? If yes, I
>>>>> think it's better if you open a new thread for asking to the web2py users
>>>>> what style they prefer and after we will send a patch to Massimo. It's
>>>>> possible that most of w2p users loves the current style (bootstrap
>>>>> buttons
>>>>> group).
>>>>>
>>>>> Il giorno giovedì 14 giugno 2012 22:55:38 UTC+2, Andrew ha scritto:
>>>>>>
>>>>>> Hi Paolo,
>>>>>>
>>>>>> Are you able to send a patch to Massimo for your layout and
>>>>>> bootswatch files. The bootstrap menu issue is holdnig up 2.0 and I
>>>>>> think
>>>>>> your changes have addressed this. Would love to see it in trunk.
>>>>>>
>>>>>> If you can't I can have a go at working out what you did.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Andrew W
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Thursday, June 7, 2012 8:24:44 PM UTC+12, Paolo Caruccio wrote:
>>>>>>>
>>>>>>> I'm afraid you can not do it. The first item in the dropdown menu
>>>>>>> (having class="dropdown") can not contain an URL. The structure of the
>>>>>>> dropdown menu is as follows (taken from this page
>>>>>>> http://twitter.github.com/bootstrap/components.html#navbar):
>>>>>>>
>>>>>>> Adding dropdown menus
>>>>>>>
>>>>>>> Adding dropdowns and dropups to the nav is super simple, but does
>>>>>>> require the use of our javascript
>>>>>>> plugin<http://twitter.github.com/bootstrap/javascript.html#dropdowns>
>>>>>>> .
>>>>>>>
>>>>>>>
>>>>>>> 1. <ul class="nav">
>>>>>>> 2. <li class="dropdown">
>>>>>>> 3. <a href="#"
>>>>>>> 4. class="dropdown-toggle"
>>>>>>> 5. data-toggle="dropdown">
>>>>>>> 6. Account
>>>>>>> 7. <b class="caret"></b>
>>>>>>> 8. </a>
>>>>>>> 9. <ul class="dropdown-menu">
>>>>>>> 10. ...
>>>>>>> 11. </ul>
>>>>>>> 12. </li>
>>>>>>> 13. </ul>
>>>>>>>
>>>>>>>
>>>>>>> Il giorno giovedì 7 giugno 2012 04:13:19 UTC+2, LightDot ha scritto:
>>>>>>>>
>>>>>>>> I can confirm this, using fresh welcome application and Bootstrap
>>>>>>>> upgraded to 2.0.4.
>>>>>>>>
>>>>>>>> If a menu item has both an URL specified and also additional
>>>>>>>> submenus, these don't get displayed. Regardless if this is a first or
>>>>>>>> a
>>>>>>>> second level menu item. If the URL is set as None, additional submenus
>>>>>>>> display properly.
>>>>>>>>
>>>>>>>> Regards
>>>>>>>>
>>>>>>>> On Wednesday, June 6, 2012 11:13:48 PM UTC+2, Paolo Caruccio wrote:
>>>>>>>>>
>>>>>>>>> Szimszon,
>>>>>>>>>
>>>>>>>>> is it a new application or have you replaced an old layout with
>>>>>>>>> that new one?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Il giorno mercoledì 6 giugno 2012 13:42:22 UTC+2, szimszon ha
>>>>>>>>> scritto:
>>>>>>>>>>
>>>>>>>>>> I have issue with dropdown menu when the main menu is a link too.
>>>>>>>>>>
>>>>>>>>>> If I click on the main menu than that menu is activated and I
>>>>>>>>>> can't access the items below it with any means :(
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Il giorno mercoledì 6 giugno 2012 13:42:22 UTC+2, szimszon ha
>>>>>>>>> scritto:
>>>>>>>>>>
>>>>>>>>>> I have issue with dropdown menu when the main menu is a link too.
>>>>>>>>>>
>>>>>>>>>> If I click on the main menu than that menu is activated and I
>>>>>>>>>> can't access the items below it with any means :(
>>>>>>>>>>
>>>>>>>>>