X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2f1c330e555c24deb17b7d6018b59c52dab7aafd..3d4b6a3014e2e6cfc908a2cd3d36a470b23448cd:/wolnelektury/templates/catalogue/breadcrumbs.html diff --git a/wolnelektury/templates/catalogue/breadcrumbs.html b/wolnelektury/templates/catalogue/breadcrumbs.html index 896d9997c..5aafeb974 100644 --- a/wolnelektury/templates/catalogue/breadcrumbs.html +++ b/wolnelektury/templates/catalogue/breadcrumbs.html @@ -1,9 +1,24 @@ +{% load i18n %} {% load catalogue_tags %} -<form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form"> - <ol> +<div id="searchContainer"> + <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form"> + <ul class="facelist-selections" style="float:left;"> {% 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> + {% empty %} + <li class="facelist-selection-item"> + </li> {% endfor %} - <li>{{ search_form.q }} {{ search_form.tags }} <input type="submit" value="Szukaj"/></li> - </ol> -</form> \ No newline at end of file + {% if search_form %} + <li>{{ search_form.q }} {{ search_form.tags }}</li> + {% endif %} + </ul> + <input type="submit" value="{% trans "Search" %}" id="searchSubmit"/> + </form> +</div> +<div class="clearboth"></div>