feat(oauth): add providers selectors

pull/2749/head
Chaim Lev Ari 2019-01-18 12:14:12 +02:00
parent 69252a8377
commit 3699b794eb
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<div class="col-sm-12 form-section-title">
Provider
</div>
<div class="form-group">
<div class="col-sm-12">
<select
class="form-control"
id="oauth-provider-selector"
ng-model="$ctrl.selectedProvider"
ng-options="provider as provider for provider in $ctrl.providers"
>
<option value="">Custom</option>
</select>
</div>
</div>

View File

@ -0,0 +1,4 @@
angular.module('portainer.extensions.oauth')
.component('oauthProvidersSelector', {
templateUrl: 'app/extensions/oauth/components/oauth-providers-selector/oauth-providers-selector.html'
});