doc/book/en/01-06-maintemplate.en.txt
changeset 116 e2303f9b5bfa
parent 115 4b66ad23fbd1
--- a/doc/book/en/01-06-maintemplate.en.txt	Thu Nov 20 21:30:55 2008 +0100
+++ b/doc/book/en/01-06-maintemplate.en.txt	Thu Nov 20 21:55:16 2008 +0100
@@ -1,7 +1,7 @@
 .. -*- coding: utf-8 -*-
 
 Views & Templates
-=================
+-----------------
 
 Look at ``lax/skel/ginco/web/views/basetemplates.py`` and you will
 find the base templates used to generate HTML for your application.
@@ -16,13 +16,13 @@
 
 
 HTMLPageHeader
---------------
+~~~~~~~~~~~~~~~
 
 Let's use a different logo than the default one provided with LAX
 and customize our header.
 
 Change logo
-~~~~~~~~~~~
+```````````
 
 The easiest way to use a different logo is to replace the existing
 ``logo.png`` in ``myapp/data`` by your prefered icon and refresh.
@@ -38,7 +38,7 @@
 ADD how to use external_resources variables used in ginco/web/webconfig.py
 
 Customize header
-~~~~~~~~~~~~~~~~
+`````````````````
 
 Let's now move the search box in the header and remove the login form
 from the header. We'll show how to move it to the left column of the application.
@@ -148,7 +148,7 @@
 
 
 HTMLPageFooter
---------------
+~~~~~~~~~~~~~~
 
 If you want to change the footer for example, look
 for HTMLPageFooter and override it in your views file as in: 
@@ -166,7 +166,8 @@
 
 
 TheMainTemplate
----------------
+~~~~~~~~~~~~~~~
+
 .. _TheMainTemplate:
 
 The MainTemplate is a bit complex as it tries to accomodate many
@@ -182,7 +183,7 @@
 .. image:: images/lax-book.06-simple-main-template.en.png
 
 CSS changes
------------
+~~~~~~~~~~~
 
 We cannot modify the order in which the application is reading the CSS. In
 the case we want to create new CSS style, the best is to define it a in a new
@@ -193,7 +194,6 @@
 apply a higher priority on the default CSS and you can not change that. 
 Customized CSS will not be read first.
 
-1
 [TODO]
 Add login menu in left column