mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
New Theme, Pix-art.
First commit
This commit is contained in:
parent
3ff269c84c
commit
d740e7384a
22 changed files with 1182 additions and 0 deletions
44
searx/templates/pix-art/results.html
Normal file
44
searx/templates/pix-art/results.html
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{% extends "pix-art/base.html" %}
|
||||
{% block title %}{{ q }} - {% endblock %}
|
||||
{% block meta %}{% endblock %}
|
||||
{% block content %}
|
||||
<div class="preferences_container right"><a href="{{ url_for('preferences') }}" id="preferences"><span>preferences</span></a></div>
|
||||
<div class="small search center">
|
||||
{% include 'pix-art/search.html' %}
|
||||
</div>
|
||||
<div id="results">
|
||||
{% for result in results %}
|
||||
{% set index = loop.index %}
|
||||
{% include 'pix-art/result_templates/default.html' %}
|
||||
{% endfor %}
|
||||
|
||||
{% if paging %}
|
||||
<div id="pagination">
|
||||
{% if pageno > 1 %}
|
||||
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}">
|
||||
<div class="{% if rtl %}right{% else %}left{% endif %}">
|
||||
<input type="hidden" name="q" value="{{ q }}" />
|
||||
{% for category in selected_categories %}
|
||||
<input type="hidden" name="category_{{ category }}" value="1"/>
|
||||
{% endfor %}
|
||||
<input type="hidden" name="pageno" value="{{ pageno-1 }}" />
|
||||
<input type="submit" value="<< {{ _('previous page') }}" />
|
||||
</div>
|
||||
</form>
|
||||
{% endif %}
|
||||
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}">
|
||||
<div class="{% if rtl %}left{% else %}right{% endif %}">
|
||||
{% for category in selected_categories %}
|
||||
<input type="hidden" name="category_{{ category }}" value="1"/>
|
||||
{% endfor %}
|
||||
<input type="hidden" name="q" value="{{ q }}" />
|
||||
<input type="hidden" name="pageno" value="{{ pageno+1 }}" />
|
||||
<input type="submit" value="{{ _('next page') }} >>" />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<br />
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue