mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-09-06 10:49:20 +02:00
54 lines
1.4 KiB
PHP
54 lines
1.4 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="mb-12 text-center">
|
|
<h2><?= lang('Charts.podcast_by_day') ?></h2>
|
|
<div class="chart-xy" id="by-day-graph" data-chart-type="xy-chart" data-chart-url="<?= route_to(
|
|
'analytics-data',
|
|
$podcast->id,
|
|
'Podcast',
|
|
'ByDay'
|
|
) ?>"></div>
|
|
</div>
|
|
|
|
<div class="mb-12 text-center">
|
|
<h2><?= lang('Charts.podcast_by_month') ?></h2>
|
|
<div class="chart-xy" id="by-month-graph" data-chart-type="xy-chart" data-chart-url="<?= route_to(
|
|
'analytics-data',
|
|
$podcast->id,
|
|
'Podcast',
|
|
'ByMonth'
|
|
) ?>"></div>
|
|
</div>
|
|
|
|
<div class="mb-12 text-center">
|
|
<h2><?= lang('Charts.podcast_by_bandwidth') ?></h2>
|
|
<div class="chart-xy" id="by-bandwidth-graph" data-chart-type="xy-chart" data-chart-url="<?= route_to(
|
|
'analytics-data',
|
|
$podcast->id,
|
|
'Podcast',
|
|
'BandwidthByDay'
|
|
) ?>"></div>
|
|
</div>
|
|
|
|
<div class="mb-12 text-center">
|
|
<h2><?= lang('Charts.episodes_by_day') ?></h2>
|
|
<div class="chart-xy" id="by-age-graph" data-chart-type="xy-series-chart" data-chart-url="<?= route_to(
|
|
'analytics-data',
|
|
$podcast->id,
|
|
'PodcastByEpisode',
|
|
'ByDay'
|
|
) ?>"></div>
|
|
</div>
|
|
|
|
<script src="/assets/charts.js" type="module"></script>
|
|
<?= $this->endSection() ?>
|