Style changes
This commit is contained in:
parent
ba3ed04b44
commit
d53677ea66
25 changed files with 389 additions and 371 deletions
|
|
@ -5,30 +5,32 @@
|
|||
{% block content %}
|
||||
<h1>Search</h1>
|
||||
|
||||
<form method="POST">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
||||
<div class="search-wrapper">
|
||||
<label for="q">Search for: </label>
|
||||
<input type="search" name="q" value="{{ q }}" class="search-input">
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" name="include-tags" value="1" {% if pl_include_tags %}checked{% endif %}>
|
||||
<label for="include-tags">{{ T('include-tags') }}</label>
|
||||
</div>
|
||||
</form>
|
||||
<div class="inner-content">
|
||||
<form method="POST">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
||||
<div class="search-wrapper">
|
||||
<label for="q">Search for: </label>
|
||||
<input type="search" name="q" value="{{ q }}" class="search-input">
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" name="include-tags" value="1" {% if pl_include_tags %}checked{% endif %}>
|
||||
<label for="include-tags">{{ T('include-tags') }}</label>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
{% if results %}
|
||||
<h2>Search results for <em>{{ q }}</em></h2>
|
||||
{% if results %}
|
||||
<h2>Search results for <em>{{ q }}</em></h2>
|
||||
|
||||
<ul class="nl-list">
|
||||
{% for n in results %}
|
||||
<li>{% include "includes/nl_item.jinja2" %}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% elif q %}
|
||||
<h2>{{ T('search-no-results') }} <em>{{ q }}</em></h2>
|
||||
{% else %}
|
||||
<p>Please note that search queries do not search for page text.</p>
|
||||
{% endif %}
|
||||
<ul class="nl-list">
|
||||
{% for n in results %}
|
||||
<li>{% include "includes/nl_item.jinja2" %}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% elif q %}
|
||||
<h2>{{ T('search-no-results') }} <em>{{ q }}</em></h2>
|
||||
{% else %}
|
||||
<p>Please note that search queries do not search for page text.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue