mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-08-28 06:37:17 +02:00
c63a077618
- overwrite myth/auth config with castopod app needs - create custom views for users authentication - add admin area bootstrapped by admin controller - shift podcast and episodes crud to admin area - reorganize view layouts - update docs for database migration - add myth-auth to DEPENDENCIES.md closes #11
18 lines
590 B
PHP
18 lines
590 B
PHP
<?= $this->extend('_layout') ?>
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<a class="underline hover:no-underline" href="<?= route_to(
|
|
'podcast',
|
|
$podcast->name
|
|
) ?>">< <?= lang('Episode.back_to_podcast') ?></a>
|
|
<h1 class="text-2xl font-semibold"><?= $episode->title ?></h1>
|
|
<img src="<?= $episode->image_url ?>" alt="Episode cover" class="object-cover w-40 h-40 mb-6" />
|
|
<audio controls preload="none" class="mb-12">
|
|
<source src="<?= $episode->enclosure_url ?>" type="<?= $episode->enclosure_type ?>">
|
|
Your browser does not support the audio tag.
|
|
</audio>
|
|
|
|
<?= $this->endSection()
|
|
?>
|