mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 03:27:45 +02:00
refactor: rewrite form pages using form helper
- add installGateway to app config - update route names and groups - remove `author_name` and `author_email` from `episodes` table - remove `author_name` and `author_email` from `podcasts` table - remove `owner_id` + add `created_by` and `updated_by` fields in `podcasts` and `episodes` tables - remove unnecessary comments in database fields - remove confirm password inputs from auth forms for better ux - rename `pub_date` field to `published_at` and add publication time field in episode form closes #14, #28
This commit is contained in:
parent
012de2072e
commit
a1a28de702
59 changed files with 1580 additions and 1158 deletions
|
|
@ -9,16 +9,16 @@
|
|||
</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">
|
||||
<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="myAccountDropdown" data-popper="menu" data-popper-placement="bottom-end">
|
||||
<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(
|
||||
'myAccount'
|
||||
'my-account'
|
||||
) ?>">My Account</a>
|
||||
<a class="px-4 py-1 hover:bg-gray-100" href="<?= route_to(
|
||||
'myAccount_change-password'
|
||||
'change-password'
|
||||
) ?>">Change password</a>
|
||||
<a class="px-4 py-1 hover:bg-gray-100" href="<?= route_to(
|
||||
'logout'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue