mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-09-05 18:29:20 +02:00
35 lines
944 B
PHP
35 lines
944 B
PHP
<?= $this->extend('_layout') ?>
|
|
|
|
<?= $this->section('title') ?>
|
|
<?= $podcast->title ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
<?= $podcast->title ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<div class="mb-12 text-center">
|
|
<h2><?= lang('Charts.daily_listening_time') ?></h2>
|
|
<div class="chart-xy" id="by-day-listening-time-graph" data-chart-type="xy-duration-chart" data-chart-url="<?= route_to(
|
|
'analytics-data',
|
|
$podcast->id,
|
|
'Podcast',
|
|
'TotalListeningTimeByDay',
|
|
) ?>"></div>
|
|
</div>
|
|
|
|
<div class="mb-12 text-center">
|
|
<h2><?= lang('Charts.monthly_listening_time') ?></h2>
|
|
<div class="chart-xy" id="by-month-listening-time-graph" data-chart-type="xy-duration-chart" data-chart-url="<?= route_to(
|
|
'analytics-data',
|
|
$podcast->id,
|
|
'Podcast',
|
|
'TotalListeningTimeByMonth',
|
|
) ?>"></div>
|
|
</div>
|
|
|
|
<?= service('vite')->asset('js/charts.ts', 'js') ?>
|
|
<?= $this->endSection() ?>
|