PluginProbe ʕ •ᴥ•ʔ
Independent Analytics – WordPress Analytics Plugin / 2.15.0
Independent Analytics – WordPress Analytics Plugin v2.15.0
2.15.0 2.14.10 trunk 1.1 1.10 1.10.1 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.17.1 1.17.2 1.17.3 1.17.4 1.18 1.18.1 1.19.0 1.19.1 1.2 1.20.0 1.21.0 1.22.0 1.22.1 1.23.0 1.23.1 1.24.0 1.24.1 1.25.0 1.25.1 1.26.0 1.27.0 1.28.0 1.28.1 1.28.2 1.28.3 1.29.0 1.3 1.30.0 1.30.1 1.4 1.5 1.6 1.7 1.8 1.9 2.0.0 2.0.1 2.1.4 2.1.5 2.1.6 2.10.0 2.10.1 2.10.2 2.10.3 2.10.4 2.11.0 2.11.1 2.11.10 2.11.2 2.11.3 2.11.4 2.11.5 2.11.6 2.11.7 2.11.8 2.11.9 2.12.0 2.12.1 2.12.2 2.13.1 2.13.2 2.13.5 2.13.6 2.14.0 2.14.1 2.14.2 2.14.4 2.14.6 2.14.7 2.14.8 2.14.9 2.2.0 2.2.1 2.3.1 2.3.2 2.4.2 2.4.3 2.5.0 2.5.1 2.6.0 2.6.1 2.6.2 2.6.3 2.6.4 2.7.0 2.7.1 2.7.2 2.7.3 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.2 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7
independent-analytics / views / overview / overview.blade.php
independent-analytics / views / overview Last commit date
form-fields 3 days ago modules 3 days ago module-editor.blade.php 3 days ago module-picker.blade.php 3 months ago module-templates.blade.php 3 days ago overview.blade.php 3 days ago
overview.blade.php
76 lines
1 @php /** @var \IAWP\Env $env */ @endphp
2 @php /** @var \IAWP\Overview\Overview $overview */ @endphp
3 @php /** @var string $last_refreshed_at */ @endphp
4 @php /** @var \IAWP\Overview\Modules\Module[] $saved_modules */ @endphp
5 @php /** @var \IAWP\Overview\Modules\Module[] $template_modules */ @endphp
6
7 <div id="report-header-container" class="report-header-container">
8 <div id="report-title-bar" class="report-title-bar overview-report">
9 <div class="primary-report-title-container">
10 <h1 class="report-title"><?php esc_html_e('Overview', 'independent-analytics'); ?></h1>
11 <div class="last-updated-container">
12 <span id="iawp-modules-refreshed-at"><?php echo sanitize_text_field($last_refreshed_at); ?></span>
13 <button class="refresh-overview-button"
14 data-controller="refresh-overview"
15 data-action="refresh-overview#refresh"
16 data-refresh-overview-loading-text-value="<?php esc_html_e('Refreshing...', 'independent-analytics'); ?>"
17 ><?php esc_html_e('Refresh', 'independent-analytics'); ?></button>
18 </div>
19 </div>
20 <div class="buttons">
21 <button id="favorite-report-button"
22 class="iawp-button favorite <?php echo $env->is_favorite('overview') ? 'active' : ''; ?>"
23 data-controller="set-favorite-report"
24 data-set-favorite-report-type-value="overview"
25 data-action="set-favorite-report#toggleFavoriteReport"
26 data-unfavorited-text="<?php echo esc_attr_e('Use as default report') ?>"
27 data-favorited-text="<?php echo esc_attr_e('Remove as default report') ?>"
28 >
29 <span class="dashicons dashicons-star-filled"></span>
30 </button>
31 </div>
32 </div>
33 <div id="toolbar" class="toolbar">
34 <div class="overview-toolbar-buttons">
35 <?php if($env->can_write()): ?>
36 <button data-controller="add-module" data-action="add-module#addModule" class="iawp-button add-module-toolbar-button"><span class="dashicons dashicons-plus"></span> <?php esc_html_e('Add Module', 'independent-analytics'); ?></button>
37 <button data-controller="reorder-modules" data-action="reorder-modules#toggleReordering" class="iawp-button reorder-modules-button"><span class="dashicons dashicons-sort"></span> <?php esc_html_e('Reorder Modules', 'independent-analytics'); ?></button>
38 <?php endif; ?>
39 </div>
40 <div class="download-options-parent" data-controller="modal">
41 <div class="modal-parent downloads">
42 <button id="download-options" data-modal-target="modalButton" data-action="click->modal#toggleModal" class="download-options">
43 <?php esc_html_e('Download Report', 'independent-analytics'); ?>
44 </button>
45 <div class="iawp-modal small downloads" data-modal-target="modal">
46 <div class="modal-inner">
47 <div class="title-small">
48 <?php esc_html_e('Download report', 'independent-analytics'); ?>
49 <span data-report-target="spinner" class="dashicons dashicons-update iawp-spin hidden"></span>
50 </div>
51 <button data-controller="export-overview"
52 data-action="export-overview#export"
53 class="pdf-export-button iawp-button"
54 ><?php esc_html_e('Download PDF', 'independent-analytics'); ?></button>
55 </div>
56 </div>
57 </div>
58 </div>
59 </div>
60 </div>
61 <div data-controller="module-list">
62 <div id="module-list" class="module-list" data-module-list-target="list"><?php
63 foreach($saved_modules as $module) {
64 echo $module->get_module_html();
65 }
66 if($env->can_write()) {
67 echo iawp_render('overview.module-picker', [
68 'template_modules' => $template_modules,
69 ]);
70 } ?>
71 </div><?php
72 echo iawp_render('overview.module-templates', [
73 'template_modules' => $template_modules,
74 ]); ?>
75 </div>
76