summaryrefslogtreecommitdiff
path: root/src/templates/apps/stats/room.html
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2012-10-04 15:39:08 +0200
committerLeif Johansson <leifj@sunet.se>2012-10-04 15:39:08 +0200
commit2bdad0ae7a3a6e4ec5116becd39910388b679ed2 (patch)
tree5afdfba0a93c1af50d53bdc245d57cc4053e109a /src/templates/apps/stats/room.html
parent873e7823970352d591deee5f67f47c5436ee0e84 (diff)
restructure
Diffstat (limited to 'src/templates/apps/stats/room.html')
-rw-r--r--src/templates/apps/stats/room.html31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/templates/apps/stats/room.html b/src/templates/apps/stats/room.html
deleted file mode 100644
index d5e35dd..0000000
--- a/src/templates/apps/stats/room.html
+++ /dev/null
@@ -1,31 +0,0 @@
-{% extends "base.html" %}
-{% load datehumanize %}
-{% block widgets %}
-$.ajax({
- url: '/api/stats/room/{{room.id}}',
- method: 'GET',
- success: function (resp) {
- var graph = $('#graph');
- series = [{label: 'Meeting minutes for {{room.name}}',data: resp['data']}];
- $.plot(graph,series,{
- lines: { show: true },
- points: { show: true },
- xaxis: { mode: "time" }
- });
- $('#minutes').append(resp['minutes']);
- $('#users').append(resp['users']);
- }
-});
-{% endblock %}
-{% block content %}
-<h1>Meeting statistics for {{room.name}}</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 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