click-tracking
11 months ago
date-picker
11 months ago
email
1 year ago
examiner
11 months ago
icons
11 months ago
integrations
11 months ago
interrupt
11 months ago
notices
11 months ago
overview
11 months ago
partials
11 months ago
settings
11 months ago
tables
11 months ago
campaign-builder.blade.php
11 months ago
chart.blade.php
11 months ago
debug.blade.php
11 months ago
plugin-group-options.blade.php
11 months ago
quick-stat-loading.blade.php
11 months ago
quick-stat.blade.php
11 months ago
quick-stats.blade.php
11 months ago
real-time.blade.php
11 months ago
support.blade.php
1 year ago
updates.blade.php
11 months ago
quick-stat.blade.php
26 lines
| 1 | <div class="iawp-stat <?php echo esc_attr($id); ?> <?php echo $is_visible ? 'visible' : ''; ?>" |
| 2 | data-id="<?php echo esc_attr($id); ?>" data-quick-stats-target="quickStat"> |
| 3 | <div class="metric"> |
| 4 | <span class="metric-name"><?php echo esc_html($name); ?></span> |
| 5 | <?php if(!is_null($icon)) : ?> |
| 6 | <span class="plugin-label"><?php echo iawp_icon($icon); ?></span> |
| 7 | <?php endif; ?> |
| 8 | </div> |
| 9 | <div class="values"> |
| 10 | <span class="count" |
| 11 | test-value="<?php echo esc_attr(strip_tags($formatted_value)); ?>"> |
| 12 | <?php echo wp_kses($formatted_value, ['span' => []]); |
| 13 | if ($formatted_unfiltered_value) : ?> |
| 14 | <span class="unfiltered"> / <?php echo wp_kses($formatted_unfiltered_value, ['span' => []]); ?></span> |
| 15 | <?php endif; ?> |
| 16 | </span> |
| 17 | </div> |
| 18 | <span class="growth"> |
| 19 | <span class="percentage <?php echo esc_attr($growth_html_class); ?>" |
| 20 | test-value="<?php echo esc_attr($growth); ?>"> |
| 21 | <span class="dashicons dashicons-arrow-up-alt growth-arrow"></span> |
| 22 | <?php echo esc_html($formatted_growth); ?> |
| 23 | </span> |
| 24 | <span class="period-label"><?php echo esc_html__('vs. previous period', 'independent-analytics'); ?></span> |
| 25 | </span> |
| 26 | </div> |