mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-05 08:52:00 +00:00

- bundle js using parcel - add markdown editor, html editor, dropdown and tooltip features using third-party packages - integrate optimized inline svg icons from RemixIcon using svgo and a php helper - add scripts in package.json to bundle icons, images, css and js - update tailwind config to add purgecss lookups and typography plugin - refactor views to add missing pages in user journey - update admin's holy grail layout using css grid
31 lines
889 B
PHP
31 lines
889 B
PHP
<?php helper('html'); ?>
|
|
|
|
<?= $this->extend('admin/_layout') ?>
|
|
|
|
<?= $this->section('title') ?>
|
|
<?= lang('Podcast.all_podcasts') ?> (<?= count($all_podcasts) ?>)
|
|
<a class="inline-flex items-center px-2 py-1 mb-2 ml-4 text-sm text-white bg-green-500 rounded shadow-xs outline-none hover:bg-green-600 focus:shadow-outline" href="<?= route_to(
|
|
'podcast_create'
|
|
) ?>">
|
|
<?= icon('add', 'mr-2') ?>
|
|
<?= lang('Podcast.create') ?></a>
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<div class="flex flex-wrap">
|
|
<?php if ($all_podcasts): ?>
|
|
<?php foreach ($all_podcasts as $podcast): ?>
|
|
<?= view('admin/_partials/_podcast-card', [
|
|
'podcast' => $podcast,
|
|
]) ?>
|
|
<?php endforeach; ?>
|
|
<?php else: ?>
|
|
<p class="italic"><?= lang('Podcast.no_podcast') ?></p>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<?= $this->endSection()
|
|
?>
|