euscanwww: add charts bellow menu on herd/category/maintainer
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
parent
ff33042f36
commit
1d65ee1984
@ -69,29 +69,37 @@ a:hover, a:active
|
|||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu {
|
.menu {
|
||||||
-webkit-border-radius: 10px;
|
-webkit-border-radius: 10px;
|
||||||
-moz-border-radius: 10px;
|
-moz-border-radius: 10px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
border: 1px solid #67539B;
|
border: 1px solid #67539B;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu, #menu_dl {
|
.menu {
|
||||||
width:100%;
|
width:100%;
|
||||||
margin-top: 75px;
|
margin-top: 75px;
|
||||||
background: #8076A1;
|
background: #8076A1;
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu a {
|
.menu a {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu li
|
.menu li
|
||||||
{
|
{
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.menu dl {
|
||||||
|
margin-left: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu dd {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
#menus {
|
#menus {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="menus">
|
<div id="menus">
|
||||||
{% block menus %}
|
{% block menus %}
|
||||||
<div id="menu">
|
<div class="menu">
|
||||||
<ul>
|
<ul>
|
||||||
{% block menu %}
|
{% block menu %}
|
||||||
<li><a href="{% url euscan.views.index %}">Home</a></li>
|
<li><a href="{% url euscan.views.index %}">Home</a></li>
|
||||||
|
@ -16,17 +16,38 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h2>Category: {{ category }}</h2>
|
<h2>Category: {{ category }}</h2>
|
||||||
|
|
||||||
{% packages packages %}
|
{% packages packages %}
|
||||||
|
|
||||||
<h3>Statistics</h2>
|
<h3>Statistics</h2>
|
||||||
<h4>Current statistics</h4>
|
<h4>Current statistics</h4>
|
||||||
|
<p>
|
||||||
<img src="{% url euscan.views.chart_category category 'pie-versions' %}" />
|
<img src="{% url euscan.views.chart_category category 'pie-versions' %}" />
|
||||||
<img src="{% url euscan.views.chart_category category 'pie-packages' %}" />
|
<img src="{% url euscan.views.chart_category category 'pie-packages' %}" />
|
||||||
|
</p>
|
||||||
|
|
||||||
<h4>All Time</h4>
|
<h4>All Time</h4>
|
||||||
|
<p>
|
||||||
<img src="{% url euscan.views.chart_category category 'versions-weekly' %}" />
|
<img src="{% url euscan.views.chart_category category 'versions-weekly' %}" />
|
||||||
<img src="{% url euscan.views.chart_category category 'versions-monthly' %}" />
|
<img src="{% url euscan.views.chart_category category 'versions-monthly' %}" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
<img src="{% url euscan.views.chart_category category 'packages-weekly' %}" />
|
<img src="{% url euscan.views.chart_category category 'packages-weekly' %}" />
|
||||||
<img src="{% url euscan.views.chart_category category 'packages-monthly' %}" />
|
<img src="{% url euscan.views.chart_category category 'packages-monthly' %}" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block menus %}
|
||||||
|
{{ block.super }}
|
||||||
|
<div class="menu">
|
||||||
|
<dl>
|
||||||
|
<dt>Versions</dt>
|
||||||
|
<dd><img src="{% url euscan.views.chart_category category 'versions-monthly-small' %}" /></dd>
|
||||||
|
<dt>Packages</dt>
|
||||||
|
<dd><img src="{% url euscan.views.chart_category category 'packages-monthly-small' %}" /></dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -20,13 +20,32 @@
|
|||||||
|
|
||||||
<h3>Statistics</h2>
|
<h3>Statistics</h2>
|
||||||
<h4>Current statistics</h4>
|
<h4>Current statistics</h4>
|
||||||
|
<p>
|
||||||
<img src="{% url euscan.views.chart_herd herd.herd 'pie-versions' %}" />
|
<img src="{% url euscan.views.chart_herd herd.herd 'pie-versions' %}" />
|
||||||
<img src="{% url euscan.views.chart_herd herd.herd 'pie-packages' %}" />
|
<img src="{% url euscan.views.chart_herd herd.herd 'pie-packages' %}" />
|
||||||
|
</p>
|
||||||
|
|
||||||
<h4>All Time</h4>
|
<h4>All Time</h4>
|
||||||
|
<p>
|
||||||
<img src="{% url euscan.views.chart_herd herd.herd 'versions-weekly' %}" />
|
<img src="{% url euscan.views.chart_herd herd.herd 'versions-weekly' %}" />
|
||||||
<img src="{% url euscan.views.chart_herd herd.herd 'versions-monthly' %}" />
|
<img src="{% url euscan.views.chart_herd herd.herd 'versions-monthly' %}" />
|
||||||
|
<p>
|
||||||
|
</p>
|
||||||
<img src="{% url euscan.views.chart_herd herd.herd 'packages-weekly' %}" />
|
<img src="{% url euscan.views.chart_herd herd.herd 'packages-weekly' %}" />
|
||||||
<img src="{% url euscan.views.chart_herd herd.herd 'packages-monthly' %}" />
|
<img src="{% url euscan.views.chart_herd herd.herd 'packages-monthly' %}" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block menus %}
|
||||||
|
{{ block.super }}
|
||||||
|
<div class="menu">
|
||||||
|
<dl>
|
||||||
|
<dt>Versions</dt>
|
||||||
|
<dd><img src="{% url euscan.views.chart_herd herd.herd 'versions-monthly-small' %}" /></dd>
|
||||||
|
<dt>Packages</dt>
|
||||||
|
<dd><img src="{% url euscan.views.chart_herd herd.herd 'packages-monthly-small' %}" /></dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -20,13 +20,33 @@
|
|||||||
|
|
||||||
<h3>Statistics</h2>
|
<h3>Statistics</h2>
|
||||||
<h4>Current statistics</h4>
|
<h4>Current statistics</h4>
|
||||||
|
<p>
|
||||||
<img src="{% url euscan.views.chart_maintainer maintainer.id 'pie-versions' %}" />
|
<img src="{% url euscan.views.chart_maintainer maintainer.id 'pie-versions' %}" />
|
||||||
<img src="{% url euscan.views.chart_maintainer maintainer.id 'pie-packages' %}" />
|
<img src="{% url euscan.views.chart_maintainer maintainer.id 'pie-packages' %}" />
|
||||||
|
</p>
|
||||||
|
|
||||||
<h4>All Time</h4>
|
<h4>All Time</h4>
|
||||||
|
<p>
|
||||||
<img src="{% url euscan.views.chart_maintainer maintainer.id 'versions-weekly' %}" />
|
<img src="{% url euscan.views.chart_maintainer maintainer.id 'versions-weekly' %}" />
|
||||||
<img src="{% url euscan.views.chart_maintainer maintainer.id 'versions-monthly' %}" />
|
<img src="{% url euscan.views.chart_maintainer maintainer.id 'versions-monthly' %}" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
<img src="{% url euscan.views.chart_maintainer maintainer.id 'packages-weekly' %}" />
|
<img src="{% url euscan.views.chart_maintainer maintainer.id 'packages-weekly' %}" />
|
||||||
<img src="{% url euscan.views.chart_maintainer maintainer.id 'packages-monthly' %}" />
|
<img src="{% url euscan.views.chart_maintainer maintainer.id 'packages-monthly' %}" />
|
||||||
|
</p>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block menus %}
|
||||||
|
{{ block.super }}
|
||||||
|
<div class="menu">
|
||||||
|
<dl>
|
||||||
|
<dt>Versions</dt>
|
||||||
|
<dd><img src="{% url euscan.views.chart_maintainer maintainer.id 'versions-monthly-small' %}" /></dd>
|
||||||
|
<dt>Packages</dt>
|
||||||
|
<dd><img src="{% url euscan.views.chart_maintainer maintainer.id 'packages-monthly-small' %}" /></dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
5A
|
||||||
|
Loading…
Reference in New Issue
Block a user