msr-consulting / exscalabar

User interface for the EXSCALABAR instrument.
http://www.msrconsults.com/ukmet-gh/exscalabar
1 stars 2 forks source link

Add checklist for client access #29

Closed lo-co closed 8 years ago

lo-co commented 9 years ago

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.

lo-co commented 9 years ago

Another example:

https://github.com/tastejs/todomvc/tree/gh-pages/examples/angularjs

lo-co commented 8 years ago

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
      ]
    }
  ]
}