mirror of https://github.com/portainer/portainer
feat(oauth): add providers selectors
parent
69252a8377
commit
3699b794eb
|
@ -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>
|
|
@ -0,0 +1,4 @@
|
||||||
|
angular.module('portainer.extensions.oauth')
|
||||||
|
.component('oauthProvidersSelector', {
|
||||||
|
templateUrl: 'app/extensions/oauth/components/oauth-providers-selector/oauth-providers-selector.html'
|
||||||
|
});
|
Loading…
Reference in New Issue