mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 21:53:08 +00:00
38 lines
1.8 KiB
HTML
38 lines
1.8 KiB
HTML
|
<b>{{structure.name}}</b>
|
||
|
<div class="form">
|
||
|
<span ng-repeat="section in structure.sections">
|
||
|
<div class="section-header">{{section.name}}</div>
|
||
|
<div class="form-section">
|
||
|
<!--<div ng-repeat="row in section.rows" class="form-row validates">-->
|
||
|
<!--<div class='label'>{{row.name}}</div>-->
|
||
|
<!--<div class='controls {cssclass}'>-->
|
||
|
<!--<div class="wrapper">-->
|
||
|
<!--<!–{{row.control}} - {{model[row.key]}}–>-->
|
||
|
<!--<span class="ui-symbol req" ng-show="row.required">*</span>-->
|
||
|
<!--<mct-include key="row.control" ng-model="model[row.key]"></mct-include>-->
|
||
|
<!--</div>-->
|
||
|
<!--</div>-->
|
||
|
<!--</div>-->
|
||
|
<div ng-repeat="row in section.rows" class="form-row validates">
|
||
|
<div class='label'>{{row.name}}</div>
|
||
|
<div class='controls {cssclass}'>
|
||
|
<div ng-repeat="item in row.items" class="validates">
|
||
|
|
||
|
<div>
|
||
|
{{item.control}} | Item.Key={{item.key}} | model={{model[item.key]}}
|
||
|
<span class="ui-symbol req" ng-show="item.required">*</span>
|
||
|
<mct-include key="item.control" ng-model="model[item.key]" id="item.key"></mct-include>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</span>
|
||
|
<div class="form-section">
|
||
|
<div class="form-row" ng-if="structure.submit">
|
||
|
<a class='btn lg major' href=''>{{structure.submit}}</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
<span ng-click="model.foo='Foo'">CLICK!</span>
|
||
|
<div>Model: {{model | json}}</div>
|
||
|
</div>
|