identity-provider-mappers.html 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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}}/identity-provider-settings">{{:: 'identity-providers' | translate}}</a></li>
  4. <li data-ng-show="identityProvider.displayName"><a href="#/realms/{{realm.realm}}/identity-provider-settings/provider/{{identityProvider.providerId}}/{{identityProvider.alias}}">{{identityProvider.displayName}}</a></li>
  5. <li data-ng-show="!identityProvider.displayName"><a href="#/realms/{{realm.realm}}/identity-provider-settings/provider/{{identityProvider.providerId}}/{{identityProvider.alias}}">{{identityProvider.alias}}</a></li>
  6. <li>{{:: 'mappers' | translate}}</li>
  7. </ol>
  8. <kc-tabs-identity-provider></kc-tabs-identity-provider>
  9. <table class="table table-striped table-bordered">
  10. <thead>
  11. <tr>
  12. <th class="kc-table-actions" colspan="4">
  13. <div class="form-inline">
  14. <div class="form-group">
  15. <div class="input-group">
  16. <input type="text" placeholder="{{:: 'search.placeholder' | translate}}" data-ng-model="search.name" class="form-control search" onkeyup="if(event.keyCode == 13){$(this).next('I').click();}">
  17. <div class="input-group-addon">
  18. <i class="fa fa-search" type="submit"></i>
  19. </div>
  20. </div>
  21. </div>
  22. <div class="pull-right" data-ng-show="access.manageIdentityProviders">
  23. <a class="btn btn-primary" href="#/create/identity-provider-mappers/{{realm.realm}}/{{identityProvider.alias}}">{{:: 'create' | translate}}</a>
  24. </div>
  25. </div>
  26. </th>
  27. </tr>
  28. <tr data-ng-hide="mappers.length == 0">
  29. <th>{{:: 'name' | translate}}</th>
  30. <th>{{:: 'category' | translate}}</th>
  31. <th>{{:: 'type' | translate}}</th>
  32. </tr>
  33. </thead>
  34. <tbody>
  35. <tr ng-repeat="mapper in mappers | filter:search | orderBy:'name'">
  36. <td><a href="#/realms/{{realm.realm}}/identity-provider-mappers/{{identityProvider.alias}}/mappers/{{mapper.id}}">{{mapper.name}}</a></td>
  37. <td>{{mapperTypes[mapper.identityProviderMapper].category}}</td>
  38. <td>{{mapperTypes[mapper.identityProviderMapper].name}}</td>
  39. </tr>
  40. <tr data-ng-show="mappers.length == 0">
  41. <td>{{:: 'no-mappers-available' | translate}}</td>
  42. </tr>
  43. </tbody>
  44. </table>
  45. </div>
  46. <kc-menu></kc-menu>