mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 17:43:46 +01:00
23 lines
460 B
HTML
23 lines
460 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{{ title }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<form method="get" action="">
|
|
<input type="text" name="q" value="{{ query or ''}}" />
|
|
<input type="submit" value="Search" />
|
|
</form>
|
|
|
|
<ul>
|
|
{% for p in packages %}
|
|
<li><a href="{{ p.getDetailsURL() }}">
|
|
{{ p.title }} by {{ p.author.display_name }}
|
|
</a></li>
|
|
{% else %}
|
|
<li><i>No packages available</i></ul>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %}
|