+ +
+

pyams_content.features.preview.zmi package

+
+

Submodules

+
+
+

pyams_content.features.preview.zmi.interfaces module

+
+
+

Module contents

+
+
+class pyams_content.features.preview.zmi.PreviewAction(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarAction

+

Content preview action

+
+
+css_class = 'btn btn-xs btn-default'
+
+ +
+
+group_css_class = 'btn-group margin-right-10'
+
+ +
+
+label = 'Preview'
+
+ +
+
+label_css_class = 'fa fa-newspaper-o'
+
+ +
+
+modal_target = True
+
+ +
+
+url = 'preview.html'
+
+ +
+ +
+
+class pyams_content.features.preview.zmi.PreviewForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogDisplayForm

+

Content preview form

+
+
+dialog_class = 'modal-max'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+legend = 'Content preview'
+
+ +
+ +
+
+ + +