client-clustering-node.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
  2. <ol class="breadcrumb">
  3. <li><a href="#/realms/{{realm.realm}}/clients">{{:: 'clients' | translate}}</a></li>
  4. <li><a href="#/realms/{{realm.realm}}/clients/{{client.id}}">{{client.clientId}}</a></li>
  5. <li><a href="#/realms/{{realm.realm}}/clients/{{client.id}}/clustering">{{:: 'cluster-nodes' | translate}}</a></li>
  6. <li data-ng-show="create">{{:: 'add-node' | translate}}</li>
  7. <li data-ng-hide="create">{{node.host|capitalize}}</li>
  8. </ol>
  9. <h1 data-ng-show="create">{{:: 'add-node' | translate}}</h1>
  10. <h1 data-ng-hide="create">
  11. {{node.host|capitalize}}
  12. <i id="removeClient" class="pficon pficon-delete clickable" data-ng-show="client.access.configure" data-ng-click="unregisterNode()"></i>
  13. </h1>
  14. <form class="form-horizontal" name="clusteringForm" novalidate kc-read-only="!client.access.configure" data-ng-show="create || registered">
  15. <div class="form-group">
  16. <label class="col-md-2 control-label" for="host">{{:: 'host' | translate}}</label>
  17. <div class="col-sm-6">
  18. <input kc-no-reserved-chars ng-disabled="!create" class="form-control" type="text" id="host" name="host" data-ng-model="node.host" required>
  19. </div>
  20. </div>
  21. <div ng-hide="create" class="form-group">
  22. <label class="col-md-2 control-label" for="lastRegistration">{{:: 'last-registration' | translate}}</label>
  23. <div class="col-sm-6">
  24. {{node.lastRegistration}}
  25. </div>
  26. </div>
  27. <div class="form-group">
  28. <div class="col-md-10 col-md-offset-2" data-ng-show="client.access.configure">
  29. <button data-kc-save data-ng-show="create">{{:: 'save' | translate}}</button>
  30. </div>
  31. </div>
  32. </form>
  33. </div>
  34. <kc-menu></kc-menu>