# -*- coding: utf-8 -*-

FIRST_NAV_NAME = 'apps'

NEW_PAGE_JSON = """
{
    "created_at": "2014-12-11 11:29:38",
    "component": {
        "cid": 1,
        "pid": null,
        "property_view_title": "背景",
        "force_display_in_property_view": "no",
        "components": [{
            "cid": 2,
            "pid": 1,
            "property_view_title": "活动详情",
            "force_display_in_property_view": "no",
            "components": [],
            "selectable": "yes",
            "type": "appkit.commondescription",
            "model": {
                "index": 2,
                "name": "",
                "class": "",
                "id": ""
            },
            "has_global_content": "no"
        }, {
            "cid": 3,
            "pid": 1,
            "property_view_title": "提交按钮",
            "force_display_in_property_view": "no",
            "components": [],
            "selectable": "no",
            "type": "appkit.submitbutton",
            "model": {
                "index": 99999,
                "name": "",
                "class": "",
                "id": "",
                "text": "提交"
            },
            "has_global_content": "no"
        }, {
            "cid": 4,
            "pid": 1,
            "property_view_title": "新加模块",
            "force_display_in_property_view": "no",
            "components": [],
            "selectable": "yes",
            "type": "appkit.componentadder",
            "model": {
                "index": 3,
                "name": "",
                "class": "",
                "id": ""
            },
            "has_global_content": "no"
        }],
        "selectable": "yes",
        "type": "appkit.page",
        "model": {
            "index": 1,
            "name": "",
            "title": "index",
            "site_title": "返利活动",
            "uploadWidth": "320",
            "uploadHeight": "568",
            "class": "",
            "background": "",
            "content_padding": "15px",
            "id": ""
        },
        "has_global_content": "no"
    },
    "updated_at": "2014-12-11 11:29:38",
    "display_index": "1",
    "project_id": "14",
    "page_id": "1",
    "pp_id": "14_1"
}
"""