Skip to content
Snippets Groups Projects
Commit 4e5eb4c2 authored by Jan-Christoph Borchardt's avatar Jan-Christoph Borchardt
Browse files

autofocus on the username field for setup & login

parent 5165e5df
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@
<fieldset>
<legend><?php echo $l->t( 'Create an <strong>admin account</strong>.' ); ?></legend>
<p><label for="adminlogin"><?php echo $l->t( 'Username' ); ?></label><input type="text" name="adminlogin" id="adminlogin" value="<?php print OC_HELPER::init_var('adminlogin'); ?>" /></p>
<p><label for="adminlogin"><?php echo $l->t( 'Username' ); ?></label><input type="text" name="adminlogin" id="adminlogin" value="<?php print OC_HELPER::init_var('adminlogin'); ?>" autofocus /></p>
<p><label for="adminpass"><?php echo $l->t( 'Password' ); ?></label><input type="password" name="adminpass" id="adminpass" value="<?php print OC_HELPER::init_var('adminpass'); ?>" /></p>
</fieldset>
......
......@@ -5,7 +5,7 @@
<?php if($_['error']): ?>
<?php echo $l->t( 'Login failed!' ); ?>
<?php endif; ?>
<input type="text" name="user" id="user" value="" />
<input type="text" name="user" id="user" value="" autofocus />
<input type="password" name="password" id="password" value="" />
<input type="submit" value="Log in" />
</fieldset>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment