32 lines
796 B
PHP
32 lines
796 B
PHP
<?= $this->extend('_layout') ?>
|
|
|
|
<?= $this->section('title') ?>
|
|
<?= esc($podcast->title) ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
<?= esc($podcast->title) ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<div class="grid grid-cols-1 gap-4 lg:grid-cols-2">
|
|
<Charts.XY class="col-span-1" title="<?= lang('Charts.unique_daily_listeners') ?>" dataUrl="<?= route_to(
|
|
'analytics-data',
|
|
$podcast->id,
|
|
'Podcast',
|
|
'UniqueListenersByDay',
|
|
) ?>"/>
|
|
|
|
<Charts.XY class="col-span-1" title="<?= lang('Charts.unique_monthly_listeners') ?>" dataUrl="<?= route_to(
|
|
'analytics-data',
|
|
$podcast->id,
|
|
'Podcast',
|
|
'UniqueListenersByMonth',
|
|
) ?>"/>
|
|
</div>
|
|
|
|
<?= service('vite')
|
|
->asset('js/charts.ts', 'js') ?>
|
|
<?= $this->endSection() ?>
|