Autofocus input fields at login and package-search
commitfe46b0151976328bbee0399696c6013d0b7981b6
authorGordian Edenhofer <gordian.edenhofer@gmail.com>
Wed, 27 May 2015 10:17:15 +0000 (27 12:17 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Thu, 11 Jun 2015 22:12:14 +0000 (12 00:12 +0200)
treebf02d8adad89a79b911adea74a0b7a415cc1e466
parent3e75d9bb34d7e1d81911ff54ca30aa496f8523a6
Autofocus input fields at login and package-search

At the login and the package search page, the user is promted to
provide some input. Until now it was neccessary to first click the
field in which the input should be placed.
This can be simplified with HTML5 using the autofocus attribute of
the input element, though not included in XHTML 1.0, the attribute
was at least given a value to comply with the standard.

Signed-off-by: Gordian Edenhofer <gordian.edenhofer@gmail.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
web/html/login.php
web/template/pkg_search_form.php