diff options
Diffstat (limited to 'src/templates/apps/stats/domain.html')
-rw-r--r-- | src/templates/apps/stats/domain.html | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/templates/apps/stats/domain.html b/src/templates/apps/stats/domain.html deleted file mode 100644 index f7d9ad3..0000000 --- a/src/templates/apps/stats/domain.html +++ /dev/null @@ -1,33 +0,0 @@ -{% extends "base.html" %} -{% load datehumanize %} -{% block widgets %} -$.ajax({ - url: '/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 %} -<h1>Meeting statistics for {{domain}}</h1> -<div id="graph" style="width:600px;height:300px; display: block; float: left; margin-right: 30px;"></div> -<div> -<h2>Summary</h2> -<table> - <tr><td><b>Total minutes:</b></td><td id="minutes"></td></tr> - <tr><td><b>Total rooms:</b></td><td id="rooms"></td></tr> - <tr><td><b>Total unique users:</b></td><td id="users"></td></tr> - <tr><td colspan="2" style="padding-top: 10px;"><a href="/stats">Look at your own statistics</a></td></tr> -</table> -</div> -{% endblock %}
\ No newline at end of file |