mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-22 16:51:20 +00:00
39 lines
1.0 KiB
PHP
39 lines
1.0 KiB
PHP
<?= $this->extend('_layout') ?>
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
<?= esc($podcast->title) ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<div class="grid grid-cols-1 gap-4 lg:grid-cols-2">
|
|
<x-Charts.Pie title="<?= lang('Charts.by_domain_weekly') ?>" dataUrl="<?= route_to(
|
|
'analytics-data',
|
|
$podcast->id,
|
|
'WebsiteByReferer',
|
|
'ByDomainWeekly',
|
|
) ?>" />
|
|
<x-Charts.Pie title="<?= lang('Charts.by_domain_yearly') ?>" dataUrl="<?= route_to(
|
|
'analytics-data',
|
|
$podcast->id,
|
|
'WebsiteByReferer',
|
|
'ByDomainYearly',
|
|
) ?>" />
|
|
<x-Charts.Pie title="<?= lang('Charts.by_entry_page') ?>" dataUrl="<?= route_to(
|
|
'analytics-full-data',
|
|
$podcast->id,
|
|
'WebsiteByEntryPage',
|
|
) ?>" />
|
|
<x-Charts.Pie title="<?= lang('Charts.by_browser') ?>" dataUrl="<?= route_to(
|
|
'analytics-full-data',
|
|
$podcast->id,
|
|
'WebsiteByBrowser',
|
|
) ?>" />
|
|
</div>
|
|
|
|
|
|
|
|
<?= service('vite')
|
|
->asset('js/charts.ts', 'js') ?>
|
|
<?= $this->endSection() ?>
|