blob: 0917f196728d9ede63eb579b9443b7457d4a396a (
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
{% extends 'dashboard.twig' %}
{% block head %}
{{ parent() }}
<script type="text/javascript" src="plugins/Overlay/javascripts/Piwik_Overlay.js"></script>
<link rel="stylesheet" type="text/css" href="plugins/Overlay/stylesheets/overlay.css" />
{% endblock %}
{% block content %}
<div class="overlay-sidebar-container">
<a id="Overlay_Title" href="http://piwik.org/docs/page-overlay/" rel="noreferrer" target="_blank">
{{ 'Overlay_Overlay'|translate }}
<img src="plugins/Morpheus/images/help.png" alt="Documentation"/>
</a>
<div id="Overlay_DateRangeSelection">
<select id="Overlay_DateRangeSelect" name="Overlay_DateRangeSelect">
<option value="day;today">{{ 'Intl_Today'|translate }}</option>
<option value="day;yesterday">{{ 'Intl_Yesterday'|translate }}</option>
<option value="week;today">{{ 'General_CurrentWeek'|translate }}</option>
<option value="month;today">{{ 'General_CurrentMonth'|translate }}</option>
<option value="year;today">{{ 'General_CurrentYear'|translate }}</option>
</select>
</div>
<div id="Overlay_Error_NotLoading">
<p>
<span>{{ 'Overlay_ErrorNotLoading'|translate }}</span>
</p>
<p>
{% if ssl %}
{{ 'Overlay_ErrorNotLoadingDetailsSSL'|translate }}
{% else %}
{{ 'Overlay_ErrorNotLoadingDetails'|translate }}
{% endif %}
</p>
<p>
<a href="http://piwik.org/docs/page-overlay/#toc-page-overlay-troubleshooting" rel="noreferrer" target="_blank">
{{ 'Overlay_ErrorNotLoadingLink'|translate }}
</a>
</p>
</div>
<div id="Overlay_Location"> </div>
<div id="Overlay_Loading">{{ 'General_Loading'|translate }}</div>
<div id="Overlay_Sidebar"></div>
<a id="Overlay_RowEvolution">{{ 'General_RowEvolutionRowActionTooltipTitle'|translate }}</a>
<a id="Overlay_Transitions">{{ 'General_TransitionsRowActionTooltipTitle'|translate }}</a>
</div>
<!-- TODO: rethink the way the sidebar works -->
<!-- <a id="Overlay_FullScreen" href="#">
{'Overlay_OpenFullScreen'|translate|escape:'html'}
</a> -->
<div id="Overlay_Main">
<iframe id="Overlay_Iframe" src="" frameborder="0"></iframe>
</div>
<script type="text/javascript">
broadcast._isInit = true;
$(function () {
var iframeSrc = 'index.php?module=Overlay&action=startOverlaySession&idSite={{ idSite }}&period={{ period }}&date={{ date }}';
Piwik_Overlay.init(iframeSrc, '{{ idSite }}', '{{ period }}', '{{ date }}');
window.Piwik_Overlay_Translations = {
domain: "{{ 'Overlay_Domain'|translate }}"
};
});
</script>
{% endblock %}
|