from zope.interface import Interface from zope.schema import TextLine, Text, Bytes class IFolio(Interface): """IFolio""" title = TextLine( title = u"Title", description=u"Title of the iFolio", required=True, ) class IAffordance(Interface): """ Affordance interface """ title = TextLine( title = u"Title", description=u"Title of the affordance", required=True, ) descr = Text( title = u"Description", description= u"Description of the affordance", required=False, ) class ITool(Interface): """ Tool interface """ title = TextLine( title = u"Title", description=u"Title of the tool", required=True, ) url = TextLine( title = u"URL", description = u"Tool's user where one can be seen or downloaded", required = True, ) img = Bytes( title = u"Image", description= u"Upload a small thumbnail of an image", required = False, ) descr = Text( title = u"Description", description= u"Description of the tool", required=False, ) opsys = Text( title=u"Operating system platform", description=u"", required=False, ) platform = Text( title=u"Development platform (programming language)", description=u"", required=False, ) license = Text( title=u"License", description=u"", required=False, ) database = Text( title=u"Data management system (database)", description=u"", required=False, ) server = Text( title=u"Application server", description=u"", required=False, ) servtech = Text( title=u"Server-side web technologies", description=u"", required=False, ) webtech = Text( title=u"Client-side web technologies (browser)", description=u"", required=False, ) portal = Text( title=u"Portal platform", description=u"", required=False, ) dataexchange = Text( title=u"Data exchange / syndication standards", description=u"", required=False, ) metadata = Text( title=u"Metadata standards", description=u"", required=False, ) security = Text( title=u"Security model", description=u"", required=False, ) extendability = Text( title=u"Extendability / modularity", description=u"", required=False, ) localisation = Text( title=u"Localisation", description=u"", required=False, ) extaccess = Text( title=u"External access to functionality", description=u"", required=False, ) userbase = Text( title=u"User base (who is using)", description=u"", required=False, ) class IAffordanceManager(Interface): """ IAffordanceManager """ class IToolsManager(Interface): """ IToolsManager """ class IUsersManager(Interface): """ IUsersManager """ class IUser(Interface): """ IUser """ from zope.publisher.interfaces.browser import IBrowserSkinType class IIFolioSkin(IBrowserSkinType): """ iFolio skin """