{% extends "base.html" %} {% load datehumanize %} {% block widgets %} $.ajax({ url: '/api/stats/domain/{{domain}}', method: 'GET', beforeSend: function() { $('#graph').spin("flotload"); }, success: function (resp) { var graph = $('#graph'); graph.spin(false); 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']); $('#begin').append(resp['begin'])); $('#end').append(resp['end'])); } }); {% endblock %} {% block content %}

Meeting statistics for {{domain}}

Summary

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