Impressive Paolo, Looks like you're a web2py developer yourself ! I'm not adept in the art of css , but it this the solution we've been looking for ?
Regards Andrew W On Friday, May 25, 2012 11:16:37 AM UTC+12, Paolo Caruccio wrote: > > Andrew, I played a bit on this subject. Please replace the below files > (before backup them) with attached ones: > > 1. welcome > models > menu.py (check the changes in response.menu) > 2. welcome > views > layout.html (heavily changed) > 3. welcome > static > css > web2py.css (find the comment "bootswatch" to > see the changes) > > Now, if you download a css from bootswatch.com or built it from > http://stylebootstrap.info, replacing default one you shouldn't have > problems. For the menu I used one of solutions that Anthony proposed. > > In attachement also some images to show how several themes are rendered in > several modern browsers. > > Last notes: > a) this is an experiment. You have to obtain official changes from web2py > developers > b) my enviroment: windows 7, python 2.7.2, web2py version 2.0.00 > (2012-05-23 09:27:57) dev > > > Il giorno lunedì 21 maggio 2012 20:42:38 UTC+2, Andrew ha scritto: >> >> Hello, >> I'm trying a few bootswatch themes over a new "welcome" app. see >> http://bootswatch.com/ >> The first thing I noticed is that the menus don't display correctly. >> >> Is anyone playing with this ? Seeing that web2py uses bootstrap, it >> would be great to drop in a bootswatch theme. >> >>