{% extends "base.html" %} {% load datehumanize %} {% load prefix %} {% block widgets %} $.ajax({ url: '{% prefix %}/api/stats/user/{{user.username}}', method: 'GET', success: function (resp) { var graph = $('#graph'); series = [{label: 'Meeting minutes for {{user}}',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 %}
Total minutes: | |
Total rooms: | |
Look at statistics for {{domain}} |