Ejemplo n.º 1
0
class IPlaygroup(form.Schema, IImageScaleTraversable):
    """
    playgroup to learning
    """

    # If you want a schema-defined interface, delete the model.load
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/playgroup.xml to define the content type.

    form.model("models/playgroup.xml")
Ejemplo n.º 2
0
class IBlogPage(form.Schema, IImageScaleTraversable):
    """
    babywith.me new content type, simple document format
    """

    # If you want a schema-defined interface, delete the model.load
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/blogpage.xml to define the content type.

    form.model("models/blogpage.xml")
Ejemplo n.º 3
0
class Ipg_search_field(form.Schema):
    """
    Desktop for IOL Application connected with Postgres Database
    """

    # If you want a schema-defined interface, delete the model.load
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/pg_desktop.xml to define the content type.

    form.model("models/pg_search_field.xml")
class _ICourse(form.Schema, IImageScaleTraversable):
    """
    Course
    """

    # If you want a schema-defined interface, delete the model.load
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/course.xml to define the content type.

    form.model("models/course.xml")
Ejemplo n.º 5
0
class IWorkspace(form.Schema, IImageScaleTraversable):
    """
    A workspace for site mambers
    """

    # If you want a schema-defined interface, delete the model.load
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/workspace.xml to define the content type.

    form.model("models/workspace.xml")
Ejemplo n.º 6
0
class IAuthor(form.Schema, IImageScaleTraversable):
    """
    Author information
    """

    # If you want a schema-defined interface, delete the model.load
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/author.xml to define the content type.

    form.model("models/author.xml")
Ejemplo n.º 7
0
class IPKApplication(form.Schema):
    """
    PackageKit Application
    """

    # If you want a schema-defined interface, delete the form.model
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/pkapplication.xml to define the content type
    # and add directives here as necessary.

    form.model("models/pkapplication.xml")
Ejemplo n.º 8
0
class IContentFragment(form.Schema):
    """
    Content view fragment for composable page
    """

    form.model("models/content_fragment.xml")

    relation_field = RelationChoice(
        title=_(u'My Related Page'),
        source=ObjPathSourceBinder(portal_type='Document'),
        default=None,
        required=False)
Ejemplo n.º 9
0
class Isessione_di_laurea(form.Schema, IImageScaleTraversable):
    """
    Sessione di laurea
    """

    # If you want a schema-defined interface, delete the form.model
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/sessione_di_laurea.xml to define the content type
    # and add directives here as necessary.

    form.model("models/sessione_di_laurea.xml")
Ejemplo n.º 10
0
class ISpotlight(form.Schema, IImageScaleTraversable):
    """
    Description of the Example Type
    """

    # If you want a schema-defined interface, delete the form.model
    # line below and delete the matching file in the models sub-directory.
    # If you want a model-based interface, edit
    # models/spotlight.xml to define the content type
    # and add directives here as necessary.

    form.model("models/spotlight.xml")
Ejemplo n.º 11
0
class IElection(form.Schema):
    """ An election.
    """
    form.model("models/election.xml")
Ejemplo n.º 12
0
class IPageFragment(form.Schema):
    """
    Building block for composable page
    """

    form.model("models/page_fragment.xml")
Ejemplo n.º 13
0
class ICover(form.Schema):
    """
    Composable page
    """
    form.model("models/cover.xml")
Ejemplo n.º 14
0
class IComposition(form.Schema):
    """
    Composable page
    """
    form.model("models/composition.xml")
Ejemplo n.º 15
0
class IColumn(form.Schema):
    """
    Interfaces for columns
    """

    form.model("models/dt_column.xml")
Ejemplo n.º 16
0
class IMapLayer(form.Schema):
    """Marker Interfaces for IMapLayer
    """
    form.model('models/ol_layer.xml')
Ejemplo n.º 17
0
class IMap(form.Schema):
    """"Marker Interface for Imap
    """
    form.model("models/google_map.xml")
Ejemplo n.º 18
0
class IHTMLFragment(form.Schema):
    """
    HTML fragment for composable page
    """
    
    form.model("models/html_fragment.xml")
Ejemplo n.º 19
0
class IPortletFragment(form.Schema):
    """
    Content view fragment for composable page
    """
    
    form.model("models/portlet_fragment.xml")
Ejemplo n.º 20
0
class IMember(form.Schema):
    form.model("member.xml")
Ejemplo n.º 21
0
class IConnectionSettings(form.Schema):
    """ Define the fields for the content type add form
    """
    form.model("models/connection.xml")
Ejemplo n.º 22
0
class ICover(form.Schema):

    """A composable page."""

    form.model('models/cover.xml')