client-policies-json.html 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!--
  2. ~ Copyright 2021 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. -->
  18. <div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
  19. <kc-tabs-realm></kc-tabs-realm>
  20. <ul class="nav nav-tabs nav-tabs-pf">
  21. <li>
  22. <a href="#/realms/{{realm.realm}}/client-policies/profiles">{{:: 'client-policies-profiles' | translate}}</a>
  23. <kc-tooltip>{{:: 'client-policies-profiles.tooltip' | translate}}</kc-tooltip>
  24. </li>
  25. <li class="active">
  26. <a href="#/realms/{{realm.realm}}/client-policies/policies">{{:: 'client-policies-policies' | translate}}</a>
  27. <kc-tooltip>{{:: 'client-policies-policies.tooltip' | translate}}</kc-tooltip>
  28. </li>
  29. </ul>
  30. <ul class="nav nav-tabs nav-tabs-pf">
  31. <li><a href="#/realms/{{realm.realm}}/client-policies/policies">{{:: 'client-profiles-form-view' | translate}}</a></li>
  32. <li class="active"><a href="#/realms/{{realm.realm}}/client-policies/policies-json">{{:: 'client-profiles-json-editor' | translate}}</a></li>
  33. </ul>
  34. <form class="form-horizontal" name="realmForm" novalidate kc-read-only="!access.manageRealm">
  35. <filedset>
  36. <div class="form-group">
  37. <div class="col-md-10">
  38. <div>
  39. <textarea id="clientPoliciesConfig" name="clientPoliciesConfig" data-ng-model="clientPoliciesString" class="form-control ng-binding" rows="20" ></textarea>
  40. </div>
  41. </div>
  42. </div>
  43. <div class="form-group">
  44. <div class="col-md-10">
  45. <button class="btn btn-primary" data-ng-click="save()">{{:: 'save' | translate}}</button>
  46. <button class="btn btn-default" data-ng-click="reset()">{{:: 'reset' | translate}}</button>
  47. </div>
  48. </div>
  49. </filedset>
  50. </form>
  51. </div>
  52. <kc-menu></kc-menu>