stackalytics/dashboard/templates/module_details.html
Ilya Shakhat 7fcf69efdf Implemented summary report on reviews per engineer
Partially implements blueprint review-stats

Change-Id: I011d81a10ad63746a9246a62379c0f6b4c814812
2013-08-07 20:17:34 +04:00

59 lines
1.4 KiB
HTML

{% extends "layout.html" %}
{% block title %}
{{ module }}
{% endblock %}
{% block scripts %}
<script type="text/javascript">
chartAndTableRenderer("/data/companies", "left_list", "left_chart", "/companies/", {module: "{{ module }}" });
chartAndTableRenderer("/data/engineers", "right_list", "right_chart", "/engineers/", {module: "{{ module }}" });
timelineRenderer({module: "{{ module }}" })
</script>
{% endblock %}
{% block left_frame %}
<h2>Contribution by companies</h2>
<div id="left_chart" style="width: 100%; height: 350px;"></div>
<table id="left_list" class="display">
<thead>
<tr>
<th>#</th>
<th>Company</th>
<th>{{ metric_label }}</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<div class="spacer"></div>
{% endblock %}
{% block right_frame %}
<h2>Contribution by engineers</h2>
<div id="right_chart" style="width: 100%; height: 350px;"></div>
<table id="right_list" class="display">
<thead>
<tr>
<th>#</th>
<th>Engineer</th>
<th>{{ metric_label }}</th>
{% if metric == 'marks' %}
<th>-2|-1|+1|+2 (+/- ratio)</th>
{% endif %}
</tr>
</thead>
<tbody>
</tbody>
</table>
<div class="spacer"></div>
{% endblock %}