Skip to content

Commit

Permalink
MDL-46406 core_auth: Placed remember username before submit login form
Browse files Browse the repository at this point in the history
  • Loading branch information
marsh0lion authored and Sam Hemelryk committed Jul 20, 2014
1 parent 28d6752 commit 0a841ac
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion login/index_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ <h2><?php print_string("login") ?></h2>
<div class="form-label"><label for="password"><?php print_string("password") ?></label></div>
<div class="form-input">
<input type="password" name="password" id="password" size="15" value="" <?php echo $autocomplete; ?> />
<input type="submit" id="loginbtn" value="<?php print_string("login") ?>" />
</div>
</div>
<div class="clearer"><!-- --></div>
Expand All @@ -54,6 +53,7 @@ <h2><?php print_string("login") ?></h2>
</div>
<?php } ?>
<div class="clearer"><!-- --></div>
<input type="submit" id="loginbtn" value="<?php print_string("login") ?>" />
<div class="forgetpass"><a href="forgot_password.php"><?php print_string("forgotten") ?></a></div>
</form>
<div class="desc">
Expand Down
7 changes: 4 additions & 3 deletions theme/base/style/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -449,9 +449,10 @@ input#id_externalurl {direction:ltr;}
.loginbox .potentialidps .potentialidplist {margin-left:40%;}
.loginbox .potentialidps .potentialidplist div {text-align:left;}
.loginbox .loginform {margin-top:1em;text-align:left;}
.loginbox .loginform .form-label {float:left;text-align:right;width:44%;direction:rtl; white-space:nowrap;}
.dir-rtl .loginbox .loginform .form-label {float:left;text-align:right;width:44%;direction:ltr; white-space:nowrap;}
.loginbox .loginform .form-input {float:right;width:55%;}
.loginbox .loginform .form-label {float:left;text-align:right;width:49%;direction:rtl; white-space:nowrap;}
.dir-rtl .loginbox .loginform .form-label {float:left;text-align:right;width:49%;direction:ltr; white-space:nowrap;}
.loginbox .loginform .form-input {float:right;width:50%;}
.dir-rtl .loginbox .loginform .form-input {margin-right: 1%;}
.loginbox .loginform .form-input input {width: 6em;}
.loginbox .signupform {margin-top:1em;text-align:center;}
.loginbox.twocolumns .loginpanel {float:left;width:49.5%;border-right: 1px solid;margin-bottom:-2000px;padding-bottom:2000px;}
Expand Down
7 changes: 4 additions & 3 deletions theme/bootstrapbase/less/moodle/core.less
Original file line number Diff line number Diff line change
Expand Up @@ -499,20 +499,20 @@ a.skip:active {
.loginbox .loginform .form-label {
float: left;
text-align: right;
width: 44%;
width: 49%;
direction: rtl;
white-space: nowrap;
}
.dir-rtl .loginbox .loginform .form-label {
float: left;
text-align: right;
width: 44%;
width: 49%;
direction: ltr;
white-space: nowrap;
}
.loginbox .loginform .form-input {
float: right;
width: 55%;
width: 50%;
}
.loginbox .loginform .form-input input {
width: 6em;
Expand Down Expand Up @@ -1188,6 +1188,7 @@ body.tag .managelink {
}
.dir-rtl .loginbox .loginform .form-input {
text-align: right;
margin-right: 1%;
}
.dir-rtl .yui3-menu-hidden {
left: 0;
Expand Down
2 changes: 1 addition & 1 deletion theme/bootstrapbase/style/moodle.css

Large diffs are not rendered by default.

0 comments on commit 0a841ac

Please sign in to comment.