mirror of
https://github.com/nasa/openmct.git
synced 2024-12-29 01:18:52 +00:00
a464fee6df
Implement date time controls up to the point that they validate, and information (albeit not the right information) propagates back up to the containing form. WTD-530.
72 lines
2.1 KiB
JSON
72 lines
2.1 KiB
JSON
{
|
|
"name": "MCT Forms",
|
|
"description": "Form generator; includes directive and some controls.",
|
|
"extensions": {
|
|
"directives": [
|
|
{
|
|
"key": "mctForm",
|
|
"implementation": "MCTForm.js"
|
|
},
|
|
{
|
|
"key": "mctControl",
|
|
"implementation": "MCTControl.js",
|
|
"depends": [ "controls[]" ]
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"key": "checkbox",
|
|
"templateUrl": "templates/controls/checkbox.html"
|
|
},
|
|
{
|
|
"key": "datetime",
|
|
"templateUrl": "templates/controls/datetime.html"
|
|
},
|
|
{
|
|
"key": "select",
|
|
"templateUrl": "templates/controls/select.html"
|
|
},
|
|
{
|
|
"key": "textfield",
|
|
"templateUrl": "templates/controls/textfield.html"
|
|
}
|
|
],
|
|
"controllers": [
|
|
{
|
|
"key": "DateTimeController",
|
|
"implementation": "controllers/DateTimeController.js",
|
|
"depends": [ "$scope" ]
|
|
}
|
|
],
|
|
"templates": [
|
|
{
|
|
"key": "_checkbox",
|
|
"templateUrl": "templates/_checkbox.html"
|
|
},
|
|
{
|
|
"key": "_checkboxes",
|
|
"templateUrl": "templates/_checkboxes.html"
|
|
},
|
|
{
|
|
"key": "_datetime",
|
|
"templateUrl": "templates/_datetime.html"
|
|
},
|
|
{
|
|
"key": "_select",
|
|
"templateUrl": "templates/_select.html"
|
|
},
|
|
{
|
|
"key": "_selects",
|
|
"templateUrl": "templates/_selects.html"
|
|
},
|
|
{
|
|
"key": "_textfield",
|
|
"templateUrl": "templates/_textfield.html"
|
|
},
|
|
{
|
|
"key": "_textfields",
|
|
"templateUrl": "templates/_textfields.html"
|
|
}
|
|
]
|
|
}
|
|
} |