Skip to content

Commit 9165fcf

Browse files
committed
JBDS-4066 DevSuite Installer Account step styles are inconsistent
1 parent 7dda63d commit 9165fcf

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

browser/app.css

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ footer {
181181
}
182182

183183
#accountForm {
184-
padding-right: 20%;
184+
padding-right: 15%;
185185
}
186186

187187
#accountForm div {
@@ -193,18 +193,23 @@ footer {
193193
float: right;
194194
}
195195

196+
.login-form-error-container {
197+
float: right;
198+
width: 296px;
199+
}
200+
196201
.login-form-label {
197-
width: 80px;
202+
width: 73px;
198203
vertical-align: middle;
199204
}
200205

201206
.login-form-input {
202207
display: inline;
203-
width: 250px;
208+
width: 220px;
204209
}
205210

206211
.align-to-input {
207-
padding-left: 83px;
212+
padding-left: 50px;
208213
}
209214

210215
.form-buttons {

browser/pages/account/account.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<input type="password" id="password" name="password" class="login-form-input form-control" ng-change="acctCtrl.resetLoginErrors()" ng-model="acctCtrl.password" ng-disabled="acctCtrl.isLoginBtnClicked" required aria-describedby="passwordStatus"/>
2020
<span id="passwordStatus" class="sr-only" ng-show="(accountForm.$submitted || accountForm.password.$touched) && accountForm.password.$invalid">(error)</span>
2121
</div>
22-
<div class="form-group has-error" style="height: 160px;">
22+
<div class="form-group has-error login-form-error-container">
2323
<div id="invalidLoginError" ng-show="acctCtrl.authFailed && !accountForm.username.$error.required && !accountForm.password.$error.required" class="help-block form-group has-error">
2424
<span id="invalidLoginIcon" class="pficon pficon-error-circle-o"></span>
2525
<strong id="invalidLoginMessage">Invalid account information, please try again.</strong>

browser/pages/account/controller.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class AccountController {
2525
}
2626

2727
login() {
28-
this.resetLoginErrors();
2928
let req = {
3029
method: 'GET',
3130
url: 'https://developers.redhat.com/download-manager/rest/tc-accepted?downloadURL=/file/cdk-2.1.0.zip',

0 commit comments

Comments
 (0)