Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Autofocus property was added to the search input. #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion static/html/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div id="global-header">
<h1 class="logo"><a href="/">Quickdocs</a></h1>
<form class="search-form" method="get" action="/search">
<input type="text" name="q" value="" placeholder="Search for projects" />
<input type="text" name="q" value="" placeholder="Search for projects" autofocus/>
<input type="submit" class="lsf" value="search" />
</form>
</div>
Expand Down
2 changes: 1 addition & 1 deletion static/html/50x.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div id="global-header">
<h1 class="logo"><a href="/">Quickdocs</a></h1>
<form class="search-form" method="get" action="/search">
<input type="text" name="q" value="" placeholder="Search for projects" />
<input type="text" name="q" value="" placeholder="Search for projects" autofocus/>
<input type="submit" class="lsf" value="search" />
</form>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/_errors/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div id="global-header">
<h1 class="logo"><a href="/">Quickdocs</a></h1>
<form class="search-form" method="get" action="/search">
<input type="text" name="q" value="" placeholder="Search for projects" />
<input type="text" name="q" value="" placeholder="Search for projects" autofocus/>
<input type="submit" class="lsf" value="search" />
</form>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div id="global-header">
<h1 class="logo"><a href="/">Quickdocs</a></h1>
<form class="search-form" method="get" action="/search">
<input type="text" name="q" value="{{ query }}" placeholder="Search for projects" />
<input type="text" name="q" value="{{ query }}" placeholder="Search for projects" autofocus/>
<input type="submit" class="lsf" value="search" />
</form>
</div>