2013-09-26 21:29:29 +02:00
|
|
|
<h2 style="text-align: center;">{{ num_active_sites }} active sites</h2>
|
2013-09-26 20:46:35 +02:00
|
|
|
|
2013-09-26 21:29:29 +02:00
|
|
|
<table class="table summary-table sortable table-striped table-bordered">
|
2013-09-26 16:46:30 +02:00
|
|
|
|
|
|
|
<thead class="activity_head">
|
|
|
|
<tr>
|
|
|
|
<th>Domain</th>
|
2013-09-26 22:18:16 +02:00
|
|
|
<th>Active users</th>
|
2013-11-14 19:50:32 +01:00
|
|
|
<th>At-risk users</th>
|
2013-09-26 22:18:16 +02:00
|
|
|
<th>Total users</th>
|
2013-10-11 21:32:30 +02:00
|
|
|
<th>Bots</th>
|
2013-10-11 21:44:42 +02:00
|
|
|
<th>Hours per user</th>
|
2013-10-11 21:22:16 +02:00
|
|
|
<th>Hours</th>
|
2013-12-18 22:50:47 +01:00
|
|
|
<th></th>
|
2013-12-18 22:26:32 +01:00
|
|
|
<th colspan=8>Messages sent</th>
|
2013-09-26 16:46:30 +02:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
{% for row in rows %}
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
{# Domain #}
|
|
|
|
<td>
|
2013-11-14 18:41:23 +01:00
|
|
|
{{ row.domain }}
|
2013-09-26 16:46:30 +02:00
|
|
|
</td>
|
|
|
|
|
2013-09-26 22:18:16 +02:00
|
|
|
{# Active users #}
|
2013-09-26 16:46:30 +02:00
|
|
|
<td class="number">
|
|
|
|
{{ row.active_user_count }}
|
|
|
|
</td>
|
|
|
|
|
2013-11-14 19:50:32 +01:00
|
|
|
{# At risk users #}
|
|
|
|
<td class="number">
|
|
|
|
{{ row.at_risk_count }}
|
|
|
|
</td>
|
|
|
|
|
2013-09-26 22:18:16 +02:00
|
|
|
{# Total users #}
|
2013-09-26 21:39:46 +02:00
|
|
|
<td class="number">
|
|
|
|
{{ row.user_profile_count }}
|
|
|
|
</td>
|
|
|
|
|
2013-10-11 21:32:30 +02:00
|
|
|
{# Bots #}
|
|
|
|
<td class="number">
|
|
|
|
{{ row.bot_count }}
|
|
|
|
</td>
|
|
|
|
|
2013-10-11 21:44:42 +02:00
|
|
|
{# Hours per user #}
|
|
|
|
<td class="number">
|
|
|
|
{{ row.hours_per_user }}
|
|
|
|
</td>
|
|
|
|
|
2013-10-11 21:22:16 +02:00
|
|
|
{# Hours #}
|
2013-10-03 05:18:23 +02:00
|
|
|
<td class="number">
|
2013-10-11 21:22:16 +02:00
|
|
|
{{ row.hours }}
|
2013-10-03 05:18:23 +02:00
|
|
|
</td>
|
|
|
|
|
2013-12-18 22:50:47 +01:00
|
|
|
<td> </td>
|
|
|
|
|
2013-12-18 21:13:47 +01:00
|
|
|
{# Messages sent #}
|
2013-12-18 22:26:32 +01:00
|
|
|
{% if row.history %}
|
|
|
|
{{ row.history|safe }}
|
|
|
|
{% else %}
|
|
|
|
<td colspan=8></td>
|
|
|
|
{% endif %}
|
2013-09-26 16:46:30 +02:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
</table>
|