src/pyams_skin/interfaces/__init__.py
changeset 84 25cf058f7e1d
parent 69 a361355b55c7
child 133 00dd94c59eb0
--- a/src/pyams_skin/interfaces/__init__.py	Wed Sep 09 11:53:09 2015 +0200
+++ b/src/pyams_skin/interfaces/__init__.py	Wed Oct 07 17:52:40 2015 +0200
@@ -15,9 +15,11 @@
 # import standard library
 
 # import interfaces
+from pyams_skin.layer import IPyAMSLayer
 from zope.component.interfaces import IObjectEvent, ObjectEvent
 
 # import packages
+from pyams_template.template import layout_config
 from zope.interface import implementer, Interface, Attribute
 from zope.configuration.fields import GlobalInterface
 from zope.schema import Text, TextLine, Choice, Int
@@ -63,24 +65,29 @@
                   vocabulary='PyAMS skins')
 
 
+@layout_config(template='templates/fullpage-layout.pt', layer=IPyAMSLayer)
 class IFullPage(Interface):
     """Full page marker interface"""
 
 
+@layout_config(template='templates/fullpage-modal-layout.pt', layer=IPyAMSLayer)
 class IModalFullPage(IFullPage):
     """Full page modal dialog marker interface"""
 
     dialog_class = Attribute("Default dialog CSS class")
 
 
+@layout_config(template='templates/inner-layout.pt', layer=IPyAMSLayer)
 class IInnerPage(Interface):
     """Inner page marker interface"""
 
 
+@layout_config(template='templates/widget-layout.pt', layer=IPyAMSLayer)
 class IWidgetInnerPage(IInnerPage):
     """Inner page with widget marker interface"""
 
 
+@layout_config(template='templates/modal-layout.pt', layer=IPyAMSLayer)
 class IModalPage(Interface):
     """Modal page marker interface"""