Tested. It's perfect !

On Thursday, May 31, 2012 5:39:12 PM UTC-5, Paolo Caruccio wrote:
>
> Omi,
>
> please try attached files and let me know if you have the same problem.
>
> Il giorno giovedì 31 maggio 2012 22:23:16 UTC+2, Omi Chiba ha scritto:
>>
>> Comment out the jquery code will also disable the sub-menus somehow. The 
>> sub-menus doesn't appear after the change.
>>
>> On Wednesday, May 30, 2012 3:05:46 PM UTC-5, Paolo Caruccio wrote:
>>>
>>> Andrew,
>>>
>>> it's simple go back to old auth_navbar.
>>>
>>> In views/layout.html comment this jquery code:
>>>
>>>             jQuery('.auth_navbar').each(function(){        
>>>                 jQuery(this)
>>>  .addClass('btn-group')
>>>  .children('a').addClass('btn')
>>>             });
>>>
>>> and change the <div id="navbar"> in this way (note separators):
>>>
>>> <div id="navbar">{{='auth' in globals() and auth.navbar(separators=(' 
>>> ',' | ',''))}}</div>
>>>
>>> At least add below 2 rows to bottom of static/css/bootswatch.css:
>>>
>>> #navbar{
>>> padding-top:9px;
>>> }
>>> #navbar .auth_navbar, #navbar .auth_navbar a{
>>>  color:inherit;
>>>  //color:expression(this.parentNode.currentStyle['color']); /* ie7 
>>> doesn't support inherit */
>>> }
>>>
>>> Please, let me know if it works.
>>>
>>> Il giorno mercoledì 30 maggio 2012 07:42:07 UTC+2, Andrew ha scritto:
>>>>
>>>> Thanks Paolo,
>>>> The layout is back to normal.  However the Login set of links are 
>>>> looking like buttons, rather than the background being the same as the 
>>>> navbar.  This is the same in the two browsers I'm looking at (IE7 and 
>>>> Firefox).
>>>>
>>>> I prefer the way it looked in firefox.  Does it need to be a set 
>>>> background to work ?
>>>>
>>>>
>>>>
>>>>
>>>> On Tuesday, May 29, 2012 7:33:50 AM UTC+12, Paolo Caruccio wrote:
>>>>>
>>>>> Andrew,
>>>>>
>>>>> I, just now, proposed a patch through issue tracker (
>>>>> http://code.google.com/p/web2py/issues/detail?id=824) that should 
>>>>> resolve the problems with IE7 noted by you. Moreover the auth_navbar is 
>>>>> more compliant with bootstrap (check the image). I tested the new welcome 
>>>>> layout replacing the default web2py bootstrap.min.css with some from 
>>>>> bootswatch and it seems work good now. 
>>>>>
>>>>

Reply via email to