Skip to content

Instantly share code, notes, and snippets.

@ItsReaSz
Created September 27, 2018 09:02
Show Gist options
  • Save ItsReaSz/abdb1266687e3b258e4b11686d908f41 to your computer and use it in GitHub Desktop.
Save ItsReaSz/abdb1266687e3b258e4b11686d908f41 to your computer and use it in GitHub Desktop.
{
"name": {
"en-GB": "Regions map",
"fr-FR": "Regions map"
},
"description": {
"en-GB": "Colour coded map of CTA regions",
"fr-FR": "Colour coded map of CTA regions"
},
"template": "containers/global/hero-map/hero-map.html.twig",
"template_config": {
"links": {
"label": {
"en-GB": "Region links"
},
"controls": {
"region": {
"value": [
{
"label": {
"en-GB": "Caribbean",
"fr-FR": "Caribbean"
},
"id": "216a5964-0897-4eeb-ac95-cf7f199f0602",
"colour": "theme theme--gold"
},
{
"label": {
"en-GB": "Western Africa",
"fr-FR": "Western Africa"
},
"id": "30597942-bb27-47d2-99d8-96dc76e0fcad",
"colour": "theme theme--orange"
},
{
"label": {
"en-GB": "Eastern Africa",
"fr-FR": "Eastern Africa"
},
"id": "52e3acc1-1b9e-41e9-8bf6-bfe487642562",
"colour": "theme theme--burgundy"
},
{
"label": {
"en-GB": "Central Africa",
"fr-FR": "Central Africa"
},
"id": "857c927c-2d73-4bc6-8039-3fab70489dd9",
"colour": "theme theme--purple"
},
{
"label": {
"en-GB": "Southern Africa",
"fr-FR": "Southern Africa"
},
"id": "a38ed776-ef17-4a56-abb3-f9320679a103",
"colour": "theme theme--yellow"
},
{
"label": {
"en-GB": "Pacific",
"fr-FR": "Pacific"
},
"id": "259ac34a-a476-43cb-a7db-849b061615a4",
"colour": "theme theme--blue"
}
],
"label": {
"en-GB": "Region"
},
"type": "compound",
"controls": {
"label": {
"label": {
"en-GB": "Label"
},
"control": "core/text"
},
"id": {
"label": {
"en-GB": "Resource ID (optional)"
},
"control": "core/text"
},
"colour": {
"control": "project/colour_theme"
}
},
"repeatable": true,
"control": "core/abstract"
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"leader": {
"value": "",
"control": "project/leader"
},
"leader_inside": {
"value": "",
"control": "project/leader_inside"
},
"trailer": {
"value": "",
"control": "project/trailer"
},
"trailer_inside": {
"value": "",
"control": "project/trailer_inside"
},
"container_class": {
"value": "",
"control": "project/container_class"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Caribbean",
"fr-FR": "Caribbean"
},
"description": {
"en-GB": "",
"fr-FR": ""
},
"template": "containers/global/group/group.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"limit": {
"value": "1",
"control": "project/model/limit"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "216a5964-0897-4eeb-ac95-cf7f199f0602"
}
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"colour_theme": {
"value": "gold",
"control": "project/colour_theme"
}
}
}
},
"frontender": "61d3abeb46f91f3a8e1ceb54c0296c0c"
},
{
"name": {
"en-GB": "Western Africa",
"fr-FR": "Western Africa"
},
"description": {
"en-GB": "",
"fr-FR": ""
},
"template": "containers/global/group/group.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"limit": {
"value": "1",
"control": "project/model/limit"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "30597942-bb27-47d2-99d8-96dc76e0fcad"
}
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"colour_theme": {
"value": "orange",
"control": "project/colour_theme"
}
}
}
},
"frontender": "1c9ff5e5040964730f01b56f2bc84ca5"
},
{
"name": {
"en-GB": "Eastern Africa",
"fr-FR": "Eastern Africa"
},
"description": {
"en-GB": "",
"fr-FR": ""
},
"template": "containers/global/group/group.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"limit": {
"value": "1",
"control": "project/model/limit"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "52e3acc1-1b9e-41e9-8bf6-bfe487642562"
}
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"colour_theme": {
"value": "red",
"control": "project/colour_theme"
}
}
}
},
"frontender": "b6d2401921af8f0e4ada2beba8f99b17"
},
{
"name": {
"en-GB": "Central Africa",
"fr-FR": "Central Africa"
},
"description": {
"en-GB": "",
"fr-FR": ""
},
"template": "containers/global/group/group.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"limit": {
"value": "1",
"control": "project/model/limit"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "857c927c-2d73-4bc6-8039-3fab70489dd9"
}
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"colour_theme": {
"value": "purple",
"control": "project/colour_theme"
}
}
}
},
"frontender": "aac6436aaa11368f8e82f8da337ee5b9"
},
{
"name": {
"en-GB": "Southern Africa",
"fr-FR": "Southern Africa"
},
"description": {
"en-GB": "",
"fr-FR": ""
},
"template": "containers/global/group/group.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"limit": {
"value": "1",
"control": "project/model/limit"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "a38ed776-ef17-4a56-abb3-f9320679a103"
}
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"colour_theme": {
"value": "yellow",
"control": "project/colour_theme"
}
}
}
},
"frontender": "0328c66fd099baa23064348b5c58255b"
},
{
"name": {
"en-GB": "Pacific",
"fr-FR": "Pacific"
},
"description": {
"en-GB": "",
"fr-FR": ""
},
"template": "containers/global/group/group.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"limit": {
"value": "1",
"control": "project/model/limit"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "259ac34a-a476-43cb-a7db-849b061615a4"
}
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"colour_theme": {
"value": "blue",
"control": "project/colour_theme"
}
}
}
},
"frontender": "3a58176b07e788ea47e03fb22c3d2b84"
}
],
"frontender": "e3dbf18e00f16b32975fbd363a7c0520"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment