realm-keys-generic.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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><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 class="active"><a href="#/realms/{{realm.realm}}/keys/providers">{{:: 'providers' | translate}}</a></li>
  24. </ul>
  25. <ol class="breadcrumb">
  26. <li><a href="#/realms/{{realm.realm}}/keys/providers">{{:: 'keystores' | translate}}</a></li>
  27. <li data-ng-hide="create">{{instance.id}}</li>
  28. <li data-ng-show="create">{{:: 'add-keystore' | translate}}</li>
  29. </ol>
  30. <form class="form-horizontal" name="realmForm" novalidate kc-read-only="!access.manageRealm">
  31. <fieldset>
  32. <div class="form-group clearfix" data-ng-show="!create">
  33. <label class="col-md-2 control-label" for="providerId">{{:: 'provider-id' | translate}} </label>
  34. <div class="col-md-6">
  35. <input class="form-control" id="providerId" type="text" ng-model="instance.id" readonly>
  36. </div>
  37. </div>
  38. <div class="form-group clearfix">
  39. <label class="col-md-2 control-label" for="consoleDisplayName">{{:: 'console-display-name' | translate}} </label>
  40. <div class="col-md-6">
  41. <input required class="form-control" id="consoleDisplayName" type="text" ng-model="instance.name" placeholder="{{:: 'defaults-to-id' | translate}}">
  42. </div>
  43. <kc-tooltip>{{:: 'console-display-name.tooltip' | translate}}</kc-tooltip>
  44. </div>
  45. <kc-component-config realm="realm" config="instance.config" properties="providerFactory.properties"></kc-component-config>
  46. </fieldset>
  47. <div class="form-group">
  48. <div class="col-md-10 col-md-offset-2" data-ng-show="create && access.manageRealm">
  49. <button kc-save data-ng-disabled="!changed">{{:: 'save' | translate}}</button>
  50. <button kc-cancel data-ng-disabled="!changed" data-ng-click="cancel()">{{:: 'cancel' | translate}}</button>
  51. </div>
  52. </div>
  53. <div class="form-group">
  54. <div class="col-md-10 col-md-offset-2" data-ng-show="!create && access.manageRealm">
  55. <button kc-save data-ng-disabled="!changed">{{:: 'save' | translate}}</button>
  56. <button kc-reset data-ng-disabled="!changed">{{:: 'cancel' | translate}}</button>
  57. </div>
  58. </div>
  59. </form>
  60. </div>
  61. <kc-menu></kc-menu>