source: WAeUP_SRP/trunk/profiles/default/layouts/common.xml @ 338

Last change on this file since 338 was 336, checked in by Henrik Bettermann, 19 years ago
File size: 2.4 KB
Line 
1common_layout = {
2    'widgets': {
3        'Description': {
4            'type': 'Text Widget',
5            'data': {
6                'title': '',
7                'fields': ('Description',),
8                'is_required': 0,
9                'label': '',
10                'label_edit': 'cpsdoc_description_label_edit',
11                'description': '',
12                'help': '',
13                'is_i18n': True,
14                'readonly_layout_modes': [],
15                'hidden_layout_modes': [],
16                'hidden_readonly_layout_modes': [],
17                'hidden_empty': 0,
18                'hidden_if_expr': '',
19                'widget_mode_expr': '',
20                'css_class': 'ddescription',
21                'css_class_expr': '',
22                'javascript_expr': '',
23                'width': 72,
24                'height': 5,
25                'size_max': 2097152,
26                'file_uploader': 0,
27                'render_format': 'text',
28                'render_position': 'normal',
29                'configurable': 'nothing',
30            },
31        },
32        'Title': {
33            'type': 'Heading Widget',
34            'data': {
35                'title': '',
36                'fields': ('Title',),
37                'is_required': True,
38                'label': '',
39                'label_edit': 'cpsdoc_title_label_edit',
40                'description': '',
41                'help': '',
42                'is_i18n': True,
43                'readonly_layout_modes': (),
44                'hidden_layout_modes': (),
45                'hidden_readonly_layout_modes': (),
46                'hidden_empty': 0,
47                'hidden_if_expr': '',
48                'widget_mode_expr': '',
49                'css_class': '',
50                'css_class_expr': '',
51                'javascript_expr': '',
52                'display_width': 72,
53                'size_max': 200,
54                'level': '1',
55            },
56        },
57    },
58    'layout': {
59        'layout_create_method': '',
60        'layout_edit_method': '',
61        'layout_view_method': '',
62        'style_prefix': 'layout_default_',
63        'flexible_widgets': (),
64        'validate_values_expr': '',
65        'ncols': 1,
66        'rows': [
67            [{'widget_id': 'Title', 'ncols': 1},
68            ],
69            [{'widget_id': 'Description', 'ncols': 1},
70            ],
71        ],
72    },
73}
Note: See TracBrowser for help on using the repository browser.