kopia lustrzana https://github.com/wagtail/wagtail
remove unused search.html / search.js templates
rodzic
257848d58a
commit
5d7446ece1
|
@ -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>
|
|
@ -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>
|
|
@ -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();
|
||||
}
|
Ładowanie…
Reference in New Issue