diff options
| author | Aurélien Bompard <aurelien@bompard.org> | 2013-06-06 16:53:53 +0200 |
|---|---|---|
| committer | Aurélien Bompard <aurelien@bompard.org> | 2013-06-06 16:53:53 +0200 |
| commit | 421bf9d5b3087afb185d776a53bc90f973955df3 (patch) | |
| tree | 9bf12eeb9e1c658b52c7656e7f32c1769b0ba234 /hyperkitty/templates/base.html | |
| parent | 44a3da0ede4a028da4896c6e5f1ff136ac380f76 (diff) | |
| download | hyperkitty-421bf9d5b3087afb185d776a53bc90f973955df3.tar.gz hyperkitty-421bf9d5b3087afb185d776a53bc90f973955df3.tar.xz hyperkitty-421bf9d5b3087afb185d776a53bc90f973955df3.zip | |
Add search
Diffstat (limited to 'hyperkitty/templates/base.html')
| -rw-r--r-- | hyperkitty/templates/base.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html index 76d7d66..8bdb1c5 100644 --- a/hyperkitty/templates/base.html +++ b/hyperkitty/templates/base.html @@ -36,6 +36,19 @@ {% endif %} </ul> + <div id="search-form" class="nav"> + <form name="search" method="get" action="{% url 'search' %}" class="form-search"> + {% if mlist %}<input type="hidden" name="list" value="{{ mlist.name }}" />{% endif %} + <div class="input-append"> + <input name="query" type="text" class="search-query" + placeholder="Search {% if mlist %}this list{% else %}all lists{% endif %}" + {% if query %}value="{{ query }}"{% endif %} + /> + <button type="submit" class="btn">Search</button> + </div> + </form> + </div> + <a class="brand" href="{% url 'root' %}">{{ app_name|title }}</a> |
