mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 11:37:46 +02:00
feat: add breadcrumb in admin area
- add Breadcrumb library and service - update authorizations - add missing routes to avoid 404 links in breadcrumb - add svg_helper globally in base controller - update purgecss config to check .ts files closes #17
This commit is contained in:
parent
ed6e953010
commit
7fb1de2cf3
35 changed files with 397 additions and 82 deletions
|
|
@ -1,10 +1,13 @@
|
|||
<header class="<?= $class ?>">
|
||||
<a href="<?= route_to(
|
||||
'admin_home'
|
||||
) ?>" class="inline-flex items-center text-xl">
|
||||
<?= svg('logo-castopod', 'text-3xl mr-2 -ml-2') ?>
|
||||
Admin
|
||||
</a>
|
||||
<div class="w-64">
|
||||
<a href="<?= route_to(
|
||||
'admin_home'
|
||||
) ?>" class="inline-flex items-center text-xl">
|
||||
<?= svg('logo-castopod', 'text-3xl 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="myAccountDropdown" data-popper="button" aria-haspopup="true" aria-expanded="false">
|
||||
Hey <?= user()->username ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue