# HG changeset patch # User Thierry Florac # Date 1548777143 -3600 # Node ID 61788d2c539fa79e4aad758be25ca1366d6a6233 # Parent fc623fa4f4ac7813da63fb1a2ec1d0933d8ef2a1 Converted package to module diff -r fc623fa4f4ac -r 61788d2c539f src/pyams_default_theme/interfaces.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/pyams_default_theme/interfaces.py Tue Jan 29 16:52:23 2019 +0100 @@ -0,0 +1,55 @@ +# +# Copyright (c) 2008-2018 Thierry Florac +# All Rights Reserved. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# + +__docformat__ = 'restructuredtext' + +from zope.interface import Interface, Attribute + + +class IContentNavigationTitle(Interface): + """Content navigation title""" + + +class IContentTag(Interface): + """Content tag interface""" + + +class IContentDate(Interface): + """Content date interface""" + + +class IContentBannerIllustration(Interface): + """Content banner illustration adapter interface""" + + +class IContentHeaderIllustration(Interface): + """Content header illustration adapter interface""" + + +class IContentNavigationIllustration(Interface): + """Content navigation illustration adapter interface""" + + +class IContentSummaryInfo(Interface): + """Content interface for site summary page""" + + context = Attribute("Link to adapted context") + + title = Attribute("Content's title") + + header = Attribute("Header") + + button_title = Attribute("Button's target") + + +class ISearchResultsView(Interface): + """Search results view marker interface""" diff -r fc623fa4f4ac -r 61788d2c539f src/pyams_default_theme/interfaces/__init__.py --- a/src/pyams_default_theme/interfaces/__init__.py Tue Jan 29 15:58:25 2019 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,55 +0,0 @@ -# -# Copyright (c) 2008-2018 Thierry Florac -# All Rights Reserved. -# -# This software is subject to the provisions of the Zope Public License, -# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. -# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED -# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS -# FOR A PARTICULAR PURPOSE. -# - -__docformat__ = 'restructuredtext' - -from zope.interface import Interface, Attribute - - -class IContentNavigationTitle(Interface): - """Content navigation title""" - - -class IContentTag(Interface): - """Content tag interface""" - - -class IContentDate(Interface): - """Content date interface""" - - -class IContentBannerIllustration(Interface): - """Content banner illustration adapter interface""" - - -class IContentHeaderIllustration(Interface): - """Content header illustration adapter interface""" - - -class IContentNavigationIllustration(Interface): - """Content navigation illustration adapter interface""" - - -class IContentSummaryInfo(Interface): - """Content interface for site summary page""" - - context = Attribute("Link to adapted context") - - title = Attribute("Content's title") - - header = Attribute("Header") - - button_title = Attribute("Button's target") - - -class ISearchResultsView(Interface): - """Search results view marker interface"""