mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-08-26 22:07:19 +02:00
48 lines
1.3 KiB
PHP
48 lines
1.3 KiB
PHP
<?= $this->extend('_layout') ?>
|
|
|
|
<?= $this->section('title') ?>
|
|
<?= $podcast->title ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
<?= $podcast->title ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<div class="grid grid-cols-1 gap-4 lg:grid-cols-2">
|
|
<Charts.Pie title="<?= lang('Charts.by_player_weekly') ?>" dataUrl="<?= route_to(
|
|
'analytics-data',
|
|
$podcast->id,
|
|
'PodcastByPlayer',
|
|
'ByAppWeekly',
|
|
) ?>" />
|
|
<Charts.Pie title="<?= lang('Charts.by_service_weekly') ?>" dataUrl="<?= route_to(
|
|
'analytics-data',
|
|
$podcast->id,
|
|
'PodcastByService',
|
|
'ByServiceWeekly',
|
|
) ?>" />
|
|
<Charts.Pie title="<?= lang('Charts.by_device_weekly') ?>" dataUrl="<?= route_to(
|
|
'analytics-data',
|
|
$podcast->id,
|
|
'PodcastByPlayer',
|
|
'ByDeviceWeekly',
|
|
) ?>" />
|
|
<Charts.Pie title="<?= lang('Charts.by_os_weekly') ?>" dataUrl="<?= route_to(
|
|
'analytics-data',
|
|
$podcast->id,
|
|
'PodcastByPlayer',
|
|
'ByOsWeekly',
|
|
) ?>" />
|
|
<Charts.XY class="col-span-2" title="<?= lang('Charts.podcast_bots') ?>" dataUrl="<?= route_to(
|
|
'analytics-data',
|
|
$podcast->id,
|
|
'PodcastByPlayer',
|
|
'Bots',
|
|
) ?>" />
|
|
</div>
|
|
|
|
<?= service('vite')->asset('js/charts.ts', 'js') ?>
|
|
<?= $this->endSection() ?>
|