diff options
author | Guilherme Salgado <guilherme.salgado@linaro.org> | 2011-06-08 10:56:28 -0300 |
---|---|---|
committer | Guilherme Salgado <guilherme.salgado@linaro.org> | 2011-06-08 10:56:28 -0300 |
commit | 71de25b12fef86672cbdb613fc22cf78398e4135 (patch) | |
tree | cddb98995e2942bbd4c7bb5f90ee72af0a876d4d /templates | |
parent | 372e4d4f73846074caa471385ebf5da80c23a388 (diff) |
Some infrastructure for per-project metrics/reports
Diffstat (limited to 'templates')
-rw-r--r-- | templates/patchmetrics/frontpage.html | 13 | ||||
-rw-r--r-- | templates/patchwork/project.html | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/templates/patchmetrics/frontpage.html b/templates/patchmetrics/frontpage.html index f030ce0..1cb36b6 100644 --- a/templates/patchmetrics/frontpage.html +++ b/templates/patchmetrics/frontpage.html @@ -37,4 +37,17 @@ older than 30 days.</p> </div> <p> </p> +<div class="twocol"> + <div style="line-height: 2"> + <h3>Stats per project</h3> + {% for p in projects %} + <a href="{% url patchwork.views.project.project project_id=p.linkname %}" + >{{p.name}}</a> + {% if not forloop.last %} | {% endif %} + {% endfor %} + </div> + + +</div> + {% endblock %} diff --git a/templates/patchwork/project.html b/templates/patchwork/project.html index 637c17a..92b4729 100644 --- a/templates/patchwork/project.html +++ b/templates/patchwork/project.html @@ -1,5 +1,14 @@ {% extends "base.html" %} +{% block headers %} + <script language="JavaScript" type="text/javascript" + src="/js/jquery-1.3.min.js"> + </script> + <script language="JavaScript" type="text/javascript" + src="/js/jquery.gchart.min.js"> + </script> +{% endblock %} + {% block title %}{{ project.name }}{% endblock %} {% block heading %}{{ project.name }}{% endblock %} @@ -44,6 +53,10 @@ </tr> </table> +<p> </p> +{{patches_per_month_chart|safe}} +<p> </p> + {% if settings.ENABLE_XMLRPC %} <p>Sample <a href="{% url patchwork.views.help "pwclient/" %}">patchwork client</a> configuration for this project: <a |