12 |
12 |
13 __docformat__ = 'restructuredtext' |
13 __docformat__ = 'restructuredtext' |
14 |
14 |
15 |
15 |
16 # import standard library |
16 # import standard library |
17 from decimal import Decimal |
|
18 |
17 |
19 # import interfaces |
18 # import interfaces |
20 from pyams_file.interfaces import IVideo, IThumbnail, IAudio |
19 from pyams_file.interfaces import IAudio |
21 from pyams_form.interfaces.form import IWidgetsPrefixViewletsManager, IFormHelp |
20 from pyams_form.interfaces.form import IWidgetsPrefixViewletsManager |
22 from pyams_skin.interfaces.viewlet import IContextActions |
21 from pyams_utils.interfaces import VIEW_PERMISSION |
23 from pyams_utils.interfaces import MANAGE_PERMISSION, VIEW_PERMISSION |
|
24 from pyams_zmi.layer import IAdminLayer |
22 from pyams_zmi.layer import IAdminLayer |
25 from z3c.form.interfaces import HIDDEN_MODE |
|
26 |
23 |
27 # import packages |
24 # import packages |
28 from pyams_form.form import AJAXAddForm |
|
29 from pyams_form.help import FormHelp |
|
30 from pyams_form.schema import CloseButton |
|
31 from pyams_pagelet.pagelet import pagelet_config |
25 from pyams_pagelet.pagelet import pagelet_config |
32 from pyams_skin.layer import IPyAMSLayer |
26 from pyams_skin.layer import IPyAMSLayer |
33 from pyams_skin.viewlet.toolbar import ToolbarActionItem |
|
34 from pyams_template.template import template_config |
27 from pyams_template.template import template_config |
35 from pyams_utils.adapter import adapter_config |
|
36 from pyams_utils.schema import DottedDecimalField |
|
37 from pyams_viewlet.viewlet import viewlet_config, Viewlet |
28 from pyams_viewlet.viewlet import viewlet_config, Viewlet |
38 from pyams_zmi.form import AdminDialogAddForm, AdminDialogDisplayForm |
29 from pyams_zmi.form import AdminDialogDisplayForm |
39 from pyramid.view import view_config |
30 from z3c.form import field |
40 from z3c.form import field, button |
|
41 from zope.interface import Interface |
31 from zope.interface import Interface |
42 |
32 |
43 from pyams_media import _ |
33 from pyams_media import _ |
44 |
34 |
45 |
35 |