zulip/templates/analytics/ad_hoc_query.html

27 lines
690 B
HTML
Raw Normal View History

<h3>{{ data.title }}</h3>
{% if data.title == "Remote servers" %}
{% include "analytics/remote_activity_key.html" %}
{% endif %}
{{ data.rows|length}} rows
<table class="table sortable table-striped table-bordered analytics-table">
<thead class="activity-head">
<tr>
{% for col in data.cols %}
<th>{{ col }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for row in data.rows %}
<tr {% if row.row_class %}class="{{ row.row_class }}"{% endif %}>
{% for field in row.cells %}
<td sortable>{{ field }}</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>