2021-09-02 16:34:25 +00:00
|
|
|
<?= $this->extend('_layout') ?>
|
2020-10-14 10:38:48 +00:00
|
|
|
|
|
|
|
<?= $this->section('title') ?>
|
|
|
|
<?= $podcast->title ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
|
|
<?= $podcast->title ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
2020-10-26 16:13:43 +00:00
|
|
|
<div class="lg:divide-x lg:grid lg:grid-cols-2">
|
2020-10-14 10:38:48 +00:00
|
|
|
<div class="mb-12 mr-6 text-center">
|
|
|
|
<h2><?= lang('Charts.by_country_weekly') ?></h2>
|
|
|
|
<div class="chart-pie" id="by-country-pie" data-chart-type="pie-chart" data-chart-url="<?= route_to(
|
|
|
|
'analytics-data',
|
|
|
|
$podcast->id,
|
|
|
|
'PodcastByCountry',
|
2021-05-06 14:00:48 +00:00
|
|
|
'Weekly',
|
2020-10-14 10:38:48 +00:00
|
|
|
) ?>"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="mb-12 mr-6 text-center">
|
|
|
|
<h2><?= lang('Charts.by_country_yearly') ?></h2>
|
|
|
|
<div class="chart-pie" id="by-country-by-year-pie" data-chart-type="pie-chart" data-chart-url="<?= route_to(
|
|
|
|
'analytics-data',
|
|
|
|
$podcast->id,
|
|
|
|
'PodcastByCountry',
|
2021-05-06 14:00:48 +00:00
|
|
|
'Yearly',
|
2020-10-14 10:38:48 +00:00
|
|
|
) ?>"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="mb-12 mr-6 text-center">
|
|
|
|
<h2><?= lang('Charts.podcast_by_region') ?></h2>
|
|
|
|
<div class="chart-map" id="by-region-map" data-chart-type="map-chart" data-chart-url="<?= route_to(
|
|
|
|
'analytics-full-data',
|
|
|
|
$podcast->id,
|
2021-05-06 14:00:48 +00:00
|
|
|
'PodcastByRegion',
|
2020-10-14 10:38:48 +00:00
|
|
|
) ?>"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2021-07-12 17:47:56 +00:00
|
|
|
<?= service('vite')->asset('js/charts.ts', 'js') ?>
|
2020-10-14 10:38:48 +00:00
|
|
|
<?= $this->endSection() ?>
|