doc/book/en/development/webstdlib/basetemplates.rst
changeset 2476 1294a6bdf3bf
parent 2172 cf8f9180e63e
child 2813 0cf6c8005bf6
equal deleted inserted replaced
2475:b6753521129d 2476:1294a6bdf3bf
   157 TheMainTemplate
   157 TheMainTemplate
   158 ---------------
   158 ---------------
   159 .. _TheMainTemplate:
   159 .. _TheMainTemplate:
   160 
   160 
   161 TheMainTemplate is responsible for the general layout of the entire application.
   161 TheMainTemplate is responsible for the general layout of the entire application.
   162 It defines the template of ``id = main`` that is used by the application.
   162 It defines the template of ``id = main`` that is used by the instance.
   163 
   163 
   164 The default main template (`cubicweb.web.views.basetemplates.TheMainTemplate`)
   164 The default main template (`cubicweb.web.views.basetemplates.TheMainTemplate`)
   165 builds the page based on the following pattern:
   165 builds the page based on the following pattern:
   166 
   166 
   167 .. image:: ../../images/main_template_layout.png
   167 .. image:: ../../images/main_template_layout.png