mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-08 02:18:34 -04:00
44 lines
1.5 KiB
HTML
44 lines
1.5 KiB
HTML
|
|
|
|
{% extends "withnav_template.html" %}
|
|
|
|
{% from "components/table.html" import list_table, field, text_field, link_field, right_aligned_field_heading, hidden_field_heading, row_heading, notification_status_field, notification_carrier_field, notification_carrier_message_field %}
|
|
{% from "components/ajax-block.html" import ajax_block %}
|
|
|
|
{% block service_page_title %}
|
|
Dashboard
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
<script type="text/javascript" src="{{ asset_url('js/setTimezone.js') }}"></script>
|
|
|
|
|
|
<div class="dashboard margin-top-0 margin-bottom-2">
|
|
|
|
<h1 class="usa-sr-only">Dashboard</h1>
|
|
{% if current_user.has_permissions('manage_templates') and not current_service.all_templates %}
|
|
{% include 'views/dashboard/write-first-messages.html' %}
|
|
{% endif %}
|
|
|
|
{{ ajax_block(partials, updates_url, 'upcoming') }}
|
|
|
|
<h2 class="font-body-2xl line-height-sans-2 margin-top-0">{{ current_service.name }} Dashboard</h2>
|
|
|
|
{{ ajax_block(partials, updates_url, 'inbox') }}
|
|
|
|
<div id="totalMessageChartContainer" data-sms-sent="{{ sms_sent }}" data-sms-allowance-remaining="{{ sms_allowance_remaining }}">
|
|
<h2 id="chartTitle">Total messages</h2>
|
|
<svg id="totalMessageChart"></svg>
|
|
<div id="message"></div>
|
|
</div>
|
|
<div id="totalMessageTable" class="margin-0"></div>
|
|
|
|
{% include 'views/dashboard/activity-table.html' %}
|
|
|
|
{% if current_user.has_permissions('manage_service') %}{% endif %}
|
|
|
|
{{ ajax_block(partials, updates_url, 'template-statistics') }}
|
|
</div>
|
|
|
|
{% endblock %}
|