user-federated-identity-detail.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
  2. <ol class="breadcrumb">
  3. <li><a href="#/realms/{{realm.realm}}/users">{{:: 'users' | translate}}</a></li>
  4. <li>{{user.username}}</li>
  5. </ol>
  6. <h1 data-ng-show="create">{{:: 'add-identity-provider-link' | translate}}</h1>
  7. <kc-tabs-user></kc-tabs-user>
  8. <form class="form-horizontal" name="realmForm" novalidate kc-read-only="!access.manageRealm">
  9. <fieldset>
  10. <div class="form-group">
  11. <label class="col-md-2 control-label" for="identityProvider">{{:: 'identity-provider' | translate}} <span class="required">*</span></label>
  12. <div class="col-sm-6">
  13. <div>
  14. <select class="form-control" id="identityProvider"
  15. ng-model="federatedIdentity.identityProvider"
  16. ng-options="providerAlias for providerAlias in availableProvidersToCreate"
  17. required>
  18. </select>
  19. </div>
  20. </div>
  21. </div>
  22. <div class="form-group clearfix">
  23. <label class="col-md-2 control-label" for="userId">{{:: 'identity-provider-user-id' | translate}} <span class="required">*</span></label>
  24. <div class="col-md-6">
  25. <input class="form-control" id="userId" type="text" ng-model="federatedIdentity.userId" required>
  26. </div>
  27. <kc-tooltip>{{:: 'identity-provider-user-id.tooltip' | translate}}</kc-tooltip>
  28. </div>
  29. <div class="form-group clearfix">
  30. <label class="col-md-2 control-label" for="userName">{{:: 'identity-provider-username' | translate}} <span class="required">*</span></label>
  31. <div class="col-md-6">
  32. <input class="form-control" id="userName" type="text" ng-model="federatedIdentity.userName" required>
  33. </div>
  34. <kc-tooltip>{{:: 'identity-provider-username.tooltip' | translate}}</kc-tooltip>
  35. </div>
  36. </fieldset>
  37. <div class="form-group" data-ng-show="access.manageRealm">
  38. <div class="col-md-10 col-md-offset-2">
  39. <button kc-save>{{:: 'save' | translate}}</button>
  40. <button kc-cancel data-ng-click="cancel()">{{:: 'cancel' | translate}}</button>
  41. </div>
  42. </div>
  43. </form>
  44. </div>
  45. <kc-menu></kc-menu>