<html>
<head>

{{response.files.append(URL(...))}} <- Load aditionall css/js here

{{include 'web2py_ajax.html'}} <- dont forget to include it here
</head>
<body>

<div class="container">
{{block header}}
<header> {{=response.title </header>    <- you can use blocks to create
dynamic layouts
{{end}}

{{include}} <- your views will be merged here

</div>

{{block footer}}
<footer> Copyright 2011 </footer>
{{end}}

</body>
</html>

On Wed, Sep 21, 2011 at 1:59 PM, Furqan Rauf <sfar.fur...@gmail.com> wrote:

> Hey guys,
> I am planning on designing a custom layout for web2py, can you guys tell me
> where should I start from?
>
> Thanks
>
> --
> *-Furqan Rauf*
> *Do you love your creator? Love your fellow-beings first. -Prophet
> Muhammad
> *
> *http://www.amway.com/furqanrauf*
>
>


-- 



--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]
[ Aprenda a programar: http://CursoDePython.com.br ]
[ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ]
[ Consultoria em desenvolvimento web: http://www.blouweb.com ]

Reply via email to