Autofocus Login field web-login

Want something added? Ask for it here.
Post Reply
groentebroer
Newbie
Newbie
Posts: 40
Joined: July 1st, 2008, 8:47 am

Autofocus Login field web-login

Post 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
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Autofocus Login field web-login

Post 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.
Post Reply