src/ztfy/myams/layer.py
changeset 0 8a19e25e39e4
equal deleted inserted replaced
-1:000000000000 0:8a19e25e39e4
       
     1 ### -*- coding: utf-8 -*- ####################################################
       
     2 ##############################################################################
       
     3 #
       
     4 # Copyright (c) 2008-2013 Thierry Florac <tflorac AT ulthar.net>
       
     5 # All Rights Reserved.
       
     6 #
       
     7 # This software is subject to the provisions of the Zope Public License,
       
     8 # Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
       
     9 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
       
    10 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
       
    11 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
       
    12 # FOR A PARTICULAR PURPOSE.
       
    13 #
       
    14 ##############################################################################
       
    15 
       
    16 __docformat__ = "restructuredtext"
       
    17 
       
    18 # import standard packages
       
    19 
       
    20 # import Zope3 interfaces
       
    21 
       
    22 # import local interfaces
       
    23 from ztfy.baseskin.layer import IBaseSkinLayer
       
    24 
       
    25 # import Zope3 packages
       
    26 from zope.schema import TextLine
       
    27 
       
    28 # import local packages
       
    29 
       
    30 from ztfy.myams import _
       
    31 
       
    32 
       
    33 class MyAMSLayer(IBaseSkinLayer):
       
    34     """Newskin base layer"""
       
    35 
       
    36 
       
    37 class MyAMSkin(MyAMSLayer):
       
    38     """Newskin base skin"""
       
    39 
       
    40     label = TextLine(title=_("My Application Management Skin (MyAMS)"))