remove unused search.html / search.js templates

pull/1184/head
Matt Westcott 2015-04-14 14:39:51 +01:00
rodzic 257848d58a
commit 5d7446ece1
3 zmienionych plików z 0 dodań i 31 usunięć

Wyświetl plik

@ -1,9 +0,0 @@
{% load i18n %}
<form class="search-bar full-width nice-padding" action="{% url 'wagtailadmin_choose_page' %}?{{ querystring }}" method="get">
<ul class="fields">
{% for field in search_form %}
{% include "wagtailadmin/shared/field_as_li.html" with field=field %}
{% endfor %}
<li class="submit"><input type="submit" value="{% trans 'Search' %}" /></li>
</ul>
</form>

Wyświetl plik

@ -1,13 +0,0 @@
{% load i18n %}
{% trans "Choose a page" as choose_str %}
{% include "wagtailadmin/shared/header.html" with title=choose_str %}
<div class="nice-padding">
{% include 'wagtailadmin/chooser/_link_types.html' with current='internal' %}
{% include 'wagtailadmin/chooser/_search_form.html' %}
<div class="page-results">{# content in here will be replaced by live search results #}
{% include 'wagtailadmin/chooser/_search_results.html' %}
</div>
</div>

Wyświetl plik

@ -1,9 +0,0 @@
function(modal) {
$('.link-types a', modal.body).click(function() {
modal.loadUrl(this.href);
return false;
});
{% include 'wagtailadmin/chooser/_search_behaviour.js' %}
ajaxifySearchResults();
}