zulip/templates/analytics/realm_summary_table.html

61 lines
1.3 KiB
HTML

<h2 style="text-align: center;">{{ num_active_sites }} active sites</h2>
<table class="table summary-table sortable table-striped table-bordered">
<thead class="activity_head">
<tr>
<th>Domain</th>
<th>Active users</th>
<th>At-risk users</th>
<th>Total users</th>
<th>Bots</th>
<th>Hours per user</th>
<th>Hours</th>
</tr>
</thead>
<tbody>
{% for row in rows %}
<tr>
{# Domain #}
<td>
{{ row.domain }}
</td>
{# Active users #}
<td class="number">
{{ row.active_user_count }}
</td>
{# At risk users #}
<td class="number">
{{ row.at_risk_count }}
</td>
{# Total users #}
<td class="number">
{{ row.user_profile_count }}
</td>
{# Bots #}
<td class="number">
{{ row.bot_count }}
</td>
{# Hours per user #}
<td class="number">
{{ row.hours_per_user }}
</td>
{# Hours #}
<td class="number">
{{ row.hours }}
</td>
</tr>
{% endfor %}
</tbody>
</table>