Matteo Scandolo | 388795a | 2016-02-22 09:57:55 -0800 | [diff] [blame^] | 1 | <div class="modal fade" ng-class="{in: vm.open}" tabindex="-1" role="dialog"> |
| 2 | <div class="modal-dialog"> |
| 3 | <div class="modal-content"> |
| 4 | <div class="modal-header"> |
| 5 | <button ng-click="vm.close()" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> |
| 6 | <h4 class="modal-title">Select a subscriber:</h4> |
| 7 | </div> |
| 8 | <div class="modal-body"> |
| 9 | <select class="form-control" ng-options="s as s.humanReadableName for s in vm.subscribers" ng-model="vm.selected"></select> |
| 10 | </div> |
| 11 | <div class="modal-footer"> |
| 12 | <button ng-click="vm.close()" type="button" class="btn btn-default" data-dismiss="modal">Close</button> |
| 13 | <button ng-click="vm.select(vm.selected)" type="button" class="btn btn-primary">Select</button> |
| 14 | </div> |
| 15 | </div><!-- /.modal-content --> |
| 16 | </div><!-- /.modal-dialog --> |
| 17 | </div><!-- /.modal --> |