2018-03-18 18:43:30 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
Dashboard
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2018-03-21 21:10:11 +01:00
|
|
|
|
|
|
|
<form method="get" action="/packages/">
|
|
|
|
<input type="text" name="q" value="{{ query or ''}}" />
|
|
|
|
<input type="submit" value="Search" />
|
|
|
|
</form>
|
|
|
|
|
2018-03-18 18:43:30 +01:00
|
|
|
<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 %}
|