If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!

Download a CSS template from http://www.freecsstemplates.org

  1. Create a subfolder of static (example "css_template")
  2. Move template files to static/css_template
  3. Move static/css_template/index.html to views/layout.html
  4. Edit views/layout.html to fix href and src to static files using {{=URL('static','css_template/style.css')}}
  5. 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>

Related slices

Comments (0)

Hosting graciously provided by:
Python Anywhere