KEYCLOAK-975 Client/app secret should be read-only, not disabled
This commit is contained in:
parent
c0a928e6d0
commit
40ec9da797
3 changed files with 10 additions and 5 deletions
|
@ -14,8 +14,7 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-2 control-label" for="secret">Secret</label>
|
<label class="col-sm-2 control-label" for="secret">Secret</label>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<input ng-disabled="true" class="form-control" type="text" id="secret" name="secret" data-ng-model="secret" autofocus
|
<input readonly kc-select-action="click" class="form-control" type="text" id="secret" name="secret" data-ng-model="secret">
|
||||||
required>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<label class="col-sm-2 control-label" for="publicKey">Public key</label>
|
<label class="col-sm-2 control-label" for="publicKey">Public key</label>
|
||||||
|
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<textarea type="text" id="publicKey" name="publicKey" class="form-control" rows="5"
|
<textarea type="text" id="publicKey" name="publicKey" class="form-control" rows="4"
|
||||||
kc-select-action="click" readonly>{{realm.publicKey}}</textarea>
|
kc-select-action="click" readonly>{{realm.publicKey}}</textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -18,8 +18,7 @@
|
||||||
<label class="col-sm-2 control-label" for="certificate">Certificate</label>
|
<label class="col-sm-2 control-label" for="certificate">Certificate</label>
|
||||||
|
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<textarea type="text" id="certificate" name="certificate" class="form-control" rows="5"
|
<textarea type="text" id="certificate" name="certificate" class="form-control" rows="8" kc-select-action="click" readonly>{{realm.certificate}}</textarea>
|
||||||
kc-select-action="click" readonly>{{realm.certificate}}</textarea>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -836,4 +836,11 @@ legend .kc-icon-collapse {
|
||||||
|
|
||||||
table table {
|
table table {
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-control[readonly] {
|
||||||
|
cursor: default;
|
||||||
|
border: none;
|
||||||
|
color: #333;
|
||||||
|
background-color: #fff;
|
||||||
}
|
}
|
Loading…
Reference in a new issue