[web2py] best place to put style

2017-04-02 Thread Marlysson Silva
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)

[web2py] best place to put style

2017-04-01 Thread 黄祥
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