KEYCLOAK-5930: Submit button on cred screen should start as disabled
This commit is contained in:
parent
cccddebfd0
commit
b8da95e901
1 changed files with 4 additions and 4 deletions
|
@ -35,8 +35,8 @@
|
|||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-10 col-md-offset-2" data-ng-show="passwordAndConfirmPasswordEntered()">
|
||||
<button class="btn btn-danger" type="submit" data-ng-click="resetPassword(true)">{{:: 'reset-password' | translate}}</button>
|
||||
<div class="col-md-10 col-md-offset-2">
|
||||
<button data-ng-disabled="!passwordAndConfirmPasswordEntered()" class="btn btn-default" type="submit" data-ng-click="resetPassword(true)">{{:: 'reset-password' | translate}}</button>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@ -57,7 +57,7 @@
|
|||
<label class="col-md-2 control-label" for="disableCredentialTypes">{{:: 'disable-credential-types' | translate}}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<button type="button" id="disableCredentialTypes" class="btn btn-default" data-ng-click="disableCredentialTypes()">{{:: 'disable' | translate}}</button>
|
||||
<button data-ng-disabled="disableableCredentialTypes.length === 0" type="button" id="disableCredentialTypes" class="btn btn-default" data-ng-click="disableCredentialTypes()">{{:: 'disable' | translate}}</button>
|
||||
</div>
|
||||
<kc-tooltip>{{:: 'credentials.disable.tooltip' | translate}}</kc-tooltip>
|
||||
</div>
|
||||
|
@ -93,7 +93,7 @@
|
|||
<label class="col-md-2 control-label" for="reqActionsEmail">{{:: 'reset-actions-email' | translate}}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<button type="button" id="reqActionsEmail" class="btn btn-default" data-ng-click="sendExecuteActionsEmail()">{{:: 'send-email' | translate}}</button>
|
||||
<button data-ng-disabled="emailActions.length === 0" type="button" id="reqActionsEmail" class="btn btn-default" data-ng-click="sendExecuteActionsEmail()">{{:: 'send-email' | translate}}</button>
|
||||
</div>
|
||||
<kc-tooltip>{{:: 'credentials.reset-actions-email.tooltip' | translate}}</kc-tooltip>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue