diff options
| author | oweissbarth | 2014-06-10 20:54:32 +0200 |
|---|---|---|
| committer | oweissbarth | 2014-06-10 20:54:32 +0200 |
| commit | 13a45394f2011570a2ff01309b386045e374ef23 (patch) | |
| tree | bb23398e9da4f43815a7d0ef0d5c5910068b4f30 /www | |
| parent | a0dbcc1c9c510ce13168e16cea08b1bcfea6f2bd (diff) | |
| download | files.iamfabulous.de-13a45394f2011570a2ff01309b386045e374ef23.tar.gz | |
Added autofocus on login and register
Diffstat (limited to 'www')
| -rwxr-xr-x | www/login.php | 2 | ||||
| -rwxr-xr-x | www/register.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/www/login.php b/www/login.php index 68cfadb..099a3b6 100755 --- a/www/login.php +++ b/www/login.php @@ -46,7 +46,7 @@ function print_login($case){ .$message. '</div> <form id="login-form" method="post" action="/login"> - <input type="text" placeholder="username" name="username" id="username-input" class="login-input" value="'. $username .'" required> + <input type="text" placeholder="username" name="username" id="username-input" class="login-input" value="'. $username .'" autofocus required> <input type="password" placeholder="password" name="password" id="password-input" class="login-input" required> <input type="submit" name="login" id="button-input" class="login-input" value="login"> <a href="/password_recover" id="recover-password-link">recover password</a> diff --git a/www/register.php b/www/register.php index aa5dffe..7eab84b 100755 --- a/www/register.php +++ b/www/register.php @@ -69,7 +69,7 @@ function print_register($case){ .$message. '</div> <form id="register-form" action="/register" method="post"> - <input type="text" placeholder="username" name="username" id="username-input" class="register-input" value="'.$username.'" required> + <input type="text" placeholder="username" name="username" id="username-input" class="register-input" value="'.$username.'" autofocus required> <input type="password" placeholder="password" name="pswd" id="password-input" class="register-input" required> <input type="password" placeholder="repeat password" name="2ndpswd" id="password-repeat-input" class="register-input" required> |
