- -
-

pyams_content.shared.imagemap.zmi package

-
-

Submodules

-
-
-

pyams_content.shared.imagemap.zmi.area module

-
-
-class pyams_content.shared.imagemap.zmi.area.ImagemapAreaAJAXAddForm(context, request)
-

Bases: pyams_form.form.AJAXAddForm, pyams_content.shared.imagemap.zmi.area.ImagemapAreaAddForm

-

Image map area add form, JSON renderer

-
- -
-
-class pyams_content.shared.imagemap.zmi.area.ImagemapAreaAddAction(context, request, view, manager)
-

Bases: pyams_skin.viewlet.toolbar.ToolbarAction

-

Image map area add menu

-
-
-label = 'Add image area'
-
- -
-
-modal_target = True
-
- -
-
-url = 'add-area.html'
-
- -
- -
-
-class pyams_content.shared.imagemap.zmi.area.ImagemapAreaAddForm(context, request)
-

Bases: pyams_zmi.form.AdminDialogAddForm

-

Imagemap area add form

-
-
-add(object)
-
- -
-
-ajax_handler = 'add-area.json'
-
- -
-
-create(data)
-
- -
-
-dialog_class
-
- -
-
-edit_permission = 'pyams.ManageContent'
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-legend = 'Add new image area'
-
- -
-
-nextURL()
-
- -
- -
-
-class pyams_content.shared.imagemap.zmi.area.ImagemapAreaPropertiesAJAXEditForm(context, request)
-

Bases: pyams_form.form.AJAXEditForm, pyams_content.shared.imagemap.zmi.area.ImagemapAreaPropertiesEditForm

-

Image map properties edit form, JSON rendener

-
- -
-
-class pyams_content.shared.imagemap.zmi.area.ImagemapAreaPropertiesEditForm(context, request)
-

Bases: pyams_zmi.form.AdminDialogEditForm

-

Image map area properties edit form

-
-
-ajax_handler = 'properties.json'
-
- -
-
-dialog_class
-
- -
-
-edit_permission = 'pyams.ManageContent'
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-legend = 'Edit image map properties'
-
- -
- -
-
-

pyams_content.shared.imagemap.zmi.container module

-
-
-class pyams_content.shared.imagemap.zmi.container.ImagemapAreasContainerNameColumn(context, request, table)
-

Bases: pyams_skin.table.I18nColumn, pyams_content.shared.common.zmi.WfModifiedContentColumnMixin, z3c.table.column.GetAttrColumn

-

Image map areas container name column

-
-
-getValue(obj)
-
- -
-
-weight = 10
-
- -
- -
-
-class pyams_content.shared.imagemap.zmi.container.ImagemapAreasContainerTargetColumn(context, request, table)
-

Bases: pyams_skin.table.I18nColumn, z3c.table.column.GetAttrColumn

-

Image map areas container target URL column

-
-
-getValue(obj)
-
- -
-
-weight = 20
-
- -
- -
-
-class pyams_content.shared.imagemap.zmi.container.ImagemapAreasContainerTrashColumn(context, request, table)
-

Bases: pyams_form.security.ProtectedFormObjectMixin, pyams_skin.table.TrashColumn

-

Image map areas container trash column

-
- -
-
-class pyams_content.shared.imagemap.zmi.container.ImagemapAreasContainerView(context, request)
-

Bases: pyams_zmi.view.AdminView

-

Image map areas container view

-
-
-title = 'Image map areas'
-
- -
-
-update()
-
- -
- -
-
-class pyams_content.shared.imagemap.zmi.container.ImagemapAreasMenu(context, request, view, manager=None)
-

Bases: pyams_skin.viewlet.menu.MenuItem

-

Image map areas menu

-
-
-icon_class = 'fa-location-arrow'
-
- -
-
-label = 'Image areas'
-
- -
-
-url = '#areas.html'
-
- -
- -
-
-class pyams_content.shared.imagemap.zmi.container.ImagemapAreasTable(context, request)
-

Bases: pyams_skin.table.BaseTable

-

Image map areas table

-
-
-cssClasses = {'table': 'table table-bordered table-striped table-hover table-tight'}
-
- -
-
-data_attributes
-
- -
-
-hide_header = True
-
- -
-
-render()
-
- -
-
-values
-
- -
- -
-
-class pyams_content.shared.imagemap.zmi.container.ImagemapAreasValues(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Image map areas caontainer values

-
-
-values
-
- -
- -
-
-pyams_content.shared.imagemap.zmi.container.delete_imagemap_area(request)
-

Delete image map area

-
- -
-
-

pyams_content.shared.imagemap.zmi.paragraph module

-
-
-class pyams_content.shared.imagemap.zmi.paragraph.ImagemapParagrahPropertiesAJAXEditForm(context, request)
-

Bases: pyams_content.component.paragraph.zmi.BaseParagraphAJAXEditForm, pyams_content.shared.imagemap.zmi.paragraph.ImagemapParagraphPropertiesEditForm

-

Image map properties edit form, JSON renderer

-
- -
-
-class pyams_content.shared.imagemap.zmi.paragraph.ImagemapParagraphAJAXAddForm(context, request)
-

Bases: pyams_content.component.paragraph.zmi.BaseParagraphAJAXAddForm, pyams_content.shared.imagemap.zmi.paragraph.ImagemapParagraphAddForm

-

Image map paragraph add form, JSON renderer

-
- -
-
-class pyams_content.shared.imagemap.zmi.paragraph.ImagemapParagraphAddForm(context, request)
-

Bases: pyams_zmi.form.AdminDialogAddForm

-

Image map paragraph add form

-
-
-add(object)
-
- -
-
-ajax_handler = 'add-imagemap-paragraph.json'
-
- -
-
-create(data)
-
- -
-
-edit_permission = 'pyams.ManageContent'
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-icon_css_class = 'fa fa-fw fa-location-arrow'
-
- -
-
-legend = 'Add new image map'
-
- -
- -
-
-class pyams_content.shared.imagemap.zmi.paragraph.ImagemapParagraphAddMenu(context, request, view, manager)
-

Bases: pyams_content.component.paragraph.zmi.BaseParagraphAddMenu

-

Image map paragraph add menu

-
-
-label = 'Add image map...'
-
- -
-
-label_css_class = 'fa fa-fw fa-location-arrow'
-
- -
-
-paragraph_type = 'ImageMap'
-
- -
-
-url = 'add-imagemap-paragraph.html'
-
- -
- -
-
-class pyams_content.shared.imagemap.zmi.paragraph.ImagemapParagraphInnerAJAXEditForm(context, request)
-

Bases: pyams_content.component.paragraph.zmi.BaseParagraphAJAXEditForm, pyams_content.shared.imagemap.zmi.paragraph.ImagemapParagraphInnerEditForm

-

Image map paragraph properties inner edit form, JSON rendener

-
-
-get_ajax_output(changes)
-
- -
- -
-
-class pyams_content.shared.imagemap.zmi.paragraph.ImagemapParagraphInnerEditForm(context, request)
-

Bases: pyams_content.shared.imagemap.zmi.paragraph.ImagemapParagraphPropertiesEditForm

-

Image map properties inner edit form

-
-
-ajax_handler = 'inner-properties.json'
-
- -
-
-buttons
-
- -
-
-legend = None
-
- -
- -
-
-class pyams_content.shared.imagemap.zmi.paragraph.ImagemapParagraphPreviewWidgetsSuffix(context, request, view, manager)
-

Bases: pyams_viewlet.viewlet.Viewlet

-

Image map paragraph preview widgets suffix

-
- -
-
-class pyams_content.shared.imagemap.zmi.paragraph.ImagemapParagraphPropertiesEditForm(context, request)
-

Bases: pyams_content.component.paragraph.zmi.BaseParagraphPropertiesEditForm

-

Image map paragraph edit form

-
-
-ajax_handler = 'properties.json'
-
- -
-
-edit_permission = 'pyams.ManageContent'
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-icon_css_class = 'fa fa-fw fa-location-arrow'
-
- -
-
-legend = 'Edit paragraph properties'
-
- -
-
-title
-
- -
- -
-
-class pyams_content.shared.imagemap.zmi.paragraph.ImagemapParagraphSummary(context, request)
-

Bases: pyams_viewlet.viewlet.BaseContentProvider

-

Image map paragraph summary

-
-
-get_item_info(item)
-
- -
-
-language = None
-
- -
- -
-
-

pyams_content.shared.imagemap.zmi.preview module

-
-
-class pyams_content.shared.imagemap.zmi.preview.ImagemapPreview
-

Bases: object

-

Image map preview

-
-
-get_item_info(item)
-
- -
- -
-
-

pyams_content.shared.imagemap.zmi.properties module

-
-
-class pyams_content.shared.imagemap.zmi.properties.ImageMapPropertiesEditForm(context, request, view=None)
-

Bases: pyams_zmi.form.InnerAdminEditForm

-

Image map properties edit form extension

-
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-fieldset_class = 'bordered no-x-margin margin-y-10'
-
- -
-
-get_ajax_output(changes)
-
- -
-
-legend = 'Background image'
-
- -
-
-weight = 10
-
- -
- -
-
-

pyams_content.shared.imagemap.zmi.widget module

-
-
-pyams_content.shared.imagemap.zmi.widget.ImgareaInputFieldWidget(field, request)
-

Image map area input widget factory

-
- -
-
-class pyams_content.shared.imagemap.zmi.widget.ImgareaInputWidget(request)
-

Bases: z3c.form.browser.text.TextWidget

-

Image map area input widget

-
-
-image_url
-
- -
- -
-
-

Module contents

-
-
-class pyams_content.shared.imagemap.zmi.ImageMapAJAXAddForm(context, request)
-

Bases: pyams_content.shared.common.zmi.SharedContentAJAXAddForm, pyams_content.shared.imagemap.zmi.ImageMapAddForm

-

Image map add form, JSON renderer

-
- -
-
-class pyams_content.shared.imagemap.zmi.ImageMapAddAction(context, request, view, manager)
-

Bases: pyams_skin.viewlet.toolbar.ToolbarAction

-

Image map adding action

-
-
-label = 'Add image map'
-
- -
-
-modal_target = True
-
- -
-
-url = 'add-shared-content.html'
-
- -
- -
-
-class pyams_content.shared.imagemap.zmi.ImageMapAddForm(context, request)
-

Bases: pyams_content.shared.common.zmi.SharedContentAddForm

-

Image map add form

-
-
-legend = 'Adding image map'
-
- -
- -
-
-class pyams_content.shared.imagemap.zmi.ImageMapContentMenuHeader(context, request)
-

Bases: pyams_utils.adapter.ContextRequestAdapter

-

Image map content menu header adapter

-
-
-header = 'This image map'
-
- -
- -
-
-class pyams_content.shared.imagemap.zmi.ImageMapTitleAdapter(context, request, view)
-

Bases: pyams_utils.adapter.ContextRequestViewAdapter

-

Image map title adapter

-
-
-title
-
- -
- -
-
- - -