user-storage-ldap-mappers.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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}}/user-federation">{{:: 'user-federation' | translate}}</a></li>
  4. <li><a href="#/realms/{{realm.realm}}/user-storage/providers/ldap/{{provider.id}}">{{provider.name|capitalize}}</a></li>
  5. <li>{{:: 'ldap-mappers' | translate}}</li>
  6. </ol>
  7. <kc-tabs-ldap></kc-tabs-ldap>
  8. <table class="table table-striped table-bordered">
  9. <thead>
  10. <tr>
  11. <th class="kc-table-actions" colspan="4">
  12. <div class="form-inline">
  13. <div class="form-group">
  14. <div class="input-group">
  15. <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();}">
  16. <div class="input-group-addon">
  17. <i class="fa fa-search" type="submit"></i>
  18. </div>
  19. </div>
  20. </div>
  21. <div class="pull-right">
  22. <a class="btn btn-primary" href="#/create/ldap-mappers/{{realm.realm}}/{{provider.id}}">{{:: 'create' | translate}}</a>
  23. </div>
  24. </div>
  25. </th>
  26. </tr>
  27. <tr data-ng-hide="mappers.length == 0">
  28. <th>{{:: 'name' | translate}}</th>
  29. <th>{{:: 'type' | translate}}</th>
  30. </tr>
  31. </thead>
  32. <tbody>
  33. <tr ng-repeat="mapper in mappers | filter:search">
  34. <td><a href="#/realms/{{realm.realm}}/ldap-mappers/{{provider.id}}/mappers/{{mapper.id}}">{{mapper.name}}</a></td>
  35. <td>{{mapper.providerId}}</td>
  36. </tr>
  37. <tr data-ng-show="mappers.length == 0">
  38. <td>{{:: 'no-mappers-available' | translate}}</td>
  39. </tr>
  40. </tbody>
  41. </table>
  42. </div>
  43. <kc-menu></kc-menu>