add icons for Character groups
This commit is contained in:
commit
2d9a41a5fe
3461 changed files with 594457 additions and 0 deletions
74
www/analytics/plugins/Overlay/templates/index.twig
Normal file
74
www/analytics/plugins/Overlay/templates/index.twig
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
{% 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/" target="_blank">
|
||||
{{ 'Overlay_Overlay'|translate }}
|
||||
<img src="plugins/Zeitgeist/images/help.png" alt="Documentation"/>
|
||||
</a>
|
||||
|
||||
<div id="Overlay_DateRangeSelection">
|
||||
<select id="Overlay_DateRangeSelect" name="Overlay_DateRangeSelect">
|
||||
<option value="day;today">{{ 'General_Today'|translate }}</option>
|
||||
<option value="day;yesterday">{{ 'General_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" 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">
|
||||
var iframeSrc = 'index.php?module=Overlay&action=startOverlaySession&idSite={{ idSite }}&period={{ period }}&date={{ date }}';
|
||||
Piwik_Overlay.init(iframeSrc, '{{ idSite }}', '{{ period }}', '{{ date }}');
|
||||
|
||||
Piwik_Overlay_Translations = {
|
||||
domain: "{{ 'Overlay_Domain'|translate }}"
|
||||
};
|
||||
</script>
|
||||
{% endblock %}
|
||||
21
www/analytics/plugins/Overlay/templates/index_noframe.twig
Normal file
21
www/analytics/plugins/Overlay/templates/index_noframe.twig
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{% extends 'dashboard.twig' %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ 'Overlay_Overlay'|translate }}</h1>
|
||||
|
||||
<div id="Overlay_NoFrame">
|
||||
|
||||
<script type="text/javascript">
|
||||
var newLocation = 'index.php?module=Overlay&action=startOverlaySession&idSite={{ idSite }}&period={{ period }}&date={{ date }}';
|
||||
|
||||
var locationParts = window.location.href.split('#');
|
||||
if (locationParts.length > 1) {
|
||||
var url = broadcast.getParamValue('l', locationParts[1]);
|
||||
url = Overlay_Helper.decodeFrameUrl(url);
|
||||
newLocation += '#' + url;
|
||||
}
|
||||
window.location.href = newLocation;
|
||||
</script>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
// go up two iframes to find the piwik window
|
||||
var piwikWindow = window.parent.parent;
|
||||
// notify piwik of location change
|
||||
// the location has been passed as the hash part of the url from the overlay session
|
||||
piwikWindow.Piwik_Overlay.setCurrentUrl(window.location.hash.substring(1));
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
22
www/analytics/plugins/Overlay/templates/renderSidebar.twig
Normal file
22
www/analytics/plugins/Overlay/templates/renderSidebar.twig
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<div> <!-- Wrapper is needed that the html can be jqueryfied -->
|
||||
|
||||
<!-- This div is removed by JS and the content is put in the location div -->
|
||||
<div class="Overlay_Location">
|
||||
<strong>{{ 'Overlay_Location'|translate }}:</strong>
|
||||
<span data-normalized-url="{{ normalizedUrl }}" data-label="{{ label }}">
|
||||
{{ location }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{% if data|length > 0 %}
|
||||
<h2 class="Overlay_MainMetrics">{{ 'General_MainMetrics'|translate }}</h2>
|
||||
{% for metric in data %}
|
||||
<div class="Overlay_Metric">
|
||||
<span class="Overlay_MetricValue">{{ metric.value|raw }}</span> {{ metric.name }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<!-- note: the class Overlay_NoData is used in Piwik_Overlay.js -->
|
||||
<div class="Overlay_NoData">{{ 'Overlay_NoData'|translate }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<meta name="generator" content="Piwik - Open Source Web Analytics"/>
|
||||
<link rel="shortcut icon" href="plugins/CoreHome/images/favicon.ico"/>
|
||||
<link rel="stylesheet" type="text/css" href="plugins/Overlay/stylesheets/showErrorWrongDomain.css" />
|
||||
</head>
|
||||
<body>
|
||||
<p><strong>{{ message|raw }}</strong></p>
|
||||
|
||||
<p>{{ troubleshoot|raw }}</p>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue