add icons for Character groups
This commit is contained in:
commit
2d9a41a5fe
3461 changed files with 594457 additions and 0 deletions
11
www/analytics/plugins/Zeitgeist/templates/_iframeBuster.twig
Normal file
11
www/analytics/plugins/Zeitgeist/templates/_iframeBuster.twig
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{% if (enableFrames is defined and enableFrames == false) %}
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$('body').css("display", "none");
|
||||
if (self == top) {
|
||||
var theBody = document.getElementsByTagName('body')[0];
|
||||
theBody.style.display = 'block';
|
||||
} else { top.location = self.location; }
|
||||
});
|
||||
</script>
|
||||
{% endif %}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
{% autoescape false %}
|
||||
{{ includeAssets({"type": "css"}) }}
|
||||
{{ includeAssets({"type":"js"}) }}
|
||||
{% endautoescape %}
|
||||
{% if 'General_LayoutDirection'|translate =='rtl' %}
|
||||
<link rel="stylesheet" type="text/css" href="plugins/Zeitgeist/stylesheets/rtl.css"/>
|
||||
{% endif %}
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
<script type="text/javascript">
|
||||
var piwik = {};
|
||||
piwik.token_auth = "{{ token_auth }}";
|
||||
piwik.piwik_url = "{{ piwikUrl }}";
|
||||
piwik.cacheBuster = "{{ cacheBuster }}";
|
||||
{% if userLogin %}piwik.userLogin = "{{ userLogin|e('js')}}";{% endif %}
|
||||
|
||||
{% if idSite is defined %}piwik.idSite = "{{ idSite }}";{% endif %}
|
||||
|
||||
{% if siteName is defined %}piwik.siteName = "{{ siteName|e('js') }}";{% endif %}
|
||||
|
||||
{% if siteMainUrl is defined %}piwik.siteMainUrl = "{{ siteMainUrl|e('js') }}";{% endif %}
|
||||
|
||||
{% if period is defined %}piwik.period = "{{ period }}";{% endif %}
|
||||
|
||||
{# piwik.currentDateString should not be used other than by the calendar Javascript
|
||||
(it is not set to the expected value when period=range)
|
||||
Use broadcast.getValueFromUrl('date') instead
|
||||
#}
|
||||
piwik.currentDateString = "{{ date|default(endDate|default('')) }}";
|
||||
{% if startDate is defined %}
|
||||
piwik.startDateString = "{{ startDate }}";
|
||||
piwik.endDateString = "{{ endDate }}";
|
||||
piwik.minDateYear = {{ minDateYear }};
|
||||
piwik.minDateMonth = parseInt("{{ minDateMonth }}", 10);
|
||||
piwik.minDateDay = parseInt("{{ minDateDay }}", 10);
|
||||
piwik.maxDateYear = {{ maxDateYear }};
|
||||
piwik.maxDateMonth = parseInt("{{ maxDateMonth }}", 10);
|
||||
piwik.maxDateDay = parseInt("{{ maxDateDay }}", 10);
|
||||
{% endif %}
|
||||
{% if language is defined %}piwik.language = "{{ language }}";{% endif %}
|
||||
|
||||
piwik.hasSuperUserAccess = {{ hasSuperUserAccess|default(0)|e('js')}};
|
||||
piwik.config = {};
|
||||
{% if clientSideConfig is defined %}
|
||||
piwik.config = {{ clientSideConfig|json_encode|raw }};
|
||||
{% endif %}
|
||||
{{ postEvent("Template.jsGlobalVariables") }}
|
||||
</script>
|
||||
30
www/analytics/plugins/Zeitgeist/templates/_piwikTag.twig
Normal file
30
www/analytics/plugins/Zeitgeist/templates/_piwikTag.twig
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{# Disabled by default, tracks activity of this Piwik instance #}
|
||||
|
||||
{% if (piwikUrl == 'http://demo.piwik.org/' or debugTrackVisitsInsidePiwikUI) %}
|
||||
<div class="clear"></div>
|
||||
<!-- Piwik -->
|
||||
<script type="text/javascript">
|
||||
var _paq = _paq || [];
|
||||
_paq.push(['setTrackerUrl', 'piwik.php']);
|
||||
_paq.push(['setSiteId', 1]);
|
||||
_paq.push(['setCookieDomain', '*.piwik.org']);
|
||||
// set the domain the visitor landed on, in the Custom Variable
|
||||
_paq.push([function () {
|
||||
if (!this.getCustomVariable(1)) {
|
||||
this.setCustomVariable(1, "Domain landed", document.domain);
|
||||
}
|
||||
}]);
|
||||
// Set the selected Piwik language in a custom var
|
||||
_paq.push(['setCustomVariable', 2, "Demo language", piwik.languageName]);
|
||||
_paq.push(['setDocumentTitle', document.domain + "/" + document.title]);
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
_paq.push(['enableJSErrorTracking']);
|
||||
|
||||
(function() {
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
|
||||
g.defer=true; g.async=true; g.src='js/piwik.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<!-- End Piwik Code -->
|
||||
{% endif %}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<script type="text/javascript">
|
||||
$(function () {
|
||||
initializeSparklines();
|
||||
});
|
||||
</script>
|
||||
59
www/analytics/plugins/Zeitgeist/templates/admin.twig
Normal file
59
www/analytics/plugins/Zeitgeist/templates/admin.twig
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
<!DOCTYPE html>
|
||||
<!--[if lt IE 9 ]>
|
||||
<html class="old-ie" id="ng-app" ng-app="piwikApp"> <![endif]-->
|
||||
<!--[if (gte IE 9)|!(IE)]><!-->
|
||||
<html id="ng-app" ng-app="piwikApp"><!--<![endif]-->
|
||||
<head>
|
||||
{% block head %}
|
||||
<meta charset="utf-8">
|
||||
<title>{% if not isCustomLogo %}Piwik › {% endif %}{{ 'CoreAdminHome_Administration'|translate }}</title>
|
||||
<meta name="generator" content="Piwik - Open Source Web Analytics"/>
|
||||
<link rel="shortcut icon" href="plugins/CoreHome/images/favicon.ico"/>
|
||||
|
||||
{% include "_jsGlobalVariables.twig" %}
|
||||
{% include "_piwikTag.twig" %}
|
||||
{% include "_jsCssIncludes.twig" %}
|
||||
|
||||
<!--[if IE]>
|
||||
<link rel="stylesheet" type="text/css" href="plugins/Zeitgeist/stylesheets/ieonly.css"/>
|
||||
<![endif]-->
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body ng-app="app">
|
||||
{% set isAdminLayout = true %}
|
||||
{% include "_iframeBuster.twig" %}
|
||||
{% include "@CoreHome/_javaScriptDisabled.twig" %}
|
||||
|
||||
<div id="root">
|
||||
{% include "@CoreHome/_topScreen.twig" %}
|
||||
|
||||
{% import 'ajaxMacros.twig' as ajax %}
|
||||
{{ ajax.requestErrorDiv }}
|
||||
{{ postEvent("Template.beforeContent", "admin", currentModule) }}
|
||||
|
||||
<div id="container">
|
||||
|
||||
{% if showMenu is not defined or showMenu %}
|
||||
{% include "@CoreAdminHome/_menu.twig" %}
|
||||
{% endif %}
|
||||
|
||||
<div id="content" class="admin">
|
||||
|
||||
{% include "@CoreHome/_headerMessage.twig" %}
|
||||
{% include "@CoreHome/_notifications.twig" %}
|
||||
|
||||
<div class="ui-confirm" id="alert">
|
||||
<h2></h2>
|
||||
<input role="no" type="button" value="{{ 'General_Ok'|translate }}"/>
|
||||
</div>
|
||||
|
||||
{% include "@CoreHome/_warningInvalidHost.twig" %}
|
||||
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
18
www/analytics/plugins/Zeitgeist/templates/ajaxMacros.twig
Normal file
18
www/analytics/plugins/Zeitgeist/templates/ajaxMacros.twig
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{% macro errorDiv(id='ajaxError') %}
|
||||
<div id="{{ id }}" style="display:none"></div>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro loadingDiv(id='ajaxLoadingDiv') %}
|
||||
<div id="{{ id }}" style="display:none;">
|
||||
<div class="loadingPiwik">
|
||||
<img src="plugins/Zeitgeist/images/loading-blue.gif" alt="{{ 'General_LoadingData'|translate }}" />{{ 'General_LoadingData'|translate }}
|
||||
</div>
|
||||
<div class="loadingSegment">
|
||||
{{ 'SegmentEditor_LoadingSegmentedDataMayTakeSomeTime'|translate }}
|
||||
</div>
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro requestErrorDiv() %}
|
||||
<div id="loadingError">{{ 'General_ErrorRequest'|translate }}</div>
|
||||
{% endmacro %}
|
||||
50
www/analytics/plugins/Zeitgeist/templates/dashboard.twig
Normal file
50
www/analytics/plugins/Zeitgeist/templates/dashboard.twig
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
<!DOCTYPE html>
|
||||
<!--[if lt IE 9 ]>
|
||||
<html class="old-ie" id="ng-app" ng-app="piwikApp"> <![endif]-->
|
||||
<!--[if (gte IE 9)|!(IE)]><!-->
|
||||
<html id="ng-app" ng-app="piwikApp"><!--<![endif]-->
|
||||
<head>
|
||||
{% block head %}
|
||||
<meta charset="utf-8">
|
||||
<title>{{ siteName|raw }} - {% if isCustomLogo == false %}Piwik › {% endif %} {{ 'CoreHome_WebAnalyticsReports'|translate }}</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE,chrome=1"/>
|
||||
<meta name="viewport" content="initial-scale=1.0" />
|
||||
<meta name="generator" content="Piwik - Open Source Web Analytics"/>
|
||||
<meta name="description" content="Web Analytics report for '{{ siteName|escape("html_attr") }}' - Piwik"/>
|
||||
<meta name="apple-itunes-app" content="app-id=737216887" />
|
||||
<link rel="shortcut icon" href="plugins/CoreHome/images/favicon.ico"/>
|
||||
{% include "_jsGlobalVariables.twig" %}
|
||||
{% include "_piwikTag.twig" %}
|
||||
<!--[if lt IE 9]>
|
||||
<script language="javascript" type="text/javascript" src="libs/jqplot/excanvas.min.js"></script>
|
||||
<![endif]-->
|
||||
{% include "_jsCssIncludes.twig" %}
|
||||
<!--[if IE]>
|
||||
<link rel="stylesheet" type="text/css" href="plugins/Zeitgeist/stylesheets/ieonly.css"/>
|
||||
<![endif]-->
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body ng-app="app">
|
||||
{% include "_iframeBuster.twig" %}
|
||||
{% include "@CoreHome/_javaScriptDisabled.twig" %}
|
||||
|
||||
<div id="root">
|
||||
{% include "@CoreHome/_warningInvalidHost.twig" %}
|
||||
{% include "@CoreHome/_topScreen.twig" %}
|
||||
|
||||
{% block notification %}
|
||||
{% include "@CoreHome/_notifications.twig" %}
|
||||
{% endblock %}
|
||||
|
||||
<div class="ui-confirm" id="alert">
|
||||
<h2></h2>
|
||||
<input role="yes" type="button" value="{{ 'General_Ok'|translate }}"/>
|
||||
</div>
|
||||
|
||||
{{ postEvent("Template.beforeContent", "dashboard", currentModule) }}
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
{{ postEvent("Template.footer") }}
|
||||
</body>
|
||||
</html>
|
||||
2
www/analytics/plugins/Zeitgeist/templates/empty.twig
Normal file
2
www/analytics/plugins/Zeitgeist/templates/empty.twig
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
{% block content %}
|
||||
{% endblock %}
|
||||
36
www/analytics/plugins/Zeitgeist/templates/genericForm.twig
Normal file
36
www/analytics/plugins/Zeitgeist/templates/genericForm.twig
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{% if form_data.errors %}
|
||||
<div class="warning">
|
||||
<img src="plugins/Zeitgeist/images/warning_medium.png">
|
||||
<strong>{{ 'Installation_PleaseFixTheFollowingErrors'|translate }}:</strong>
|
||||
<ul>
|
||||
{% for data in form_data.errors %}
|
||||
<li>{{ data|raw }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<form {{ form_data.attributes|raw }}>
|
||||
<div class="centrer">
|
||||
<table class="centrer">
|
||||
{% for fieldname in element_list %}
|
||||
{% if form_data[fieldname].type == 'checkbox' %}
|
||||
<tr>
|
||||
<td colspan=2>{{ form_data[fieldname].html|raw }}</td>
|
||||
</tr>
|
||||
{% elseif form_data[fieldname].label %}
|
||||
<tr>
|
||||
<td>{{ form_data[fieldname].label|raw }}</td>
|
||||
<td>{{ form_data[fieldname].html|raw }}</td>
|
||||
</tr>
|
||||
{% elseif form_data[fieldname].type == 'hidden' %}
|
||||
<tr>
|
||||
<td colspan=2>{{ form_data[fieldname].html|raw }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{{ form_data.submit.html|raw }}
|
||||
</form>
|
||||
15
www/analytics/plugins/Zeitgeist/templates/javascriptCode.tpl
Normal file
15
www/analytics/plugins/Zeitgeist/templates/javascriptCode.tpl
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<!-- Piwik -->
|
||||
<script type="text/javascript">
|
||||
var _paq = _paq || [];
|
||||
{$options} _paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
{$setTrackerUrl}
|
||||
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
||||
_paq.push(['setSiteId', {$idSite}]);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
|
||||
g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<noscript><p><img src="http://{$piwikUrl}/piwik.php?idsite={$idSite}" style="border:0;" alt="" /></p></noscript>
|
||||
<!-- End Piwik Code -->
|
||||
23
www/analytics/plugins/Zeitgeist/templates/macros.twig
Normal file
23
www/analytics/plugins/Zeitgeist/templates/macros.twig
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{% macro logoHtml(metadata, alt='') %}
|
||||
{% if metadata['logo'] is defined %}
|
||||
{% if metadata['logoWidth'] is defined %}
|
||||
{% set width %}width="{{ metadata['logoWidth'] }}"{% endset %}
|
||||
{% endif %}
|
||||
{% if metadata['logoHeight'] is defined %}
|
||||
{% set height %}height="{{ metadata['logoHeight'] }}"{% endset %}
|
||||
{% endif %}
|
||||
{% if metadata['logoWidth'] is defined %}
|
||||
{% set width %}width="{{ metadata['logoWidth'] }}"{% endset %}
|
||||
{% endif %}
|
||||
{% if alt is not empty %}
|
||||
{% set alt %}title='{{ alt }}' alt='{{ alt }}'{% endset %}
|
||||
{% endif %}
|
||||
<img {{ alt }} {{ width|default('') }} {{ height|default('') }} src='{{ metadata['logo'] }}' />
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro inlineHelp(text) %}
|
||||
<div class="ui-inline-help" >
|
||||
{{ text|raw }}
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{$HTML_TITLE}</title>
|
||||
<link rel="shortcut icon" href="plugins/CoreHome/images/favicon.ico" />
|
||||
<link rel="stylesheet" type="text/css" href="plugins/Zeitgeist/stylesheets/simple_structure.css" />
|
||||
</head>
|
||||
<body id="simple">
|
||||
<div id="contentsimple">
|
||||
<div id="title"><img title="Piwik" alt="Piwik" src="plugins/Morpheus/images/logo-header.png" style="margin-left:10px;" /><span id="subh1"> # <a href='http://piwik.org/'>Web Analytics</a></span></div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue