2011-04-15 00:24:45 +02:00
|
|
|
{% extends "euscan/_datatable.html" %}
|
|
|
|
|
2012-05-06 20:27:14 +02:00
|
|
|
{% load url from future %}
|
2012-11-08 18:57:29 +01:00
|
|
|
{% load djeuscan_helpers %}
|
|
|
|
{% load euscan_accounts_helpers %}
|
2011-04-15 00:24:45 +02:00
|
|
|
|
|
|
|
{% block title %}
|
2011-04-15 19:28:37 +02:00
|
|
|
{{ block.super }} - Category: {{ category }}
|
2011-04-15 00:24:45 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
2011-08-25 15:39:54 +02:00
|
|
|
{% block menu_feed %}
|
|
|
|
{{ block.super }}
|
|
|
|
<li>
|
2012-04-04 14:33:40 +02:00
|
|
|
<img src="{{ STATIC_URL }}/img/feed.png" alt="feed" />
|
2012-07-27 12:28:53 +02:00
|
|
|
<a title="{{ category }} Feed" href="{% url "category_feed" category %}">
|
|
|
|
{{ category|truncatechars:15 }}
|
|
|
|
</a>
|
2011-08-25 15:39:54 +02:00
|
|
|
</li>
|
|
|
|
{% endblock %}
|
|
|
|
|
2011-04-15 00:24:45 +02:00
|
|
|
{% block content %}
|
2012-07-10 16:15:06 +02:00
|
|
|
<h2>
|
|
|
|
Category: {{ category }}
|
|
|
|
|
|
|
|
{% if user.is_authenticated %}
|
2012-11-08 18:57:29 +01:00
|
|
|
<span class="pull-right padding-bottom10">
|
|
|
|
{% favourite_buttons "category" category %}
|
2012-07-20 17:20:18 +02:00
|
|
|
</span>
|
2012-07-10 16:15:06 +02:00
|
|
|
{% endif %}
|
|
|
|
</h2>
|
2012-03-05 11:27:53 +01:00
|
|
|
|
2011-04-15 19:28:37 +02:00
|
|
|
{% packages packages %}
|
2011-04-25 22:27:32 +02:00
|
|
|
|
2012-08-15 15:32:16 +02:00
|
|
|
<h3>Statistics</h3>
|
2011-04-25 22:27:32 +02:00
|
|
|
<h4>Current statistics</h4>
|
2012-03-05 11:27:53 +01:00
|
|
|
<p>
|
2012-08-15 15:32:16 +02:00
|
|
|
<img alt="pie versions" src="{% url "chart_category" category 'pie-versions' %}" />
|
|
|
|
<img alt="pie packages" src="{% url "chart_category" category 'pie-packages' %}" />
|
2012-03-05 11:27:53 +01:00
|
|
|
</p>
|
2011-05-03 08:19:01 +02:00
|
|
|
|
|
|
|
<h4>All Time</h4>
|
2012-03-05 11:27:53 +01:00
|
|
|
<p>
|
2012-08-15 15:32:16 +02:00
|
|
|
<img alt="versions weekly" src="{% url "chart_category" category 'versions-weekly' %}" />
|
|
|
|
<img alt="versions monthly" src="{% url "chart_category" category 'versions-monthly' %}" />
|
2012-03-05 11:27:53 +01:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
2012-08-15 15:32:16 +02:00
|
|
|
<img alt="packages weekly" src="{% url "chart_category" category 'packages-weekly' %}" />
|
|
|
|
<img alt="packages monthly" src="{% url "chart_category" category 'packages-monthly' %}" />
|
2012-03-05 11:27:53 +01:00
|
|
|
</p>
|
|
|
|
|
2012-11-08 18:57:29 +01:00
|
|
|
<script src="{{ STATIC_URL }}js/favourite.js" type="text/javascript"></script>
|
2012-03-05 11:27:53 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block menus %}
|
|
|
|
{{ block.super }}
|
2012-07-10 16:15:06 +02:00
|
|
|
<div class="menu rounded notfirst-menu">
|
2012-03-05 11:27:53 +01:00
|
|
|
<dl>
|
|
|
|
<dt>Versions</dt>
|
2012-08-15 15:32:16 +02:00
|
|
|
<dd><img alt="versions" src="{% url "chart_category" category 'versions-monthly-small' %}" /></dd>
|
2012-03-05 11:27:53 +01:00
|
|
|
<dt>Packages</dt>
|
2012-08-15 15:32:16 +02:00
|
|
|
<dd><img alt="packages" src="{% url "chart_category" category 'packages-monthly-small' %}" /></dd>
|
2012-04-28 18:29:21 +02:00
|
|
|
</dl>
|
2012-03-05 11:27:53 +01:00
|
|
|
</div>
|
2011-04-15 00:24:45 +02:00
|
|
|
{% endblock %}
|