| 1 | <div style="padding-bottom: 20px" class="form-inline "> |
| 2 | <div ng-class="Class" class="form-group"> |
| 3 | <label for="UniverseId" class="control-label">Id:</label> |
| 4 | <input ng-change="updateId()" id="UniverseId" class="form-control" type="number" ng-model="Data.id" min="0" max="4294967295"/> |
| 5 | </div> |
| 6 | <div class="form-group"> |
| 7 | <label for="UniverseName" class="control-label">Name:</label> |
| 8 | <input placeholder="dimmers" required id="UniverseName" class="form-control" type="text" ng-model="Data.name"/> |
| 9 | </div> |
| 10 | <button ng-click="Submit()" class="btn btn-primary btn-md">Add Universe</button> |
| 11 | </div> |
| 12 | <div class="row"> |
| 13 | <div class="col-sm-6 settings-table"> |
| 14 | <table class="table table-condensed"> |
| 15 | <caption>Input Ports:</caption> |
| 16 | <tr> |
| 17 | <th>Enable</th> |
| 18 | <th>Device</th> |
| 19 | <th>Description</th> |
| 20 | </tr> |
| 21 | <tr class="striped-table" ng-repeat="plugin in Ports" ng-if="!plugin.is_output"> |
| 22 | <td><input type="checkbox" ng-change="TogglePort()" ng-model="addPorts[$index]" ng-true-value="'{{plugin.id}}'" ng-false-value="''"/></td> |
| 23 | <td>{{plugin.device}}</td> |
| 24 | <td>{{plugin.description}}</td> |
| 25 | </tr> |
| 26 | </table> |
| 27 | </div> |
| 28 | <div class="col-sm-6 settings-table"> |
| 29 | <table class="table table-condensed"> |
| 30 | <caption>Output Ports:</caption> |
| 31 | <tr> |
| 32 | <th>Enable</th> |
| 33 | <th>Device</th> |
| 34 | <th>Description</th> |
| 35 | </tr> |
| 36 | <tr class="striped-table" ng-repeat="plugin in Ports" ng-if="plugin.is_output"> |
| 37 | <td><input type="checkbox" ng-change="TogglePort()" ng-model="addPorts[$index]" ng-true-value="'{{plugin.id}}'" ng-false-value="''"/></td> |
| 38 | <td>{{plugin.device}}</td> |
| 39 | <td>{{plugin.description}}</td> |
| 40 | </tr> |
| 41 | </table> |
| 42 | </div> |
| 43 | </div> |