<div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
    <ol class="breadcrumb">
        <li><a href="#/realms/{{realm.realm}}/clients">Clients</a></li>
        <li><a href="#/realms/{{realm.realm}}/clients/{{client.id}}">{{client.clientId}}</a></li>
        <li><a href="#/realms/{{realm.realm}}/clients/{{client.id}}/clustering">Cluster Nodes</a></li>
        <li>Add Node</li>
    </ol>

    <form class="form-horizontal" name="clusteringForm" novalidate kc-read-only="!access.manageClients" data-ng-show="create || registered">
        <fieldset >
            <legend><span class="text">Configuration of cluster node<i class="pficon pficon-delete clickable" data-ng-show="access.manageRealm" 
    			data-ng-hide="create" data-ng-click="unregisterNode()"></i></span></legend>
            <div class="form-group">
                <label class="col-md-2 control-label" for="host">Host</label>
                <div class="col-sm-6">
                    <input ng-disabled="!create" class="form-control" type="text" id="host" name="host" data-ng-model="node.host">
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-2 control-label" for="lastRegistration">Last Registration</label>
                <div class="col-sm-6">
                    <input ng-disabled="true" class="form-control" type="text" id="lastRegistration" name="lastRegistration" data-ng-model="node.lastRegistration">
                </div>
            </div>
        </fieldset>
        <div class="form-group">
            <div class="col-md-10 col-md-offset-2" data-ng-show="access.manageRealm">
                <button data-kc-save data-ng-show="create">Save</button>
            </div>
        </div>
    </form>
</div>

<kc-menu></kc-menu>