<div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
    <h1>Settings</h1>

    <kc-tabs-realm></kc-tabs-realm>

    <form class="form-horizontal" name="realmForm" novalidate kc-read-only="!access.manageRealm">
        <fieldset class="border-top">
            <div class="form-group">
                <label class="col-md-2 control-label" for="publicKey">Public key</label>

                <div class="col-md-10">
                    <textarea type="text" id="publicKey" name="publicKey" class="form-control" rows="4"
                              kc-select-action="click" readonly>{{realm.publicKey}}</textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-2 control-label" for="certificate">Certificate</label>

                <div class="col-md-10">
                    <textarea type="text" id="certificate" name="certificate" class="form-control" rows="8" kc-select-action="click" readonly>{{realm.certificate}}</textarea>
                </div>
            </div>
        </fieldset>

        <div class="form-group" data-ng-show="access.manageRealm">
            <div class="col-md-10 col-md-offset-2">
                <button class="btn btn-danger" type="submit" data-ng-click="generate()">Generate new keys</button>
            </div>
        </div>
    </form>
</div>


<kc-menu></kc-menu>