fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Facebook-like tags for search.
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
breadcrumbs.html
diff --git
a/wolnelektury/templates/catalogue/breadcrumbs.html
b/wolnelektury/templates/catalogue/breadcrumbs.html
index
000625b
..
2d471b2
100644
(file)
--- a/
wolnelektury/templates/catalogue/breadcrumbs.html
+++ b/
wolnelektury/templates/catalogue/breadcrumbs.html
@@
-1,13
+1,21
@@
{% load i18n %}
{% load catalogue_tags %}
{% load i18n %}
{% load catalogue_tags %}
-<form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form">
- <ol>
+<form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form" style="float:left;">
+ <div style="width: 100%">
+ <ul class="facelist-selections" style="float:left;">
{% for tag in tag_list %}
{% for tag in tag_list %}
- <li class="category"><a href="{% catalogue_url tag %}">{{ tag }}</a> | <a href="{% catalogue_url tag_list -tag %}">x</a></li>
+ <li class="facelist-selection-item">
+ <span style="margin-left: 5px;">
+ <a href="{% catalogue_url tag %}">{{ tag }}</a>
+ <a class="facelist-close" href="{% catalogue_url tag_list -tag %}">x</a>
+ </span>
+ </li>
{% endfor %}
{% if search_form %}
{% endfor %}
{% if search_form %}
- <li>{{ search_form.q }} {{ search_form.tags }}
<input type="submit" value="{% trans "Search" %}"/>
</li>
+ <li>{{ search_form.q }} {{ search_form.tags }}</li>
{% endif %}
{% endif %}
- </ol>
+ </ul>
+ <input type="submit" value="{% trans "Search" %}" style="float: left; {% if tag_list %}margin-top: 10px; height: 32px;{% else %}margin-top: 10px; {% endif %}"/>
+ </div>
<div class="clearboth"></div>
<div class="clearboth"></div>
-</form>
\ No newline at end of file
+</form>