Loading app/Language/en/Admin.php 0 → 100644 +12 −0 Original line number Diff line number Diff line <?php /** * @copyright 2020 Podlibre * @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3 * @link https://castopod.org/ */ return [ 'dashboard' => 'Admin dashboard', 'welcome_message' => 'Welcome to the admin area!', ]; app/Language/en/AdminNavigation.php +5 −0 Original line number Diff line number Diff line Loading @@ -20,4 +20,9 @@ return [ 'pages' => 'Pages', 'page-list' => 'All pages', 'page-create' => 'New Page', 'account' => [ 'my-account' => 'My account', 'change-password' => 'Change password', 'logout' => 'Logout', ], ]; app/Views/_assets/styles/radioBtn.css +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ } .form-radio-btn + label { @apply px-2 py-1 text-sm text-black bg-white border rounded cursor-pointer; @apply inline-block px-2 py-1 text-sm text-black bg-white border rounded cursor-pointer; &:hover { @apply bg-green-100; Loading app/Views/admin/_layout.php +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ 'pageTitle' ) ?></h1> </div> <div class="flex flex-wrap gap-y-2"><?= $this->renderSection( <div class="flex flex-wrap"><?= $this->renderSection( 'headerRight' ) ?></div> </div> Loading app/Views/admin/_sidebar.php +3 −4 Original line number Diff line number Diff line Loading @@ -52,13 +52,12 @@ $navigation = [ <nav class="absolute z-50 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="right-end"> <a class="px-4 py-1 hover:bg-gray-100" href="<?= route_to( 'my-account' ) ?>">My Account</a> ) ?>"><?= lang('AdminNavigation.account.my-account') ?></a> <a class="px-4 py-1 hover:bg-gray-100" href="<?= route_to( 'change-password' ) ?>">Change password</a> ) ?>"><?= lang('AdminNavigation.account.change-password') ?></a> <a class="px-4 py-1 hover:bg-gray-100" href="<?= route_to( 'logout' ) ?>">Logout</a> ) ?>"><?= lang('AdminNavigation.account.logout') ?></a> </nav> </div> Loading
app/Language/en/Admin.php 0 → 100644 +12 −0 Original line number Diff line number Diff line <?php /** * @copyright 2020 Podlibre * @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3 * @link https://castopod.org/ */ return [ 'dashboard' => 'Admin dashboard', 'welcome_message' => 'Welcome to the admin area!', ];
app/Language/en/AdminNavigation.php +5 −0 Original line number Diff line number Diff line Loading @@ -20,4 +20,9 @@ return [ 'pages' => 'Pages', 'page-list' => 'All pages', 'page-create' => 'New Page', 'account' => [ 'my-account' => 'My account', 'change-password' => 'Change password', 'logout' => 'Logout', ], ];
app/Views/_assets/styles/radioBtn.css +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ } .form-radio-btn + label { @apply px-2 py-1 text-sm text-black bg-white border rounded cursor-pointer; @apply inline-block px-2 py-1 text-sm text-black bg-white border rounded cursor-pointer; &:hover { @apply bg-green-100; Loading
app/Views/admin/_layout.php +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ 'pageTitle' ) ?></h1> </div> <div class="flex flex-wrap gap-y-2"><?= $this->renderSection( <div class="flex flex-wrap"><?= $this->renderSection( 'headerRight' ) ?></div> </div> Loading
app/Views/admin/_sidebar.php +3 −4 Original line number Diff line number Diff line Loading @@ -52,13 +52,12 @@ $navigation = [ <nav class="absolute z-50 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="right-end"> <a class="px-4 py-1 hover:bg-gray-100" href="<?= route_to( 'my-account' ) ?>">My Account</a> ) ?>"><?= lang('AdminNavigation.account.my-account') ?></a> <a class="px-4 py-1 hover:bg-gray-100" href="<?= route_to( 'change-password' ) ?>">Change password</a> ) ?>"><?= lang('AdminNavigation.account.change-password') ?></a> <a class="px-4 py-1 hover:bg-gray-100" href="<?= route_to( 'logout' ) ?>">Logout</a> ) ?>"><?= lang('AdminNavigation.account.logout') ?></a> </nav> </div>