Closed lo-co closed 8 years ago
Another example:
https://github.com/tastejs/todomvc/tree/gh-pages/examples/angularjs
Here is a better example:
http://bootsnipp.com/snippets/featured/checked-list-group
It will utilize a file called checklist.json
. The json file will contain an array of objects:
It will look like:
{
"main": [
{
"title": "Consumable",
"items": [
"Check and record zero pressure.",
"Turn on O2 cylinder. Record O2 pressure.",
"Replace scrubber as necessary (every 2 to 3 flights).",
"Replace CLAP filter, if needed. White side up.",
"Clean impactor (20 to 30 flight hours)",
"Check 2 water reservoir levels (clear reservoirs at rear of instrument)."
],
"records": [
{
"name": "Pressure",
"type": "numeric"
},
{
"name": "Pressure",
"type": "numeric"
},
{
"name": "Replaced?",
"type": "boolean"
},
{
"name": "Replaced?",
"type": "boolean"
},
{
"name": "Cleaned?",
"type": "boolean"
},
null
]
}
]
}
The checklist should be dynamic and allow the user to:
This is pretty extreme, but might be food for thought - https://github.com/tastejs/todomvc.