From 63b0fc6269b38edf7234b9f151b80d81f614c0a3 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 4 Aug 2015 10:11:24 +0300 Subject: Initial commit First public commit --- servo/templates/stats/newstats.html | 87 +++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 servo/templates/stats/newstats.html (limited to 'servo/templates/stats/newstats.html') diff --git a/servo/templates/stats/newstats.html b/servo/templates/stats/newstats.html new file mode 100644 index 0000000..1900efc --- /dev/null +++ b/servo/templates/stats/newstats.html @@ -0,0 +1,87 @@ +{% extends "default.html" %} +{% load i18n %} + +{% block content %} + + + +
+
+ {% block filter_block %} +
+ {% for field in form %} +
+ +
{{ field }}
+
+ {% endfor %} +
+ +
+ +
+
+
+ {% endblock filter_block %} +
+
+
+
+ {% block stats %} + + + + + + + + + + + + + {% for r in results %} + + + + + + + + + {% endfor %} + + + + + + + + + + + {% if totals.turnaround.nonzero %} + + + + + {% endif %} + +
{% trans "Technician" %}{% trans "Cases Created" %}{% trans "Cases Assigned" %}{% trans "Repairs Created" %}{% trans "Cases Dispatched" %}
{{ r.name }}{{ r.created }}{{ r.assigned }}{{ r.repairs }}{{ r.dispatched }}
{% trans "Total" %}{{ totals.created }}{{ totals.assigned }}{{ totals.repairs }}{{ totals.dispatched }}{{ totals.diff }}
{% trans "Average turnaround time" %}{{ totals.turnaround.days }} {% trans "days" %}, {{ totals.turnaround.hours }} {% trans "hours" %}
+ {% endblock stats %} +
+
+{% endblock content %} + +{% block crumbs %} +
  • {% trans "Statistics" %}
  • +{% endblock crumbs %} -- cgit v1.2.3