@spotinst/spinnaker-deck
Version:
Spinnaker-Deck service, forked with support to Spotinst
25 lines (24 loc) • 948 B
HTML
<ng-form name="defaultService">
<div class="container-fluid form-horizontal">
<div class="form-group">
<div class="col-md-4 sm-label-right">
<b>Default Service</b><help-field key="gce.httpLoadBalancer.defaultService"></help-field>
</div>
<div class="col-md-4">
<ui-select
ng-model="ctrl.command.loadBalancer.defaultService"
required
on-select="ctrl.command.onBackendServiceSelected($item, ctrl.command)"
class="form-control input-sm"
>
<ui-select-match placeholder="Select..."> {{$select.selected}} </ui-select-match>
<ui-select-choices
repeat="backendService in ctrl.command.getAllBackendServices(ctrl.command) | filter: $select.search"
>
<div ng-bind-html="backendService | highlight: $select.search"></div>
</ui-select-choices>
</ui-select>
</div>
</div>
</div>
</ng-form>