1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-28 23:40:41 +02:00

Flextype Core: blog-post, about, default fieldsets - fixes and refactoring #117

This commit is contained in:
Awilum
2019-06-09 01:13:56 +03:00
parent 1f9fe7d1fe
commit 50e3ca0724
3 changed files with 180 additions and 180 deletions

View File

@@ -1,67 +1,67 @@
{
"title": "About",
"default_field": "title",
"sections": {
"main": {
"title": "Main",
"fields": {
"title": {
"title": "admin_title",
"type": "text",
"size": "col-12"
},
"content": {
"title": "admin_content",
"type": "html",
"size": "col-12"
},
"image": {
"title": "admin_media",
"type": "media_select",
"size": "col-3"
}
}
},
"seo": {
"title": "Seo",
"fields": {
"description": {
"title": "admin_description",
"type": "textarea",
"size": "col-12"
}
}
},
"menu": {
"title": "Menu",
"fields": {
"menu_item_title": {
"title": "admin_menu_item_title",
"type": "text",
"size": "col-4"
},
"menu_item_url": {
"title": "admin_menu_item_url",
"type": "text",
"size": "col-4"
},
"menu_item_target": {
"title": "admin_menu_item_target",
"type": "select",
"options": {
"blank": "_blank",
"self": "_self",
"parent": "_parent",
"top": "_top"
},
"size": "col-4"
},
"menu_item_order": {
"title": "admin_menu_item_order",
"type": "text",
"size": "col-4"
}
}
}
}
}
{
"title": "About",
"default_field": "title",
"sections": {
"main": {
"title": "Main",
"fields": {
"title": {
"title": "admin_title",
"type": "text",
"size": "col-12"
},
"content": {
"title": "admin_content",
"type": "html",
"size": "col-12"
},
"image": {
"title": "admin_media",
"type": "media_select",
"size": "col-3"
}
}
},
"seo": {
"title": "Seo",
"fields": {
"description": {
"title": "admin_description",
"type": "textarea",
"size": "col-12"
}
}
},
"menu": {
"title": "Menu",
"fields": {
"menu_item_title": {
"title": "admin_menu_item_title",
"type": "text",
"size": "col-4"
},
"menu_item_url": {
"title": "admin_menu_item_url",
"type": "text",
"size": "col-4"
},
"menu_item_target": {
"title": "admin_menu_item_target",
"type": "select",
"options": {
"self": "_self",
"blank": "_blank",
"parent": "_parent",
"top": "_top"
},
"size": "col-4"
},
"menu_item_order": {
"title": "admin_menu_item_order",
"type": "text",
"size": "col-4"
}
}
}
}
}

View File

@@ -1,36 +1,36 @@
{
"title": "Blog Post",
"default_field": "title",
"sections": {
"main": {
"title": "Main",
"fields": {
"title": {
"title": "admin_title",
"type": "text",
"size": "col-12"
},
"summary": {
"title": "admin_summary",
"type": "html",
"size": "col-12"
},
"content": {
"title": "admin_content",
"type": "html",
"size": "col-12"
}
}
},
"seo": {
"title": "Seo",
"fields": {
"description": {
"title": "admin_description",
"type": "textarea",
"size": "col-12"
}
}
}
}
}
{
"title": "Blog Post",
"default_field": "title",
"sections": {
"main": {
"title": "Main",
"fields": {
"title": {
"title": "admin_title",
"type": "text",
"size": "col-12"
},
"summary": {
"title": "admin_summary",
"type": "html",
"size": "col-12"
},
"content": {
"title": "admin_content",
"type": "html",
"size": "col-12"
}
}
},
"seo": {
"title": "Seo",
"fields": {
"description": {
"title": "admin_description",
"type": "textarea",
"size": "col-12"
}
}
}
}
}

View File

@@ -1,77 +1,77 @@
{
"title": "Default",
"default_field": "title",
"sections": {
"main": {
"title": "Main",
"fields": {
"title": {
"title": "admin_title",
"type": "text",
"size": "col-12"
},
"content": {
"title": "admin_content",
"type": "html",
"size": "col-12"
},
"template": {
"title": "admin_template",
"type": "template_select",
"size": "col-4"
},
"visibility": {
"title": "admin_visibility",
"type": "visibility_select",
"size": "col-4"
},
"date": {
"title": "admin_date",
"type": "text",
"size": "col-4"
}
}
},
"seo": {
"title": "Seo",
"fields": {
"description": {
"title": "admin_description",
"type": "textarea",
"size": "col-12"
}
}
},
"menu": {
"title": "Menu",
"fields": {
"menu_item_title": {
"title": "admin_menu_item_title",
"type": "text",
"size": "col-4"
},
"menu_item_url": {
"title": "admin_menu_item_url",
"type": "text",
"size": "col-4"
},
"menu_item_target": {
"title": "admin_menu_item_target",
"type": "select",
"options": {
"blank": "_blank",
"self": "_self",
"parent": "_parent",
"top": "_top"
},
"size": "col-4"
},
"menu_item_order": {
"title": "admin_menu_item_order",
"type": "text",
"size": "col-4"
}
}
}
}
}
{
"title": "Default",
"default_field": "title",
"sections": {
"main": {
"title": "Main",
"fields": {
"title": {
"title": "admin_title",
"type": "text",
"size": "col-12"
},
"content": {
"title": "admin_content",
"type": "html",
"size": "col-12"
},
"template": {
"title": "admin_template",
"type": "template_select",
"size": "col-4"
},
"visibility": {
"title": "admin_visibility",
"type": "visibility_select",
"size": "col-4"
},
"date": {
"title": "admin_date",
"type": "text",
"size": "col-4"
}
}
},
"seo": {
"title": "Seo",
"fields": {
"description": {
"title": "admin_description",
"type": "textarea",
"size": "col-12"
}
}
},
"menu": {
"title": "Menu",
"fields": {
"menu_item_title": {
"title": "admin_menu_item_title",
"type": "text",
"size": "col-4"
},
"menu_item_url": {
"title": "admin_menu_item_url",
"type": "text",
"size": "col-4"
},
"menu_item_target": {
"title": "admin_menu_item_target",
"type": "select",
"options": {
"self": "_self",
"blank": "_blank",
"parent": "_parent",
"top": "_top"
},
"size": "col-4"
},
"menu_item_order": {
"title": "admin_menu_item_order",
"type": "text",
"size": "col-4"
}
}
}
}
}