# You must use a tab-size of 4 spaces to edit this file.
---
zenario_layout:
    key:
        id: ''
        current_name: ''
        duplicate: ''
    identifier:
        css_class: template
        label: Layout
        value: ''
    tabs:
        template:
            label: Details
            edit_mode:
                priv: _PRIV_EDIT_TEMPLATE
                enabled: true
            fields:
                description:
                    ord: 0
                    full_width: true
                    snippet:
                        html: |
                            Use this screen to set the name of your layout and set its skin.
                path:
                    label: 'Template file:'
                    type: text
                    readonly: true
                    hidden: true
                name:
                    label: 'Layout name:'
                    type: text
                    maxlength: "255"
                    validation:
                        required: Please enter a unique name for this layout.
                content_item_count:
                    hidden: true
                content_type:
                    label: 'Used for content type:'
                    type: text
                    pick_items:
                        path: zenario__content/panels/content_types
                        target_path: zenario__content/panels/content_types
                        min_path: zenario__content/panels/content_types
                        max_path: zenario__content/panels/content_types
                        disallow_refiners_looping_on_min_path: true
                        select_phrase: Select a content type...
                        hide_remove_button: true
                    format_onchange: true
                    value: html
                    validation:
                        required: Please select a content type.
                layout_is_default_for_ctype:
                    label: 'Default layout for new items of this content type'
                    type: checkbox
                    read_only: true
                skin_id:
                    label: 'Skin:'
                    pick_items:
                        path: ""
                        target_path: zenario__layouts/panels/skins
                        min_path: zenario__layouts/panels/skins
                        max_path: zenario__layouts/panels/skins
                        disallow_refiners_looping_on_min_path: true
                        one_to_one_choose_phrase: Choose this skin
                        select_phrase: Change skin...
                        nothing_selected_phrase: No skin selected
                        hide_remove_button: true
                    validation:
                        required_if_not_hidden: Please select a skin
                    format_onchange: true
                    side_note: |
                        A "skin" is a set of CSS files that determine the appearance of this layout and thereby content items using it. If you change the skin of this layout, it will immediately effect the appearance of all content items that use it.
        css:
            label: Background & CSS
            edit_mode:
                priv: _PRIV_EDIT_TEMPLATE
                enabled: true
            fields:
                desc:
                    full_width: true
                    snippet:
                        html: |
                            Use this screen to set the background for every content item that uses this layout.
                background_image:
                    label: 'Background image:'
                    upload:
                        multi: false
                        accept: 'image/*'
                        extensions:
                            - .gif
                            - .jpg
                            - .jpeg
                            - .png
                        drag_and_drop: true
                        reorder_items: false
                    pick_items:
                        path: zenario__content/panels/background_images
                        target_path: zenario__content/panels/background_images
                        min_path: zenario__content/panels/background_images
                        max_path: zenario__content/panels/background_images
                        multiple_select: false
                        select_phrase: 'Use existing...'
                    redraw_onchange: true
                
                bg_color:
                    label: 'Background color:'
                    type: color_picker
                    color_picker_options:
                        allowEmpty: true
                        showInput: true
                        showPalette: true
                        showInitial: true
                        clickoutFiresChange: true
                    maxlength: 64
                
                bg_position:
                    label: 'Background position:'
                    type: select
                    empty_value: "[ Don't specify ]"
                    values:
                        'left top':
                            label: '↖ Top left'
                        'center top':
                            label: '↑ Top center'
                        'right top':
                            label: '↗ Top right'
                        'left center':
                            label: '← Left center'
                        'center center':
                            label: '• Center'
                        'right center':
                            label: '→ Right center'
                        'left bottom':
                            label: '↙ Bottom left'
                        'center bottom':
                            label: '↓ Bottom center'
                        'right bottom':
                            label: '↘ Bottom right'
                
                bg_repeat:
                    label: 'Background repeat:'
                    type: select
                    empty_value: "[ Don't specify ]"
                    values:
                        repeat:
                            label: ' ⸬ Repeat in all directions'
                        repeat-x:
                            label: ' … Repeat horizontally'
                        repeat-y:
                            label: ' ⋮ Repeat vertically'
                        no-repeat:
                            label: " • Don't repeat"
                
                desc2:
                    full_width: true
                    snippet:
                        html: |
                            If you wish to style this layout specifically in your skin, you may give it one or more CSS class names.
                            A <code>&lt;div&gt;</code> with these class names will be added to every page that uses this layout.
                css_class:
                    label: 'CSS class names:'
                    type: text
                    maxlength: 100
    confirm:
        show: ""
        message: ""
        button_message: Save
        cancel_button_message: Cancel
        message_type: warning
