realm-keys-passive.html 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!--
  2. ~ Copyright 2016 Red Hat, Inc. and/or its affiliates
  3. ~ and other contributors as indicated by the @author tags.
  4. ~
  5. ~ Licensed under the Apache License, Version 2.0 (the "License");
  6. ~ you may not use this file except in compliance with the License.
  7. ~ You may obtain a copy of the License at
  8. ~
  9. ~ http://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. -->
  17. <div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
  18. <kc-tabs-realm></kc-tabs-realm>
  19. <ul class="nav nav-tabs nav-tabs-pf">
  20. <li><a href="#/realms/{{realm.realm}}/keys">{{:: 'active' | translate}}</a></li>
  21. <li class="active"><a href="#/realms/{{realm.realm}}/keys/passive">{{:: 'passive' | translate}}</a></li>
  22. <li><a href="#/realms/{{realm.realm}}/keys/disabled">{{:: 'disabled' | translate}}</a></li>
  23. <li><a href="#/realms/{{realm.realm}}/keys/providers">{{:: 'providers' | translate}}</a></li>
  24. </ul>
  25. <table class="table table-striped table-bordered">
  26. <thead>
  27. <tr>
  28. <th class="kc-table-actions" colspan="7">
  29. <div class="form-inline">
  30. <div class="form-group">
  31. <div class="input-group">
  32. <input type="text" placeholder="{{:: 'search.placeholder' | translate}}" data-ng-model="search" class="form-control search"">
  33. <div class="input-group-addon">
  34. <i class="fa fa-search"></i>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. </th>
  40. </tr>
  41. <tr>
  42. <th>{{:: 'algorithm' | translate}}</th>
  43. <th>{{:: 'type' | translate}}</th>
  44. <th>{{:: 'kid' | translate}}</th>
  45. <th>{{:: 'priority' | translate}}</th>
  46. <th>{{:: 'provider' | translate}}</th>
  47. <th colspan="2">{{:: 'publicKeys' | translate}}</th>
  48. </tr>
  49. </thead>
  50. <tbody>
  51. <tr ng-repeat="key in keys | filter:search | filter:{status:'PASSIVE'}">
  52. <td>{{key.algorithm}}</td>
  53. <td>{{key.type}}</td>
  54. <td>{{key.kid}}</td>
  55. <td>{{key.providerPriority}}</td>
  56. <td><a href="#/realms/{{realm.realm}}/keys/providers/{{key.provider.providerId}}/{{key.provider.id}}">{{key.provider.name}}</a></td>
  57. <td data-ng-show="!key.publicKey" colspan="2"></td>
  58. <td class="kc-action-cell" data-ng-show="key.publicKey" class="kc-action-cell" data-ng-click="viewKey(key.publicKey)" colspan="{{key.certificate ? 1 : 2}}">{{:: 'publicKey' | translate}}</td>
  59. <td data-ng-show="key.certificate" class="kc-action-cell" data-ng-click="viewKey(key.certificate)">{{:: 'certificate' | translate}}</td>
  60. </tr>
  61. </tbody>
  62. </table>
  63. </div>
  64. <kc-menu></kc-menu>