2017-02-07 19:42:53 +01:00
{% extends "zerver/base.html" %}
2018-04-15 18:43:48 +02:00
{% block page_params %}
< script type = "text/javascript" >
var page_params = {{ page_params|safe }};
< / script >
{% endblock %}
2017-02-07 19:42:53 +01:00
{% block customhead %}
2018-04-29 17:32:48 +02:00
{{ render_bundle('portico') }}
2017-02-07 19:42:53 +01:00
{% endblock %}
{% block content %}
< div class = "app portico-page" >
2017-01-11 21:44:59 +01:00
2018-01-27 18:17:42 +01:00
{{ render_bundle('translations') }}
{{ render_bundle('stats') }}
2017-01-11 21:44:59 +01:00
2018-01-27 18:17:42 +01:00
< div class = "page-content" >
< div id = "id_stats_errors" class = "alert alert-error" > < / div >
< div class = "center-charts" >
2018-05-18 02:11:01 +02:00
< h1 class = "analytics-page-header" > {% trans %}Zulip analytics for {{ target_name }}{% endtrans %}< / h1 >
2017-06-30 21:37:59 +02:00
2018-01-27 18:17:42 +01:00
< div class = "left" >
< div class = "chart-container" >
< h1 > {{ _("Messages sent over time") }}< / h1 >
< div class = "button-container" >
< label > {{ _("Aggregation") }}< / label >
< div class = "buttons" >
< button class = "button" type = "button" id = 'daily_button' > {{ _("Daily") }} < / button >
< button class = "button" type = "button" id = 'weekly_button' > {{ _("Weekly") }} < / button >
< button class = "button" type = "button" id = 'cumulative_button' > {{ _("Cumulative") }} < / button >
< / div >
< / div >
< div id = "id_messages_sent_over_time" >
< div class = "spinner" > < / div >
< / div >
< div id = "hoverinfo" >
< span id = "hover_date" > < / span >
< span id = "hover_me" > {{ _("Me") }}:< / span >
< span id = "hover_me_value" > < / span >
< b id = "hover_human" > {{ _("Humans") }}:< / b >
< span id = "hover_human_value" > < / span >
< b id = "hover_bot" > {{ _("Bots") }}:< / b >
< span id = "hover_bot_value" > < / span >
< / div >
< / div >
2017-06-30 21:37:59 +02:00
2018-01-27 18:17:42 +01:00
< div class = "chart-container pie-chart" >
< div id = "pie_messages_sent_by_client" >
< h1 > {{ _("Messages sent by client") }}< / h1 >
< div id = "id_messages_sent_by_client" class = "number-stat" >
< div class = "spinner" > < / div >
< / div >
< div class = "buttons" >
< button class = "button" type = "button" data-user = "user" > {{ _("Me") }}< / button >
2018-07-14 00:18:20 +02:00
< button class = "button selected" type = "button" data-user = "everyone" > {{ _("Everyone") }}< / button >
2018-01-27 18:17:42 +01:00
< button class = "button" type = "button" data-time = "week" > {{ _("Last week") }}< / button >
< button class = "button selected" type = "button" data-time = "month" > {{ _("Last month") }}< / button >
< button class = "button" type = "button" data-time = "year" > {{ _("Last year") }}< / button >
< button class = "button" type = "button" data-time = "cumulative" > {{ _("All time") }}< / button >
< / div >
< / div >
< / div >
< / div >
2017-06-30 21:37:59 +02:00
2018-01-27 18:17:42 +01:00
< div class = "right" >
< div class = "chart-container pie-chart" >
< div id = "pie_messages_sent_by_type" >
< h1 > {{ _("Messages sent by recipient type") }}< / h1 >
< div id = "id_messages_sent_by_message_type" >
< div class = "spinner" > < / div >
< / div >
< div id = "pie_messages_sent_by_type_total" class = "number-stat" > < / div >
< div class = "buttons" >
< button class = "button" type = "button" data-user = "user" > {{ _("Me") }}< / button >
2018-07-14 00:18:20 +02:00
< button class = "button selected" type = "button" data-user = "everyone" > {{ _("Everyone") }}< / button >
2018-01-27 18:17:42 +01:00
< button class = "button" type = "button" data-time = "week" > {{ _("Last week") }}< / button >
< button class = "button selected" type = "button" data-time = "month" > {{ _("Last month") }}< / button >
< button class = "button" type = "button" data-time = "year" > {{ _("Last year") }}< / button >
< button class = "button" type = "button" data-time = "cumulative" > {{ _("All time") }}< / button >
< / div >
< / div >
< / div >
2017-06-30 21:37:59 +02:00
2018-01-27 18:17:42 +01:00
< div class = "chart-container" >
< h1 > {{ _("Active users") }}< / h1 >
2018-05-19 22:43:02 +02:00
< div class = "button-container" >
< div class = "buttons button-active-users" >
< button class = "button" type = "button" id = "1day_actives_button" > {{ _("Daily actives") }}< / button >
< button class = "button" type = "button" id = "15day_actives_button" > {{ _("15 day actives") }}< / button >
< button class = "button" type = "button" id = "all_time_actives_button" > {{ _("Total users") }}< / button >
< / div >
< / div >
2018-01-27 18:17:42 +01:00
< div id = "id_number_of_users" >
< div class = "spinner" > < / div >
< / div >
< div id = "users_hover_info" class = "number-stat" >
< span id = "users_hover_date" > < / span >
< b id = "users_hover_humans" > {{ _("Users") }}: < / b >
2018-05-26 19:18:53 +02:00
< span id = "users_hover_1day_value" > < / span >
< span id = "users_hover_15day_value" > < / span >
< span id = "users_hover_all_time_value" > < / span >
2018-01-27 18:17:42 +01:00
< / div >
< / div >
< / div >
2017-12-03 12:21:05 +01:00
< / div >
2018-01-27 18:17:42 +01:00
< div class = "last-update" >
{{ _("Last update") }}: < span id = "id_last_full_update" > < / span >
< span data-toggle = "tooltip" title = "{% trans %}A full update of all the graphs happens once a day.<br/>The “Messages Sent Over Time” graph is updated once an hour.{% endtrans %}" >
< span class = "fa fa-info-circle" id = "id_last_update_question_sign" > < / span >
< / span >
< br / >
< span class = "docs_link" > < a href = "/help/analytics" > {{ _("Analytics documentation") }}< / a > < / span >
2017-06-30 21:37:59 +02:00
< / div >
2017-01-11 21:44:59 +01:00
< / div >
2017-02-07 19:42:53 +01:00
< / div >
2017-01-11 21:44:59 +01:00
{% endblock %}