2017-02-07 19:42:53 +01:00
{% extends "zerver/base.html" %}
{% block customhead %}
{% stylesheet 'portico' %}
{% endblock %}
{% block content %}
< div class = "app portico-page" >
2017-01-11 21:44:59 +01:00
2017-07-10 12:46:44 +02:00
{{ render_bundle('translations') }}
2017-06-15 23:38:28 +02:00
{{ render_bundle('stats') }}
2017-01-11 21:44:59 +01:00
{% stylesheet 'stats' %}
< div class = "page-content" >
2016-12-20 02:30:08 +01:00
< div id = "id_stats_errors" class = "alert alert-error" > < / div >
2017-06-30 21:37:59 +02:00
< div class = "center-charts" >
2017-07-09 17:14:14 +02:00
< h1 class = "analytics-page-header" > {% trans %}Zulip analytics for {{ realm_name }}{% endtrans %}< / h1 >
2017-06-30 21:37:59 +02:00
< div class = "left" >
< div class = "chart-container" >
2017-07-09 17:14:14 +02:00
< h1 > {{ _("Messages sent over time") }}< / h1 >
2017-06-30 21:37:59 +02:00
< div class = "button-container" >
2017-07-09 17:14:14 +02:00
< label > {{ _("Aggregation") }}< / label >
2017-06-30 21:37:59 +02:00
< div class = "buttons" >
2017-07-09 17:14:14 +02:00
< 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 >
2017-06-30 21:37:59 +02:00
< / div >
2017-01-11 21:44:59 +01:00
< / div >
< div id = "id_messages_sent_over_time" > < / div >
< div id = "hoverinfo" >
< span id = "hover_date" > < / span >
2017-07-09 17:14:14 +02:00
< span id = "hover_me" > {{ _("Me") }}:< / span >
2017-03-21 04:19:52 +01:00
< span id = "hover_me_value" > < / span >
2017-07-09 17:14:14 +02:00
< b id = "hover_human" > {{ _("Humans") }}:< / b >
2017-02-06 09:32:07 +01:00
< span id = "hover_human_value" > < / span >
2017-07-09 17:14:14 +02:00
< b id = "hover_bot" > {{ _("Bots") }}:< / b >
2017-02-06 09:32:07 +01:00
< span id = "hover_bot_value" > < / span >
2017-01-11 21:44:59 +01:00
< / div >
< / div >
2017-06-30 21:37:59 +02:00
< div class = "chart-container pie-chart" >
< div id = "pie_messages_sent_by_client" >
2017-07-09 17:14:14 +02:00
< h1 > {{ _("Messages sent by client") }}< / h1 >
2017-06-30 21:37:59 +02:00
< div id = "id_messages_sent_by_client" class = "number-stat" > < / div >
< div class = "buttons" >
2017-07-09 17:14:14 +02:00
< button class = "button" type = "button" data-user = "user" > {{ _("Me") }}< / button >
< button class = "button selected" type = "button" data-user = "realm" > {{ _("Everyone") }}< / button >
< 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 >
2017-06-30 21:37:59 +02:00
< / div >
< / div >
< / div >
2017-01-11 21:44:59 +01:00
< / div >
2017-06-30 21:37:59 +02:00
< div class = "right" >
< div class = "chart-container pie-chart" >
< div id = "pie_messages_sent_by_type" >
2017-07-09 17:14:14 +02:00
< h1 > {{ _("Messages sent by recipient type") }}< / h1 >
2017-06-30 21:37:59 +02:00
< div id = "id_messages_sent_by_message_type" > < / div >
< div id = "pie_messages_sent_by_type_total" class = "number-stat" > < / div >
< div class = "buttons" >
2017-07-09 17:14:14 +02:00
< button class = "button" type = "button" data-user = "user" > {{ _("Me") }}< / button >
< button class = "button selected" type = "button" data-user = "realm" > {{ _("Everyone") }}< / button >
< 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 >
2017-06-30 21:37:59 +02:00
< / div >
< / div >
< / div >
< div class = "chart-container" >
2017-07-09 17:14:14 +02:00
< h1 > {{ _("Active users") }}< / h1 >
2017-06-30 21:37:59 +02:00
< div id = "id_number_of_users" > < / div >
< div id = "users_hover_info" class = "number-stat" >
< span id = "users_hover_date" > < / span >
2017-07-09 17:14:14 +02:00
< b id = "users_hover_humans" > {{ _("Users") }}: < / b >
2017-06-30 21:37:59 +02:00
< span id = "users_hover_humans_value" > < / span >
< / div >
2017-02-02 01:07:41 +01:00
< / div >
2017-01-11 21:44:59 +01:00
< / div >
< / div >
2017-06-30 21:37:59 +02:00
< div class = "last-update" >
2017-07-09 17:14:14 +02:00
{{ _("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 %}" >
2017-07-25 21:28:19 +02:00
< span class = "fa fa-info-circle" id = "id_last_update_question_sign" > < / span >
2017-06-30 21:37:59 +02:00
< / span >
2017-07-25 21:28:19 +02:00
< br / >
< span class = "docs_link" > < a href = "/help/analytics" > {{ _("Analytics documentation") }}< / a > < / span >
2017-03-07 05:50:26 +01: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 %}