- -
-

pyams_content.component.extfile.zmi package

-
-

Submodules

-
-
-

pyams_content.component.extfile.zmi.container module

-
-
-pyams_content.component.extfile.zmi.container.get_files_list(request)
-

Get container files in JSON format for TinyMCE editor

-
- -
-
-pyams_content.component.extfile.zmi.container.get_images_list(request)
-

Get container images in JSON format for TinyMCE editor

-
- -
-
-

Module contents

-
-
-class pyams_content.component.extfile.zmi.ExtAudioAJAXAddForm(context, request)
-

Bases: pyams_content.component.association.zmi.AssociationItemAJAXAddForm, pyams_content.component.extfile.zmi.ExtAudioAddForm

-

External audio file add form, JSON renderer

-
-
-get_ajax_output(changes)
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtAudioAddForm(context, request)
-

Bases: pyams_content.component.extfile.zmi.ExtFileAddForm

-

External audio file add form

-
-
-ajax_handler = 'add-extaudio.json'
-
- -
-
-create(data)
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-icon_css_class = 'fa fa-fw fa-file-audio-o'
-
- -
-
-legend = 'Add new audio file'
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtAudioAddMenu(context, request, view, manager)
-

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

-

External audio file add menu

-
-
-label = 'Add audio file'
-
- -
-
-label_css_class = 'fa fa-fw fa-file-audio-o'
-
- -
-
-modal_target = True
-
- -
-
-url = 'add-extaudio.html'
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtAudioPropertiesAJAXEditForm(context, request)
-

Bases: pyams_content.component.association.zmi.AssociationItemAJAXEditForm, pyams_content.component.extfile.zmi.ExtAudioPropertiesEditForm

-

External audio file properties edit form, JSON renderer

-
-
-get_ajax_output(changes)
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtAudioPropertiesEditForm(context, request)
-

Bases: pyams_content.component.extfile.zmi.ExtFilePropertiesEditForm

-

External audio file properties edit form

-
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-icon_css_class = 'fa fa-fw fa-file-audio-o'
-
- -
-
-legend = 'Update audio file properties'
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtAudiosCounter(context, request, view, manager)
-

Bases: pyams_content.component.paragraph.zmi.container.ParagraphContainerCounterBase

-

External audio files counter

-
-
-action_class = 'action extaudios nowrap width-40'
-
- -
-
-count
-
- -
-
-icon_class = 'fa fa-fw fa-file-audio-o'
-
- -
-
-icon_hint = 'Audios files'
-
- -
-
-weight = 23
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtFileAJAXAddForm(context, request)
-

Bases: pyams_content.component.association.zmi.AssociationItemAJAXAddForm, pyams_content.component.extfile.zmi.ExtFileAddForm

-

External file add form, JSON renderer

-
-
-get_ajax_output(changes)
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtFileAddForm(context, request)
-

Bases: pyams_zmi.form.AdminDialogAddForm

-

External file add form

-
-
-add(object)
-
- -
-
-ajax_handler = 'add-extfile.json'
-
- -
-
-create(data)
-
- -
-
-edit_permission = 'pyams.ManageContent'
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-icon_css_class = 'fa fa-fw fa-file-text-o'
-
- -
-
-legend = 'Add new external file'
-
- -
-
-updateWidgets(prefix=None)
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtFileAddMenu(context, request, view, manager)
-

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

-

External file add menu

-
-
-label = 'Add external file'
-
- -
-
-label_css_class = 'fa fa-fw fa-file-text-o'
-
- -
-
-modal_target = True
-
- -
-
-url = 'add-extfile.html'
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtFileAddMenuDivider(context, request, view, manager)
-

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

-

External file add menu divider

-
- -
-
-class pyams_content.component.extfile.zmi.ExtFilePropertiesAJAXEditForm(context, request)
-

Bases: pyams_content.component.association.zmi.AssociationItemAJAXEditForm, pyams_content.component.extfile.zmi.ExtFilePropertiesEditForm

-

External file properties edit form, JSON renderer

-
-
-get_ajax_output(changes)
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtFilePropertiesEditForm(context, request)
-

Bases: pyams_zmi.form.AdminDialogEditForm

-

External file 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-text-o'
-
- -
-
-legend = 'Update file properties'
-
- -
-
-updateWidgets(prefix=None)
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtFilesCounter(context, request, view, manager)
-

Bases: pyams_content.component.paragraph.zmi.container.ParagraphContainerCounterBase

-

External files counter

-
-
-action_class = 'action extfiles nowrap width-40'
-
- -
-
-count
-
- -
-
-icon_class = 'fa fa-fw fa-file-text-o'
-
- -
-
-icon_hint = 'External files'
-
- -
-
-weight = 20
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtImageAJAXAddForm(context, request)
-

Bases: pyams_content.component.association.zmi.AssociationItemAJAXAddForm, pyams_content.component.extfile.zmi.ExtImageAddForm

-

External image add form, JSON renderer

-
-
-get_ajax_output(changes)
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtImageAddForm(context, request)
-

Bases: pyams_content.component.extfile.zmi.ExtFileAddForm

-

External image add form

-
-
-ajax_handler = 'add-extimage.json'
-
- -
-
-create(data)
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-icon_css_class = 'fa fa-fw fa-file-image-o'
-
- -
-
-legend = 'Add new image'
-
- -
-
-updateWidgets(prefix=None)
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtImageAddMenu(context, request, view, manager)
-

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

-

External image add menu

-
-
-label = 'Add image'
-
- -
-
-label_css_class = 'fa fa-fw fa-file-image-o'
-
- -
-
-modal_target = True
-
- -
-
-url = 'add-extimage.html'
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtImagePropertiesAJAXEditForm(context, request)
-

Bases: pyams_content.component.association.zmi.AssociationItemAJAXEditForm, pyams_content.component.extfile.zmi.ExtImagePropertiesEditForm

-

External image properties edit form, JSON renderer

-
-
-get_ajax_output(changes)
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtImagePropertiesEditForm(context, request)
-

Bases: pyams_content.component.extfile.zmi.ExtFilePropertiesEditForm

-

External image properties edit form

-
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-icon_css_class = 'fa fa-fw fa-file-image-o'
-
- -
-
-legend = 'Update image properties'
-
- -
-
-updateWidgets(prefix=None)
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtImagesCounter(context, request, view, manager)
-

Bases: pyams_content.component.paragraph.zmi.container.ParagraphContainerCounterBase

-

External image files counter

-
-
-action_class = 'action extimages nowrap width-40'
-
- -
-
-count
-
- -
-
-icon_class = 'fa fa-fw fa-file-image-o'
-
- -
-
-icon_hint = 'Images'
-
- -
-
-weight = 21
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtVideoAJAXAddForm(context, request)
-

Bases: pyams_content.component.association.zmi.AssociationItemAJAXAddForm, pyams_content.component.extfile.zmi.ExtVideoAddForm

-

External video add form, JSON renderer

-
-
-get_ajax_output(changes)
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtVideoAddForm(context, request)
-

Bases: pyams_content.component.extfile.zmi.ExtFileAddForm

-

External video add form

-
-
-ajax_handler = 'add-extvideo.json'
-
- -
-
-create(data)
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-icon_css_class = 'fa fa-fw fa-file-video-o'
-
- -
-
-legend = 'Add new video'
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtVideoAddMenu(context, request, view, manager)
-

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

-

External video add menu

-
-
-label = 'Add video'
-
- -
-
-label_css_class = 'fa fa-fw fa-file-video-o'
-
- -
-
-modal_target = True
-
- -
-
-url = 'add-extvideo.html'
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtVideoPropertiesAJAXEditForm(context, request)
-

Bases: pyams_content.component.association.zmi.AssociationItemAJAXEditForm, pyams_content.component.extfile.zmi.ExtVideoPropertiesEditForm

-

External video properties edit form, JSON renderer

-
-
-get_ajax_output(changes)
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtVideoPropertiesEditForm(context, request)
-

Bases: pyams_content.component.extfile.zmi.ExtFilePropertiesEditForm

-

External video properties edit form

-
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-icon_css_class = 'fa fa-fw fa-file-video-o'
-
- -
-
-legend = 'Update video properties'
-
- -
- -
-
-class pyams_content.component.extfile.zmi.ExtVideosCounter(context, request, view, manager)
-

Bases: pyams_content.component.paragraph.zmi.container.ParagraphContainerCounterBase

-

External video files counter

-
-
-action_class = 'action extvideos nowrap width-40'
-
- -
-
-count
-
- -
-
-icon_class = 'fa fa-fw fa-file-video-o'
-
- -
-
-icon_hint = 'Videos'
-
- -
-
-weight = 22
-
- -
- -
-
- - -