mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 09:33:44 +01:00
35 lines
804 B
HTML
35 lines
804 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
Dashboard
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<header>
|
|
<h1>Content DB</h1>
|
|
|
|
<p>
|
|
Minetest's official content repository.
|
|
Browse {{ packages | length }} packages,
|
|
all available under a free and open source
|
|
license.
|
|
</p>
|
|
|
|
<form method="get" action="/packages/">
|
|
<input type="text" name="q" value="{{ query or ''}}" />
|
|
<input type="submit" value="Search" />
|
|
</form>
|
|
</header>
|
|
|
|
<ul class="packagegrid">
|
|
{% for p in packages %}
|
|
<li><a href="{{ p.getDetailsURL() }}"
|
|
style="background-image: url({{ p.getMainScreenshotURL() or '/static/placeholder.png' }});">
|
|
<span>{{ p.title }} by {{ p.author.display_name }}</span>
|
|
</a></li>
|
|
{% else %}
|
|
<li><i>No packages available</i></ul>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %}
|