add piwik installation
This commit is contained in:
parent
90aa4ef157
commit
8c5d4f0c31
3197 changed files with 563902 additions and 0 deletions
6
www/analytics/plugins/ImageGraph/templates/index.twig
Normal file
6
www/analytics/plugins/ImageGraph/templates/index.twig
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{% for plot in titleAndUrls %}
|
||||
<h2>{{ plot.0 }}</h2>
|
||||
<a href='{{ plot.1 }}'>
|
||||
<img border=0 src="{{ plot.1 }}">
|
||||
</a>
|
||||
{% endfor %}
|
||||
55
www/analytics/plugins/ImageGraph/templates/testAllSizes.twig
Normal file
55
www/analytics/plugins/ImageGraph/templates/testAllSizes.twig
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{% extends 'dashboard.twig' %}
|
||||
|
||||
{% block content %}
|
||||
{% set showSitesSelection=true %}
|
||||
|
||||
<div>
|
||||
<h2>{{ 'ImageGraph_ImageGraph'|translate }} ::: {{ siteName }}</h2>
|
||||
|
||||
<div class="top_controls">
|
||||
{% include '@CoreHome/_periodSelect.twig' %}
|
||||
</div>
|
||||
|
||||
<div class="entityContainer" style="width:100%;">
|
||||
<div class="entityAddContainer">
|
||||
<table class="dataTable entityTable">
|
||||
<thead>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="first">
|
||||
<th style="white-space:normal;">Category</th>
|
||||
<th style="white-space:normal;">Name</th>
|
||||
|
||||
{% for type in graphTypes %}
|
||||
<th style="white-space:normal;">{{ type }}</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% for report in availableReports %}
|
||||
{% if report.imageGraphUrl is defined %}
|
||||
<tr>
|
||||
<td>{{ report.category }}</td>
|
||||
<td>{{ report.name }}</td>
|
||||
{% for type in graphTypes %}
|
||||
<td>
|
||||
<h2>Graph {{ type }} for all supported sizes</h2>
|
||||
{% for sizes in graphSizes %}
|
||||
<p>{{ sizes.0 }}
|
||||
x {{ sizes.1 }} {% if sizes.2 is defined %} (scaled down to {{ sizes.3 }} x {{ sizes.4 }}){% endif %}</p>
|
||||
<img src="{{ report.imageGraphUrl }}&graphType={{ type }}&width={{ sizes.0 }}&height={{ sizes.1 }}{% if sizes.2 is
|
||||
defined %}&fontSize={{ sizes.2 }}{% endif %}"
|
||||
{% if sizes.3 is defined %}width={{ sizes.3 }}{% endif %}
|
||||
{% if sizes.4 is defined %}height={{ sizes.4 }}{% endif %}
|
||||
/>
|
||||
{% endfor %}
|
||||
</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<a id="bottom"></a>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue