{% extends "base.html" %} {% load datehumanize %} {% block widgets %} $.ajax({ url: '/api/stats/?tags=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 %}
Total minutes: | |
Total rooms: | |
Total unique users: | |
Start time: | |
End time: | |
Look at your own statistics |