On Tuesday, July 29, 2014 12:16:13 PM UTC-4, Dragan Matic wrote:
>
> Is there some tutorial how to do it for those of us not so versed in CSS? 
> If you just replace bootstrap.min.css in static/css the menus and forms do 
> not work the way they used to in BS2.
>

Note, in general, you should not expect to simply replace the CSS for one 
framework with that of another and have it work. The reason is that 
front-end frameworks require a combination of CSS and specific HTML 
structure with framework-specific classes. So, the layout must be 
customized for the framework.

The layout and CSS of the web2py scaffolding app is just intended as a 
basic template. It is not part of the web2py framework nor coupled to the 
framework. It is just one layout that you can use if you want. If you want 
to use a different front end framework or some other template, you should 
mostly throw out the scaffolding app layout and instead start with an 
external template. You can then modify your template to turn it into a 
layout.html view file (look at the scaffolding layout.html for ideas of how 
to set it up). Check out 
http://web2py.com/books/default/chapter/29/05/the-views#Page-layout for 
more details.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to