mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 17:43:46 +01:00
35 lines
834 B
HTML
35 lines
834 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{{ title }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<form method="get" action="" class="plsearchform">
|
|
{% if type %}<input type="hidden" name="type" value="{{ type }}" />{% endif %}
|
|
<input type="text" name="q" value="{{ query or ''}}" />
|
|
<input type="submit" value="Search" />
|
|
|
|
<p>
|
|
Found {{ packages | count }} packages.
|
|
</p>
|
|
</form>
|
|
|
|
<!--<aside class="box box_grey outsidecontainer">
|
|
<h3>Tags</h3>
|
|
|
|
<ul class="flatlist">
|
|
{% for t in tags %}
|
|
<li><a href="{{ url_for('packages_page', q=(query or '')+' tag:'+t.name, type=type) }}">
|
|
{{ t.title }}
|
|
</a></li>
|
|
{% else %}
|
|
<li><i>No tags available</i></ul>
|
|
{% endfor %}
|
|
</ul>
|
|
</aside> -->
|
|
|
|
{% from "macros/packagegridtile.html" import render_pkggrid %}
|
|
{{ render_pkggrid(packages) }}
|
|
{% endblock %}
|