src/pyams_default_theme/page.py
changeset 0 ee195bbaf3ed
child 16 d2950d484bdf
equal deleted inserted replaced
-1:000000000000 0:ee195bbaf3ed
       
     1 #
       
     2 # Copyright (c) 2008-2015 Thierry Florac <tflorac AT ulthar.net>
       
     3 # All Rights Reserved.
       
     4 #
       
     5 # This software is subject to the provisions of the Zope Public License,
       
     6 # Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
       
     7 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
       
     8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
       
     9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
       
    10 # FOR A PARTICULAR PURPOSE.
       
    11 #
       
    12 
       
    13 __docformat__ = 'restructuredtext'
       
    14 
       
    15 
       
    16 # import standard library
       
    17 
       
    18 # import interfaces
       
    19 from pyams_default_theme.layer import IPyAMSDefaultLayer
       
    20 
       
    21 # import packages
       
    22 from pyams_pagelet.pagelet import pagelet_config
       
    23 from pyams_template.template import layout_config, template_config
       
    24 
       
    25 
       
    26 @pagelet_config(name='', layer=IPyAMSDefaultLayer)
       
    27 @layout_config(template='templates/layout.pt', layer=IPyAMSDefaultLayer)
       
    28 @template_config(template='templates/index.pt', layer=IPyAMSDefaultLayer)
       
    29 class BaseIndexPage(object):
       
    30     """Default base index page"""