Skip to content

Instantly share code, notes, and snippets.

@zentraedi
Created September 3, 2015 21:45
Show Gist options
  • Save zentraedi/ff029254549ff968e55f to your computer and use it in GitHub Desktop.
Save zentraedi/ff029254549ff968e55f to your computer and use it in GitHub Desktop.
JSON file
{
"groups":[
{
"id":"client-details",
"title":"Client details",
"collapsible":true,
"sections":[
{
"id":"client-details-0",
"fields":[
{
"id":"client",
"title":"Client",
"info":"Select a client or create a new one",
"type":"select",
"size":{
"width":90,
"height":1
},
"validations":{
"required":true
}
},
{
"id":"client-add",
"title":"+",
"type":"button",
"size":{
"width":10
}
}
]
},
{
"id":"date-place",
"fields":[
{
"id":"event-date",
"title":"Date",
"type":"date",
"size":{
"width":50,
"height":1
},
"validations":{
"required":true
}
},
{
"id":"location",
"title":"Location",
"type":"text",
"size":{
"width":50,
"height":1
},
"validations":{
"required":true
}
}
]
},
{
"id":"description-logo",
"fields":[
{
"id":"description",
"title":"Description",
"type":"text",
"size":{
"width":50,
"height":2
},
"validations":{
"required":true
}
}
]
}
]
},
{
"id":"social-networks-details",
"title":"Social Networks",
"collapsible":true,
"sections":[
{
"id":"social-networks-buttons",
"fields":[
{
"id":"twitter-login-button",
"title":"Log in with Twitter",
"type":"button",
"size":{
"width":50,
"height":1
}
},
{
"id":"facebook-login-button",
"title":"Log in with Facebook",
"type":"button",
"size":{
"width":50,
"height":1
}
}
]
},
{
"id":"twitter-hastags",
"type":"dynamic",
"action_title":"ADD TWITTER HASHTAG ✛",
"fields":null,
},
{
"id":"facebook-tags",
"type":"dynamic",
"action_title":"ADD FACEBOOK TAG ✛",
"fields":null
}
]
}
],
"templates":{
"fields":null,
"sections":[
{
"id":"twitter-hastags",
"fields":[
{
"id":"twitter-hastags[:index].tag",
"title":"#hashtag",
"type":"text",
"size":{
"width":80,
"height":1
}
},
{
"id":"twitter-hastags[:index].remove",
"title":"Remove",
"type":"button",
"size":{
"width":20,
"height":1
}
}
]
},
{
"id":"facebook-tags",
"fields":[
{
"id":"facebook-tags[:index].tag",
"title":"Tag",
"type":"text",
"size":{
"width":80,
"height":1
}
},
{
"id":"facebook-tags[:index].remove",
"title":"Remove",
"type":"button",
"size":{
"width":20,
"height":1
}
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment