mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-12 01:05:47 +00:00
62 lines
1.7 KiB
PHP
62 lines
1.7 KiB
PHP
![]() |
<?= $this->extend('admin/_layout') ?>
|
||
|
|
||
|
<?= $this->section('title') ?>
|
||
|
<?= $podcast->title ?>
|
||
|
<?= $this->endSection() ?>
|
||
|
|
||
|
<?= $this->section('pageTitle') ?>
|
||
|
<?= $podcast->title ?>
|
||
|
<?= $this->endSection() ?>
|
||
|
|
||
|
<?= $this->section('content') ?>
|
||
|
|
||
|
<div class="grid grid-cols-2 divide-x">
|
||
|
|
||
|
<div class="mb-12 mr-6 text-center">
|
||
|
<h2><?= lang('Charts.by_domain_weekly') ?></h2>
|
||
|
<div class="chart-pie" id="by-domain-weekly-pie" data-chart-type="pie-chart" data-chart-url="<?= route_to(
|
||
|
'analytics-data',
|
||
|
$podcast->id,
|
||
|
'WebsiteByReferer',
|
||
|
'ByDomainWeekly'
|
||
|
) ?>"></div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="mb-12 mr-6 text-center">
|
||
|
<h2><?= lang('Charts.by_domain_yearly') ?></h2>
|
||
|
<div class="chart-pie" id="by-domain-yearly-pie" data-chart-type="pie-chart" data-chart-url="<?= route_to(
|
||
|
'analytics-data',
|
||
|
$podcast->id,
|
||
|
'WebsiteByReferer',
|
||
|
'ByDomainYearly'
|
||
|
) ?>"></div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="mb-12 mr-6 text-center">
|
||
|
<h2><?= lang('Charts.by_entry_page') ?></h2>
|
||
|
<div class="chart-pie" id="by-entry-page-pie" data-chart-type="pie-chart" data-chart-url="<?= route_to(
|
||
|
'analytics-full-data',
|
||
|
$podcast->id,
|
||
|
'WebsiteByEntryPage'
|
||
|
) ?>"></div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="mb-12 mr-6 text-center">
|
||
|
<h2><?= lang('Charts.by_browser') ?></h2>
|
||
|
<div class="chart-pie" id="by-browser-pie" data-chart-type="pie-chart" data-chart-url="<?= route_to(
|
||
|
'analytics-full-data',
|
||
|
$podcast->id,
|
||
|
'WebsiteByBrowser'
|
||
|
) ?>"></div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
<script src="/assets/charts.js" type="module"></script>
|
||
|
<?= $this->endSection() ?>
|