PluginProbe ʕ •ᴥ•ʔ
Independent Analytics – WordPress Analytics Plugin / 2.0.0
Independent Analytics – WordPress Analytics Plugin v2.0.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 / real_time.blade.php
independent-analytics / views Last commit date
email 2 years ago icons 2 years ago interrupt 2 years ago learn 2 years ago partials 2 years ago settings 2 years ago tables 2 years ago campaign-builder.blade.php 2 years ago quick-stats.blade.php 2 years ago real_time.blade.php 2 years ago
real_time.blade.php
96 lines
1 <div id="real-time-dashboard" class="real-time-dashboard refreshed"
2 data-controller="real-time"
3 data-real-time-chart-data-value="<?php esc_attr_e(json_encode($chart_data)) ?>"
4 data-real-time-nonce-value="<?php echo wp_create_nonce('iawp_real_time') ?>"
5 >
6 <div class="iawp-heading">
7 <div class="iawp-title">
8 <div class="iawp-title-inner">
9 <svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1"
10 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
11 <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
12 <g>
13 <circle class="recording-icon-outer" fill="#F2998F" cx="16" cy="16"
14 r="16"></circle>
15 <circle class="recording-icon-inner" fill="#D93B29" cx="16" cy="16"
16 r="9.70491803"></circle>
17 </g>
18 </g>
19 </svg>
20 <span data-real-time-target="visitorMessage" data-testid="real-time-title"><?php esc_html_e($visitor_message) ?></span>
21 <a class="learn-more" href="#">
22 <span class="dashicons dashicons-info-outline"></span>
23 <div class="tooltip">
24 <p><?php esc_html_e('Active Visitors is the number of people who have viewed a page within the last 5 minutes.', 'independent-analytics'); ?></p>
25 </div>
26 </a>
27 </div>
28 </div>
29 <div class="iawp-overview"><span
30 data-real-time-target="pageMessage" data-testid="page-count"><?php esc_html_e($page_message) ?></span>
31 &#8226; <span
32 data-real-time-target="referrerMessage" data-testid="referrer-count"><?php esc_html_e($referrer_message); ?></span>
33 &#8226; <span
34 data-real-time-target="countryMessage" data-testid="country-count"><?php esc_html_e($country_message) ?></span>
35 </div>
36 </div>
37
38 <div id="charts" class="charts">
39 <div class="chart-container">
40 <div class="chart-inner">
41 <div class="legend-container">
42 <h2 class="legend-title"><?php esc_html_e('The Last 5 Minutes', 'independent-analytics') ?></h2>
43 <div class="legend"></div>
44 </div>
45 <canvas data-real-time-target="secondChart"
46 width="400"
47 height="200"></canvas>
48 </div>
49 </div>
50 <div class="chart-container">
51 <div class="chart-inner">
52 <div class="legend-container">
53 <h2 class="legend-title"><?php esc_html_e('The Last 30 Minutes', 'independent-analytics') ?></h2>
54 <div class="legend"></div>
55 </div>
56 <canvas data-real-time-target="minuteChart"
57 width="400"
58 height="200"></canvas>
59 </div>
60 </div>
61 </div>
62 <div class="most-popular-container">
63 <?php foreach ($lists as $list_id => $list) : ?>
64 <div class="most-popular-list" data-testid="<?php esc_attr_e(sanitize_title($list['title'])); ?>">
65 <div class="heading">
66 <div class="title-med"><?php esc_html_e($list['title']) ?></div>
67 <div class="views-heading"><?php esc_html_e('Views', 'independent-analytics'); ?></div>
68 </div>
69 <ol data-real-time-target="<?php esc_attr_e($list_id) ?>List">
70 <?php foreach ($list['entries'] as $index => $item): ?>
71 <li data-id="<?php esc_attr_e($item['id']) ?>"
72 data-position="<?php esc_attr_e($index + 1); ?>"
73 >
74 <span class="real-time-position"><?php echo absint($index + 1) ?>.</span>
75 <?php if (!empty($item['flag'])): ?>
76 <?php echo $item['flag'] ?>
77 <?php endif; ?>
78 <span class="real-time-resource">
79 <?php esc_html_e($item['title']) ?>
80
81 <?php if (!empty($item['subtitle'])): ?>
82 <span class="real-time-subtitle"><?php esc_html_e($item['subtitle']); ?></span>
83 <?php endif; ?>
84 </span>
85 <span class="real-time-stat"><?php echo absint($item['views']) ?></span>
86 </li>
87 <?php endforeach; ?>
88 </ol>
89 <p class="most-popular-empty-message <?php echo count($list['entries']) > 0 ? esc_attr('hide') : '' ?>"><?php esc_html_e('No results in the last 5 minutes.', 'independent-analytics') ?></p>
90 </div>
91 <?php endforeach; ?>
92 </div>
93 <div id="progress-bar" class="progress-bar">
94 <div class="inner"></div>
95 </div>
96 </div>