PluginProbe ʕ •ᴥ•ʔ
Independent Analytics – WordPress Analytics Plugin / 2.10.0
Independent Analytics – WordPress Analytics Plugin v2.10.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 / tables / table.blade.php
independent-analytics / views / tables Last commit date
group-select.blade.php 2 years ago rows.blade.php 1 year ago table-toolbar.blade.php 2 years ago table.blade.php 2 years ago
table.blade.php
96 lines
1 <div id="iawp-table-wrapper" class="iawp-table-wrapper" data-controller="table-columns">
2 <div id="data-table-container" class="data-table-container">
3 <div id='data-table'
4 class='data-table'
5 data-table-name='<?php echo esc_attr($table_name); ?>'
6 data-columns='<?php echo \IAWP\Utils\Security::json_encode($all_columns) ?>'
7 data-column-count='<?php echo count($all_columns); ?>'
8 data-total-number-of-rows {{-- The value is added in JavaScript after page load --}}
9 style="min-width: <?php echo absint($visible_column_count) * 170; ?>px; --columns: <?php echo absint($visible_column_count); ?>; --columns-mobile: <?php echo absint($visible_column_count - 1); ?>"
10 >
11
12 <!-- Header -->
13 <div id="iawp-columns" class="iawp-columns">
14 <div class="iawp-row"
15 data-controller="sort"
16 >
17 <?php
18 foreach ($all_columns as $column): ?>
19 <?php
20 $cell_class = $column->is_visible() ? 'cell' : 'cell hide'; ?>
21 <div class="<?php echo esc_attr($cell_class); ?>"
22 data-column="<?php echo esc_attr($column->id()); ?>"
23 data-test-visibility="<?php echo $column->is_visible() ? 'visible' : 'hidden'; ?>"
24 >
25 <button class="sort-button"
26 data-sort-target="sortButton"
27 data-sort-direction="<?php echo $column->id() === esc_attr($sort_column) ? esc_attr($sort_direction) : '' ?>"
28 data-default-sort-direction="<?php echo esc_attr($column->sort_direction()); ?>"
29 data-sort-column="<?php echo esc_attr($column->id()); ?>"
30 data-action="sort#sortColumnColumn"
31 title="<?php echo esc_html($column->name()); ?>"
32 >
33 <div class="row-number"></div>
34 <span class="name"><?php echo esc_html($column->name()); ?></span>
35 <span class="dashicons dashicons-arrow-right"></span>
36 <span class="dashicons dashicons-arrow-up"></span>
37 <span class="dashicons dashicons-arrow-down"></span>
38 <div class="animator"></div>
39 </button>
40 </div>
41 <?php
42 endforeach ?>
43 </div>
44 </div>
45
46 <!-- Rows -->
47 <?php
48 if ($render_skeleton) : ?>
49 <div id="iawp-rows" class="iawp-rows rendering">
50 <?php
51 foreach (range(1, $page_size) as $index): ?>
52 <div class="iawp-row">
53 <?php
54 foreach ($all_columns as $column): ?>
55 <?php
56 $class = $column->is_visible() ? 'cell' : 'cell hide'; ?>
57 <div class="<?php echo esc_attr($class); ?>"
58 data-column="<?php echo esc_attr($column->id()); ?>"
59 data-test-visibility="<?php echo $column->is_visible() ? 'visible' : 'hidden'; ?>"
60 >
61 <div class="row-number"></div>
62 <span class="cell-content">
63 <span class="skeleton-loader"></span>
64 </span>
65 <span class="animator"></span>
66 </div>
67 <?php
68 endforeach ?>
69 </div>
70 <?php
71 endforeach ?>
72 </div>
73 <?php
74 else: ?>
75 @include('tables.rows')
76 <?php
77 endif; ?>
78 </div>
79 </div>
80
81 <div class="pagination">
82 <button id="pagination-button" class="iawp-button purple"
83 data-report-target="loadMore"
84 data-action="report#loadMore"
85 >
86 <span class="disabled-button-text">
87 <?php
88 esc_html_e('Showing All Rows', 'independent-analytics'); ?>
89 </span>
90 <span class="enabled-button-text">
91 <?php printf(__('Load Next %d Rows', 'independent-analytics'), $page_size); ?>
92 </span>
93 </button>
94 </div>
95 </div>
96