client-reg-trusted-host-create.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. <ol class="breadcrumb">
  19. <li><a href="#/realms/{{realm.realm}}/client-initial-access">{{:: 'initial-access-tokens' | translate}}</a></li>
  20. <li>{{:: 'add-client-reg-trusted-host' | translate}}</li>
  21. </ol>
  22. <h1>{{:: 'add-client-reg-trusted-host' | translate}}</h1>
  23. <form class="form-horizontal" name="createForm" novalidate kc-read-only="!access.manageRealm">
  24. <div class="form-group">
  25. <label class="col-md-2 control-label" for="hostName">{{:: 'hostname' | translate}} </label>
  26. <div class="col-sm-6">
  27. <input class="form-control" type="text" id="hostName" name="hostName" data-ng-model="hostName">
  28. </div>
  29. <kc-tooltip>{{:: 'client-reg-hostname.tooltip' | translate}}</kc-tooltip>
  30. </div>
  31. <div class="form-group">
  32. <label class="col-md-2 control-label" for="count">{{:: 'count' | translate}} </label>
  33. <div class="col-sm-6">
  34. <input class="form-control" type="text" id="count" name="count" required min="1" max="10000" data-ng-model="count">
  35. </div>
  36. <kc-tooltip>{{:: 'client-reg-count.tooltip' | translate}}</kc-tooltip>
  37. </div>
  38. <div class="form-group">
  39. <div class="col-md-10 col-md-offset-2" data-ng-show="access.manageRealm">
  40. <button kc-save>{{:: 'save' | translate}}</button>
  41. <button kc-cancel data-ng-click="cancel()">{{:: 'cancel' | translate}}</button>
  42. </div>
  43. </div>
  44. </form>
  45. </div>
  46. <kc-menu></kc-menu>