forked from wiktor/spejstore-new
Search everywhere
This commit is contained in:
parent
5a70e382b8
commit
60601b270e
|
@ -1,16 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<form action="/search">
|
||||
<div class="input-group input-group-lg">
|
||||
<input type="text" class="form-control" name="q" placeholder="search term">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-primary" type="submit"><i class="glyphicon glyphicon-search"></i></button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% include "widgets/bigsearch.html" %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
{% include "widgets/bigsearch.html" %}
|
||||
<br />
|
||||
{% include "widgets/itemlist.html" with list=results show_paths=True show_placeholder=True %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -25,14 +25,14 @@
|
|||
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="/item/">Things</a></li>
|
||||
<li><a href="/item/">All things</a></li>
|
||||
<li><a href="/admin/">Add thing</a></li>
|
||||
<li><a href="https://wiki.hackerspace.pl/members:services:inventory">How to use</a></li>
|
||||
</ul>
|
||||
<form class="navbar-form navbar-right" role="search" action="/search">
|
||||
<div class="form-group">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" placeholder="Search" name="q" autofocus>
|
||||
<input type="text" class="form-control" placeholder="Search Hackerspace" name="q" autofocus>
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-primary" type="submit"><i class="glyphicon glyphicon-search"></i></button>
|
||||
</span>
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<form action="/search">
|
||||
<div class="input-group input-group-lg">
|
||||
<input type="text" class="form-control" name="q" placeholder="Whatcha wanna find today?">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-primary" type="submit"><i class="glyphicon glyphicon-search"></i></button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue