Download a CSS template from http://www.freecsstemplates.org
- Create a subfolder of static (example "css_template")
- Move template files to static/css_template
- Move static/css_template/index.html to views/layout.html
- Edit views/layout.html to fix href and src to static files using {{=URL('static','css_template/style.css')}}
- add these to views/layout.html where you want them to appear
- {{include}}
- {{include 'web2py_ajax.html'}}
- {{=MENU(response.menu)}}
- {{=auth.navbar}}
- <div class="flash">{{=response.flash or ''}}</div>
Comments (0)