The first way is the best option because separate concerns ( views ( HTML ) and
style (CSS) )
The second you are using all web page with componentes to include in current
page.. I think that this is not a best pratice..
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
what is the difference to put the style in static/css or put it on
views/templates?
*e.g.*
*views/templates/style/loader.html*
.loader {
border: 3px solid #f3f3f3;
border-radius: 50%;
border-top: 3px solid blue;
border-right: 3px solid green;
border-bottom: 3px solid red;
border-left: 3px solid y
2 matches
Mail list logo