zulip/templates/analytics/activity.html

50 lines
881 B
HTML
Raw Normal View History

{% extends "zerver/base.html" %}
{# User Activity. #}
{% block title %}
<title>{{ title }}</title>
{% endblock %}
{% block customhead %}
{{ super() }}
2017-05-25 00:23:44 +02:00
{{ render_bundle('activity') }}
2016-07-04 09:33:57 +02:00
{% stylesheet 'activity' %}
{% endblock %}
{% block content %}
{% if not is_home %}
<a class="show-all" href="/activity">Home</a>
<br />
{% endif %}
<h4>{{ title }}</h4>
{% if realm_link %}
<a href="{{ realm_link }}">Graph</a><br />
{% endif %}
<ul class="nav nav-tabs">
{% for name, activity in data %}
<li {% if loop.first %} class="active" {% endif %}>
<a href="#{{ name|slugify }}" data-toggle="tab">{{ name }}</a>
</li>
{% endfor %}
</ul>
<div class="tab-content">
{% for name, activity in data %}
<div class="tab-pane {% if loop.first %} active {% endif %}" id="{{ name|slugify }}">
{{ activity|safe }}
</div>
{% endfor %}
</div>
{% endblock %}