Page 1 of 1

Autofocus Login field web-login

Posted: August 5th, 2008, 9:17 am
by groentebroer
Hi,

Can you make the "login" field autofocus for the web-login?

I do this myself now everytime there is a new release in:

sabnzbd/utils/multiauth/filter.py

Where I change the body and form lines by:

Code: Select all

    <body OnLoad="document.login.ma_username.focus();">
    <form action="%s" method="POST" name="login">
Or am I able to commit this myself somewhere with CVS of SVN?

Regards,

Gijs

Re: Autofocus Login field web-login

Posted: August 5th, 2008, 10:18 am
by switch
Looks good to me will have to discuss it first within the team before inclusion.

It would also probably make sense to move the html for the login page to a template file like the rest of the web-ui instead of being hard-coded.