summaryrefslogtreecommitdiff
path: root/src/templates/apps/stats/user.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/apps/stats/user.html')
-rw-r--r--src/templates/apps/stats/user.html31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/templates/apps/stats/user.html b/src/templates/apps/stats/user.html
deleted file mode 100644
index 8b08c6c..0000000
--- a/src/templates/apps/stats/user.html
+++ /dev/null
@@ -1,31 +0,0 @@
-{% extends "base.html" %}
-{% load datehumanize %}
-{% block widgets %}
-$.ajax({
- url: '/api/stats/user/{{username}}',
- method: 'GET',
- success: function (resp) {
- var graph = $('#graph');
- series = [{label: 'Meeting minutes for {{username}}',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 %}
-<h1>Meeting statistics for {{username}}</h1>
-<div id="graph" style="width:600px;height:300px; display: block; float: left; margin-right: 20px;"></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 colspan="2" style="padding-top: 10px;"><a href="/stats/domain/{{domain}}">Look at statistics for {{domain}}</a></td></tr>
-</table>
-</div>
-{% endblock %} \ No newline at end of file