File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 20
20
{% endblock %}
21
21
{% block body %}
22
22
< h1 id ="search-documentation "> {{ _('Search') }}</ h1 >
23
+ {% block scriptwarning %}
23
24
< div id ="fallback " class ="admonition warning ">
24
25
< script > $ ( '#fallback' ) . hide ( ) ; </ script >
25
26
< p >
26
27
{% trans %}Please activate JavaScript to enable the search
27
28
functionality.{% endtrans %}
28
29
</ p >
29
30
</ div >
31
+ {% endblock %}
32
+ {% block searchtext %}
30
33
< p >
31
34
{% trans %}Searching for multiple words only shows matches that contain
32
35
all words.{% endtrans %}
33
36
</ p >
37
+ {% endblock %}
38
+ {% block searchbox %}
34
39
< form action ="" method ="get ">
35
40
< input type ="text " name ="q " aria-labelledby ="search-documentation " value ="" />
36
41
< input type ="submit " value ="{{ _('search') }} " />
37
42
< span id ="search-progress " style ="padding-left: 10px "> </ span >
38
43
</ form >
44
+ {% endblock %}
45
+ {% block searchresults %}
39
46
{% if search_performed %}
40
47
< h2 > {{ _('Search Results') }}</ h2 >
41
48
{% if not search_results %}
@@ -53,4 +60,5 @@ <h2>{{ _('Search Results') }}</h2>
53
60
</ ul >
54
61
{% endif %}
55
62
</ div >
63
+ {% endblock %}
56
64
{% endblock %}
You can’t perform that action at this time.
0 commit comments