- -
-

pyams_content.component.illustration.zmi package

-
-

Submodules

-
-
-

pyams_content.component.illustration.zmi.paragraph module

-
-
-class pyams_content.component.illustration.zmi.paragraph.IllustrationAJAXAddForm(context, request)
-

Bases: pyams_content.component.paragraph.zmi.BaseParagraphAJAXAddForm, pyams_content.component.illustration.zmi.paragraph.IllustrationAddForm

-

HTML paragraph add form, JSON renderer

-
- -
-
-class pyams_content.component.illustration.zmi.paragraph.IllustrationAddForm(context, request)
-

Bases: pyams_zmi.form.AdminDialogAddForm

-

Illustration add form

-
-
-add(object)
-
- -
-
-ajax_handler = 'add-illustration.json'
-
- -
-
-create(data)
-
- -
-
-dialog_class = 'modal-large'
-
- -
-
-edit_permission = 'pyams.ManageContent'
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-icon_css_class = 'fa fa-fw fa-file-image-o'
-
- -
-
-legend = 'Add new illustration'
-
- -
-
-updateWidgets(prefix=None)
-
- -
- -
-
-class pyams_content.component.illustration.zmi.paragraph.IllustrationAddMenu(context, request, view, manager)
-

Bases: pyams_content.component.paragraph.zmi.BaseParagraphAddMenu

-

Illustration add menu

-
-
-label = 'Add illustration...'
-
- -
-
-label_css_class = 'fa fa-fw fa-file-image-o'
-
- -
-
-paragraph_type = 'Illustration'
-
- -
-
-url = 'add-illustration.html'
-
- -
- -
-
-class pyams_content.component.illustration.zmi.paragraph.IllustrationInnerAJAXEditForm(context, request)
-

Bases: pyams_content.component.paragraph.zmi.BaseParagraphAJAXEditForm, pyams_content.component.illustration.zmi.paragraph.IllustrationInnerEditForm

-

Illustration paragraph inner edit form, JSON renderer

-
-
-get_ajax_output(changes)
-
- -
- -
-
-class pyams_content.component.illustration.zmi.paragraph.IllustrationInnerEditForm(context, request)
-

Bases: pyams_content.component.illustration.zmi.paragraph.IllustrationPropertiesEditForm

-

Illustration inner edit form

-
-
-ajax_handler = 'inner-properties.json'
-
- -
-
-buttons
-
- -
-
-legend = None
-
- -
- -
-
-class pyams_content.component.illustration.zmi.paragraph.IllustrationPropertiesAJAXEditForm(context, request)
-

Bases: pyams_content.component.paragraph.zmi.BaseParagraphAJAXEditForm, pyams_content.component.illustration.zmi.paragraph.IllustrationPropertiesEditForm

-

Illustration properties edit form, JSON renderer

-
-
-get_ajax_output(changes)
-
- -
- -
-
-class pyams_content.component.illustration.zmi.paragraph.IllustrationPropertiesEditForm(context, request)
-

Bases: pyams_content.component.paragraph.zmi.BaseParagraphPropertiesEditForm

-

Illustration properties edit form

-
-
-ajax_handler = 'properties.json'
-
- -
-
-dialog_class = 'modal-large'
-
- -
-
-edit_permission = 'pyams.ManageContent'
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-icon_css_class = 'fa fa-fw fa-file-image-o'
-
- -
-
-legend = 'Edit illustration properties'
-
- -
-
-updateWidgets(prefix=None)
-
- -
- -
-
-class pyams_content.component.illustration.zmi.paragraph.IllustrationSummary(context, request)
-

Bases: pyams_viewlet.viewlet.BaseContentProvider

-

Illustration renderer

-
-
-language = None
-
- -
-
-render()
-
- -
-
-update()
-
- -
- -
-
-

Module contents

-
-
-class pyams_content.component.illustration.zmi.AddIllustrationAction(context, request, view, manager)
-

Bases: pyams_form.security.ProtectedFormObjectMixin, pyams_skin.viewlet.toolbar.JsToolbarAction

-

Add illustration action

-
-
-group_css_class = 'btn-group clearfix persistent'
-
- -
-
-label = 'Add illustration'
-
- -
-
-url = 'PyAMS_content.illustration.addIllustration'
-
- -
- -
-
-class pyams_content.component.illustration.zmi.BaseIllustrationRenderer(context, request)
-

Bases: pyams_utils.adapter.ContextRequestAdapter

-

Base illustration renderer

-
-
-language = None
-
- -
-
-render = <BoundViewTemplate of None>
-
- -
-
-update()
-
- -
- -
-
-class pyams_content.component.illustration.zmi.DefaultIllustrationRenderer(context, request)
-

Bases: pyams_content.component.illustration.zmi.BaseIllustrationRenderer

-

Default illustration renderer

-
-
-label = 'Centered illustration'
-
- -
-
-weight = 1
-
- -
- -
-
-class pyams_content.component.illustration.zmi.IllustrationPropertiesInnerEditForm(context, request, view=None)
-

Bases: pyams_zmi.form.InnerAdminEditForm

-

Illustration properties inner edit form

-
-
-check_mode()
-
- -
-
-css_class = 'form-group'
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-fieldset_class = 'margin-top-10 padding-y-5'
-
- -
-
-getContent()
-
- -
-
-get_ajax_output(changes)
-
- -
-
-hide_widgets_prefix_div = True
-
- -
-
-legend = 'Illustration'
-
- -
-
-legend_class = 'illustration switcher no-y-padding padding-right-10 pull-left width-auto'
-
- -
-
-padding_class = ''
-
- -
-
-prefix = 'illustration_form.'
-
- -
-
-updateWidgets(prefix=None)
-
- -
-
-weight = 10
-
- -
- -
-
-class pyams_content.component.illustration.zmi.IllustrationThumbnail(context, request, view, manager)
-

Bases: pyams_viewlet.viewlet.Viewlet

-

Illustration thumbnail

-
- -
-
-class pyams_content.component.illustration.zmi.LeftIllustrationWithZoomRenderer(context, request)
-

Bases: pyams_content.component.illustration.zmi.BaseIllustrationRenderer

-

Illustrtaion renderer with small image and zoom

-
-
-label = 'Small illustration on the left with zoom'
-
- -
-
-weight = 2
-
- -
- -
-
-class pyams_content.component.illustration.zmi.ParagraphContainerIllustrationMarker(context, request, view, manager)
-

Bases: pyams_viewlet.viewlet.Viewlet

-

Paragraph container illustration marker column

-
-
-action_class = 'action illustration nowrap width-40'
-
- -
-
-icon_class = 'fa fa-fw fa-file-image-o'
-
- -
-
-icon_hint = 'Illustration'
-
- -
-
-weight = 5
-
- -
- -
-
-class pyams_content.component.illustration.zmi.RightIllustrationWithZoomRenderer(context, request)
-

Bases: pyams_content.component.illustration.zmi.BaseIllustrationRenderer

-

Illustrtaion renderer with small image and zoom

-
-
-label = 'Small illustration on the right with zoom'
-
- -
-
-weight = 3
-
- -
- -
-
- - -