mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-09-03 01:17:19 +02:00
- set and remove platform links for a podcast - remove unnecessary fields from platforms and platform_links tables - add platforms svg icons to show in form - update platform and auth seeders - update svgo config for images
28 lines
1.3 KiB
PHP
28 lines
1.3 KiB
PHP
<header class="<?= $class ?>">
|
|
<div class="w-64">
|
|
<a href="<?= route_to(
|
|
'admin'
|
|
) ?>" class="inline-flex items-center text-xl">
|
|
<?= svg('logo-castopod', 'h-10 mr-2') ?>
|
|
Admin
|
|
</a>
|
|
</div>
|
|
<?= render_breadcrumb() ?>
|
|
<div class="relative ml-auto" data-toggle="dropdown">
|
|
<button type="button" class="inline-flex items-center px-2 py-1 outline-none focus:shadow-outline" id="my-accountDropdown" data-popper="button" aria-haspopup="true" aria-expanded="false">
|
|
Hey <?= user()->username ?>
|
|
<?= icon('caret-down', 'ml-2') ?>
|
|
</button>
|
|
<nav class="absolute z-10 flex-col hidden py-2 text-black whitespace-no-wrap bg-white border rounded shadow" aria-labelledby="my-accountDropdown" data-popper="menu" data-popper-placement="bottom-end">
|
|
<a class="px-4 py-1 hover:bg-gray-100" href="<?= route_to(
|
|
'my-account'
|
|
) ?>">My Account</a>
|
|
<a class="px-4 py-1 hover:bg-gray-100" href="<?= route_to(
|
|
'change-password'
|
|
) ?>">Change password</a>
|
|
<a class="px-4 py-1 hover:bg-gray-100" href="<?= route_to(
|
|
'logout'
|
|
) ?>">Logout</a>
|
|
</nav>
|
|
</div>
|
|
</header>
|