<div id="page-header">

  <a class="caption" href="/">Hackage :: [Package]</a>

<ul class="links" id="page-menu">

    <li>
      <form action="/packages/search" method="get" class="search">
        <button type="submit">Search&nbsp;</button>
        <input type="text" name="terms" />
      </form>
    </li>

    <li><a href="/packages/browse">Browse</a></li>

    <li><a href="/packages/recent">What's new</a></li>

    <li><a href="/upload">Upload</a></li>

    <li><a href="/accounts">User accounts</a></li>

</ul>

</div>

<div id="page-header">

  <a class="caption" href="/">Hackage :: [Package]</a>

<ul class="links" id="page-menu">

    <li>
      <form action="/packages/search" method="get" class="search">
        <button type="submit">Search&nbsp;</button>
        <input type="text" name="terms" autofocus />
      </form>
    </li>

    <li><a href="/packages/browse">Browse</a></li>

    <li><a href="/packages/recent">What's new</a></li>

    <li><a href="/upload">Upload</a></li>

    <li><a href="/accounts">User accounts</a></li>

</ul>

</div>

Add 'autofocus' to Hackage's home page 'Search' field
Add 'autofocus' to Hackage's home page 'Search' field

This allows users to be able to directly search for the library
they wish when coming on the page, instead of having to click on
the Search field.

edsko/hackage-server,edsko/hackage-server