MDL-46406 core_auth: Placed remember username before submit login form

This commit is contained in:
Brian Barnes 2014-07-17 10:32:05 +12:00
parent 5fd0df97c5
commit 22f8a34998
4 changed files with 10 additions and 8 deletions

View File

@ -43,7 +43,6 @@ if (empty($CFG->authloginviaemail)) {
<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>
@ -54,6 +53,7 @@ if (empty($CFG->authloginviaemail)) {
</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">

View File

@ -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;}

View File

@ -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;
@ -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;

File diff suppressed because one or more lines are too long