mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 14:32:25 +01:00
42 lines
715 B
HTML
42 lines
715 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
Dashboard
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<form method="get" action="/packages/">
|
|
<input type="text" name="q" value="{{ query or ''}}" />
|
|
<input type="submit" value="Search" />
|
|
</form>
|
|
|
|
<div class="box box_grey">
|
|
<h2>{{ self.title() }}</h2>
|
|
|
|
{% if current_user.is_authenticated %}
|
|
<p>
|
|
Hello user!
|
|
</p>
|
|
{% else %}
|
|
<p>
|
|
Please login!
|
|
</p>
|
|
{% endif %}
|
|
</div>
|
|
|
|
<div class="2box">
|
|
<div class="box box_grey">
|
|
<h2>Top Mods</h2>
|
|
</div>
|
|
<div class="box box_grey">
|
|
<h2>Statistics</h2>
|
|
<ul>
|
|
<li>Total mods: 543</li>
|
|
<li>Missing mods: 1020</li>
|
|
<li>Downloads/day: 200</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|