html+css to show the base layout and block names

1 view
Skip to first unread message

Riccardo Murri

unread,
Nov 18, 2009, 12:25:08 PM11/18/09
to pinax...@googlegroups.com
Hello Pinax users,

I was a bit lost at customizing the default layout, so I have quickly
put together an html template + css file showing (in bright colors)
the different components and blocks of the default base.html.

To test, add this to urls.py::

url(r'^lttest/$', direct_to_template, {
"template": "show_base_layout.html",
}, name="lttest"),

and copy the attached .html file into the templates/ directory and the
.css file to the static css/ directory.
Then you should be able to view the layout at: <your pinax url>/lttest

Cheers,
Riccardo

--
Riccardo Murri, via Rossée 17, 6987 Caslano (CH)
show_base_layout.html
show_base_layout.css
Reply all
Reply to author
Forward
0 new messages