Skip to content

Instantly share code, notes, and snippets.

@pukhalski
Created July 10, 2013 11:09
Show Gist options
  • Save pukhalski/5965430 to your computer and use it in GitHub Desktop.
Save pukhalski/5965430 to your computer and use it in GitHub Desktop.
{
"title": "Mobile Booster",
"version": "0.1",
"flow": [
{
"title" : "Specify the platform",
"params": [
{
"type" : "radio",
"name" : "platform",
"value" : [
{
"value" : "ios",
"label" : "iOS"
},
{
"value" : "android",
"label" : "Android"
},
{
"value" : "web",
"label" : "Web"
},
{
"value" : "hybrid",
"label" : "Hybrid"
}
],
"description" : ""
}
]
},
{
"title" : "Specify devices",
"params": [
{
"type" : "checkbox",
"name" : "devices",
"value" : [
{
"value" : "phone",
"label" : "Mobile phone"
},
{
"value" : "Tablet",
"label" : "tablet"
},
{
"value" : "desktop",
"label" : "Desktop",
"dependencies" : [
{
"name" : "platform",
"value" : "web"
}
]
},
{
"value" : "tv",
"label" : "Smart TV",
"dependencies" : [
{
"name" : "platform",
"value" : "web"
}
]
}
],
"description" : ""
}
]
},
{
"title" : "Specify framework",
"modal" : true,
"params": [
{
"type" : "radio",
"name" : "framework",
"value" : [
{
"value" : "xframework",
"label" : "X-Framework",
"dependencies" : [
{
"name" : "platform",
"value" : ["web", "hybrid"]
}
]
},
{
"value" : "sencha",
"label" : "Sencha Touch",
"dependencies" : [
{
"name" : "platform",
"value" : ["web", "hybrid"]
},
{
"name" : "devices",
"value" : ["phone", "tablet"]
}
]
}
],
"description" : ""
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment