Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_dataTableFooter.twig « templates « CoreHome « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3fb4f0f3ceb70e76090ef509ef05716183035329 (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<div class="dataTableFeatures">

    <div class="dataTableFooterNavigation">
        {% if properties.show_offset_information %}
            <span>
                <span class="dataTablePages"></span>
            </span>
        {% endif %}

        {% if properties.show_pagination_control %}
            <span>
                <span class="dataTablePrevious">&lsaquo; {% if javascriptVariablesToSet.dataTablePreviousIsFirst is defined %}{{ 'General_First'|translate }}{% else %}{{ 'General_Previous'|translate }}{% endif %} </span>
                <span class="dataTableNext">{{ 'General_Next'|translate }} &rsaquo;</span>
            </span>
        {% endif %}

        {% if properties.show_search %}
            <span class="dataTableSearchPattern">
                <input type="text" class="searchInput" length="15" />
                <input type="submit" value="{{ 'General_Search'|translate }}" />
            </span>
        {% endif %}
    </div>

    <span class="loadingPiwik" style="display:none;"><img src="plugins/Zeitgeist/images/loading-blue.gif"/> {{ 'General_LoadingData'|translate }}</span>
    {% if properties.show_footer_icons %}
        <div class="dataTableFooterIcons">
            <div class="dataTableFooterWrap" var="{{ javascriptVariablesToSet.viewDataTable }}">
                {% for footerIconGroup in footerIcons %}
                <div class="tableIconsGroup">
                    <span class="{{ footerIconGroup.class }}">
                    {% for footerIcon in footerIconGroup.buttons %}
                        <span>
                            {% if properties.show_active_view_icon and javascriptVariablesToSet.viewDataTable == footerIcon.format %}
                            <img src="plugins/Zeitgeist/images/data_table_footer_active_item.png" class="dataTableFooterActiveItem"/>
                            {% endif %}
                            <a class="tableIcon {% if javascriptVariablesToSet.viewDataTable == footerIcon.format %}activeIcon{% endif %}" format="{{ footerIcon.format }}" var="{{ footerIcon.var }}">
                                <img width="16" height="16" title="{{ footerIcon.title }}" src="{{ footerIcon.icon }}"/>
                                {% if footerIcon.text is defined %}<span>{{ footerIcon.text }}</span>{% endif %}
                            </a>
                        </span>
                    {% endfor %}
                    </span>
                </div>
                {% endfor %}
                <div class="tableIconsGroup">
                    {% if footerIcons is empty %}
                    <img src="plugins/Zeitgeist/images/data_table_footer_active_item.png" class="dataTableFooterActiveItem"/>
                    {% endif %}
                    <span class="exportToFormatIcons">
                        <a class="tableIcon" var="export">
                            <img width="16" height="16" src="plugins/Zeitgeist/images/export.png" title="{{ 'General_ExportThisReport'|translate }}"/>
                        </a>
                    </span>
				    <span class="exportToFormatItems" style="display:none;">
					{{ 'General_Export'|translate }}:
					<a target="_blank" methodToCall="{{ properties.apiMethodToRequestDataTable }}" format="CSV" filter_limit="{{ properties.export_limit }}">CSV</a> |
					<a target="_blank" methodToCall="{{ properties.apiMethodToRequestDataTable }}" format="TSV" filter_limit="{{ properties.export_limit }}">TSV (Excel)</a> |
					<a target="_blank" methodToCall="{{ properties.apiMethodToRequestDataTable }}" format="XML" filter_limit="{{ properties.export_limit }}">XML</a> |
					<a target="_blank" methodToCall="{{ properties.apiMethodToRequestDataTable }}" format="JSON" filter_limit="{{ properties.export_limit }}">Json</a> |
					<a target="_blank" methodToCall="{{ properties.apiMethodToRequestDataTable }}" format="PHP" filter_limit="{{ properties.export_limit }}">Php</a>
                    {% if properties.show_export_as_rss_feed %}
                        |
                        <a target="_blank" methodToCall="{{ properties.apiMethodToRequestDataTable }}" format="RSS" filter_limit="{{ properties.export_limit }}" date="last10">
                            <img border="0" src="plugins/Zeitgeist/images/feed.png"/>
                        </a>
                    {% endif %}
				    </span>
                    {% if properties.show_export_as_image_icon %}
                        <span id="dataTableFooterExportAsImageIcon">
                            <a class="tableIcon" href="#" onclick="$(this).closest('.dataTable').find('div.jqplot-target').trigger('piwikExportAsImage'); return false;">
                                <img title="{{ 'General_ExportAsImage'|translate }}" src="plugins/Zeitgeist/images/image.png"/>
                            </a>
                        </span>
                    {% endif %}
                </div>

            </div>
            <div class="limitSelection {% if not properties.show_pagination_control and not properties.show_limit_control %} hidden{% endif %}"
                 title="{{ 'General_RowsToDisplay'|translate }}"></div>
            <div class="tableConfiguration">
                <a class="tableConfigurationIcon" href="#"></a>
                <ul>
                    {% if javascriptVariablesToSet.flat is defined and javascriptVariablesToSet.flat == 1 %}
                        <li>
                            <div class="configItem dataTableIncludeAggregateRows"></div>
                        </li>
                    {% endif %}
                    <li>
                        <div class="configItem dataTableFlatten"></div>
                    </li>
                    {% if properties.show_exclude_low_population %}
                        <li>
                            <div class="configItem dataTableExcludeLowPopulation"></div>
                        </li>
                    {% endif %}
                </ul>
            </div>
            {% if isPluginLoaded('Annotations') and not properties.hide_annotations_view %}
                <div class="annotationView" title="{{ 'Annotations_IconDesc_js'|translate }}">
                    <a class="tableIcon">
                        <img width="16" height="16" src="plugins/Zeitgeist/images/grey_marker.png"/>
                    </a>
                    <span>{{ 'Annotations_Annotations'|translate }}</span>
                </div>
            {% endif %}
        </div>
    {% endif %}

    <div class="datatableRelatedReports">
        {% if (properties.related_reports is not empty) and properties.show_related_reports %}
            {% if properties.related_reports|length == 1 %}
                {{ 'General_RelatedReport'|translate }}:
            {% else %}
                {{ 'General_RelatedReports'|translate }}:
            {% endif %}
            <ul style="list-style:none;{% if properties.related_reports|length == 1 %}display:inline-block;{% endif %}}">
                <li><span href="{{ properties.self_url }}" style="display:none;">{{ properties.title }}</span></li>

                {% for reportUrl,reportTitle in properties.related_reports %}
                    <li><span href="{{ reportUrl }}">{{ reportTitle }}</span></li>
                {% endfor %}
            </ul>
        {% endif %}
    </div>

    {% if properties.show_footer_message is defined and properties.show_footer_message is not empty %}
        <div class='datatableFooterMessage'>{{ properties.show_footer_message | raw }}</div>
    {% endif %}

</div>

<span class="loadingPiwikBelow" style="display:none;"><img src="plugins/Zeitgeist/images/loading-blue.gif"/> {{ 'General_LoadingData'|translate }}</span>

<div class="dataTableSpacer"></div>