blob: 05949d6b0ad4fdd37b113c25db0c5b0d66aab5c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
{% extends 'admin.twig' %}
{% set title %}{{ 'ScheduledReports_PersonalEmailReports'|translate }}{% endset %}
{% block topcontrols %}
{% include "@CoreHome/_siteSelectHeader.twig" %}
{% include "@CoreHome/_periodSelect.twig" %}
{% endblock %}
{% block content %}
<div class="emailReports">
<h2 piwik-enriched-headline help-url="http://piwik.org/docs/email-reports/">{{ title }}</h2>
<span id="reportSentSuccess"></span>
<span id="reportUpdatedSuccess"></span>
<div class="entityContainer">
{% import 'ajaxMacros.twig' as ajax %}
{{ ajax.errorDiv() }}
{{ ajax.loadingDiv() }}
{% include "@ScheduledReports/_listReports.twig" %}
{% include "@ScheduledReports/_addReport.twig" %}
<a id='bottom'></a>
</div>
</div>
<div class="ui-confirm" id="confirm">
<h2>{{ 'ScheduledReports_AreYouSureDeleteReport'|translate }}</h2>
<input role="yes" type="button" value="{{ 'General_Yes'|translate }}"/>
<input role="no" type="button" value="{{ 'General_No'|translate }}"/>
</div>
<script type="text/javascript">
var ReportPlugin = {};
ReportPlugin.defaultPeriod = '{{ defaultPeriod }}';
ReportPlugin.defaultHour = '{{ defaultHour }}';
ReportPlugin.defaultReportType = '{{ defaultReportType }}';
ReportPlugin.defaultReportFormat = '{{ defaultReportFormat }}';
ReportPlugin.reportList = {{ reportsJSON | raw }};
ReportPlugin.createReportString = "{{ 'ScheduledReports_CreateReport'|translate }}";
ReportPlugin.updateReportString = "{{ 'ScheduledReports_UpdateReport'|translate }}";
$(function () {
initManagePdf();
});
</script>
<style type="text/css">
.reportCategory {
font-weight: bold;
margin-bottom: 5px;
}
.entityAddContainer {
position:relative;
}
.emailReports .top_controls {
padding-bottom: 18px;
}
</style>
{% endblock %}
|