{% extends "base.html" %} {% load datehumanize %} {% load prefix %} {% block widgets %} $.ajax({ url: '{% prefix %}/api/stats/user/{{username}}', method: 'GET', success: function (resp) { var graph = $('#graph'); series = [{label: 'Meeting minutes for {{username}}',data: resp['data']}]; $.plot(graph,series,{ lines: { show: true }, points: { show: true }, xaxis: { mode: "time" } }); $('#minutes').append(resp['minutes']); $('#rooms').append(resp['rooms']); } }); {% endblock %} {% block content %}

Meeting statistics for {{username}}

Summary

Total minutes:
Total rooms:
Look at statistics for {{domain}}
{% endblock %}