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

Meeting statistics for {{domain}}

Summary

Total minutes:
Total rooms:
Total unique users:
Look at your own statistics
{% endblock %}