client-reg-trusted-host-detail.html 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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>{{hostName}}</li>
  21. </ol>
  22. <h1>{{hostName}}</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" readonly>
  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. <label class="col-md-2 control-label" for="remainingCount">{{:: 'remainingCount' | translate}} </label>
  40. <div class="col-sm-6">
  41. <input class="form-control" type="text" id="remainingCount" name="remainingCount" data-ng-model="remainingCount" readonly>
  42. </div>
  43. <kc-tooltip>{{:: 'client-reg-remainingCount.tooltip' | translate}}</kc-tooltip>
  44. </div>
  45. <div class="form-group">
  46. <div class="col-md-10 col-md-offset-2" data-ng-show="access.manageRealm">
  47. <button class="btn btn-primary" data-ng-click="resetRemainingCount()" data-ng-hide="changed">{{:: 'reset-remaining-count' | translate}}</button>
  48. <button data-ng-show="changed" kc-save>{{:: 'save' | translate}}</button>
  49. <button kc-cancel data-ng-click="cancel()">{{:: 'cancel' | translate}}</button>
  50. </div>
  51. </div>
  52. </form>
  53. </div>
  54. <kc-menu></kc-menu>