forked from wiktor/spejstore-new
Set autofocus on the search box in the header
As a result the big search box is a little bit useless as it is not autofocused anymore.
This commit is contained in:
parent
60ec3238ff
commit
6204259990
|
@ -5,7 +5,7 @@
|
||||||
<div class="col-md-8 col-md-offset-2">
|
<div class="col-md-8 col-md-offset-2">
|
||||||
<form action="/search">
|
<form action="/search">
|
||||||
<div class="input-group input-group-lg">
|
<div class="input-group input-group-lg">
|
||||||
<input type="text" class="form-control" name="q" placeholder="search term" autofocus>
|
<input type="text" class="form-control" name="q" placeholder="search term">
|
||||||
<span class="input-group-btn">
|
<span class="input-group-btn">
|
||||||
<button class="btn btn-primary" type="submit"><i class="glyphicon glyphicon-search"></i></button>
|
<button class="btn btn-primary" type="submit"><i class="glyphicon glyphicon-search"></i></button>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
<form class="navbar-form navbar-right" role="search" action="/search">
|
<form class="navbar-form navbar-right" role="search" action="/search">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input type="text" class="form-control" placeholder="Search" name="q">
|
<input type="text" class="form-control" placeholder="Search" name="q" autofocus>
|
||||||
<span class="input-group-btn">
|
<span class="input-group-btn">
|
||||||
<button class="btn btn-primary" type="submit"><i class="glyphicon glyphicon-search"></i></button>
|
<button class="btn btn-primary" type="submit"><i class="glyphicon glyphicon-search"></i></button>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue