mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
42 lines
1.1 KiB
HTML
42 lines
1.1 KiB
HTML
<h3>{{ data.title }} {% if data.title_link %}{{ data.title_link }}{% endif %}</h3>
|
|
|
|
{% if data.title == "Remote servers" %}
|
|
{% include "corporate/activity/remote_activity_key.html" %}
|
|
{% endif %}
|
|
|
|
{% if data.header %}
|
|
<div class="activity-header-information">
|
|
{% for entry in data.header %}
|
|
<p class="activity-header-entry"><b>{{ entry.name }}</b>: {{ entry.value }}</p>
|
|
{% endfor %}
|
|
</div>
|
|
{% 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>
|
|
{% if data.totals %}
|
|
<tfoot class="activity-foot">
|
|
{% for total in data.totals %}
|
|
<td>{{ total }}</td>
|
|
{% endfor %}
|
|
</tfoot>
|
|
{% endif %}
|
|
</table>
|