Files
notifications-admin/app/templates/views/dashboard/dashboard.html
T

55 lines
1.7 KiB
HTML
Raw Normal View History

2016-03-17 11:45:48 +00:00
{% extends "withnav_template.html" %}
2016-06-28 08:59:08 +01:00
{% from "components/big-number.html" import big_number, big_number_with_status %}
{% from "components/show-more.html" import show_more %}
{% from "components/message-count-label.html" import message_count_label %}
{% from "components/table.html" import list_table, field, right_aligned_field_heading, hidden_field_heading %}
2016-06-28 09:21:46 +01:00
{% from "components/ajax-block.html" import ajax_block %}
2016-06-28 08:59:08 +01:00
2017-02-13 10:45:15 +00:00
{% block service_page_title %}
Dashboard
2016-03-17 11:45:48 +00:00
{% endblock %}
{% block maincolumn_content %}
2016-04-20 15:37:17 +01:00
<div class="dashboard">
<h1 class="visuallyhidden">Dashboard</h1>
{% if current_user.has_permissions('manage_templates') and not current_service.all_templates %}
{% include 'views/dashboard/write-first-messages.html' %}
{% endif %}
2016-03-17 11:45:48 +00:00
{{ ajax_block(partials, updates_url, 'upcoming', interval=5) }}
2016-08-09 10:39:57 +01:00
<h2 class="heading-medium">
In the last 7 days
</h2>
2016-06-28 08:59:08 +01:00
{{ ajax_block(partials, updates_url, 'inbox', interval=5) }}
2017-05-22 17:02:03 +01:00
{{ ajax_block(partials, updates_url, 'totals', interval=5) }}
{{ show_more(
2017-01-30 17:27:09 +00:00
url_for('.monthly', service_id=current_service.id),
2017-03-06 11:27:51 +00:00
'See messages sent per month'
) }}
2016-06-28 08:59:08 +01:00
{% if partials['has_template_statistics'] %}
{{ ajax_block(partials, updates_url, 'template-statistics', interval=5) }}
{{ show_more(
2017-11-24 14:31:41 +00:00
url_for('.template_usage', service_id=current_service.id),
2017-03-06 11:27:51 +00:00
'See templates used by month'
) }}
{% endif %}
{% if partials['has_jobs'] %}
{{ ajax_block(partials, updates_url, 'jobs', interval=5) }}
{{ show_more(
url_for('.view_jobs', service_id=current_service.id),
'See all uploaded files'
) }}
{% endif %}
2016-04-20 15:37:17 +01:00
</div>
2016-03-17 11:45:48 +00:00
{% endblock %}