.lg\:pr-8 { | .lg\:pr-8 { | ||||
padding-right: 2rem; | padding-right: 2rem; | ||||
} | } | ||||
} | |||||
.sr-only{ | |||||
position:absolute; | |||||
left:-10000px; | |||||
top:auto; | |||||
width:1px; | |||||
height:1px; | |||||
overflow:hidden; | |||||
} | } |
</div> --> | </div> --> | ||||
<form action="{{ url_for('search.basic_search') }}" class="hidden lg:block"> | <form action="{{ url_for('search.basic_search') }}" class="hidden lg:block"> | ||||
<label for="siteSearch" class="sr-only">Search</label> | |||||
<input type="text" name="query" class="text-center h-full text-base border-l-2 border-black pl-1" | <input type="text" name="query" class="text-center h-full text-base border-l-2 border-black pl-1" | ||||
placeholder="Search"> | placeholder="Search"> | ||||
<input class="hidden" type="submit" hidden /> | |||||
<input class="hidden" type="submit" value="Enter search" hidden /> | |||||
</form> | </form> | ||||
{% endmacro %} | {% endmacro %} | ||||
{% if view == 'list' %} | {% if view == 'list' %} | ||||
{% for resource in resources %} | |||||
{{ resource_list(resource, loop, false) }} | |||||
{% endfor %} | |||||
{% for resource in resources %} | |||||
{{ resource_list(resource, loop, false) }} | |||||
{% endfor %} | |||||
{% else %} | {% else %} | ||||
{% for resource in resources %} | |||||
{{ resource_with_related(resource, loop, false) }} | |||||
{% endfor %} | |||||
{% for resource in resources %} | |||||
{{ resource_with_related(resource, loop, false) }} | |||||
{% endfor %} | |||||
{% endif %} | {% endif %} | ||||
</div> | </div> |