From cda070186d1c6d47309b562d88be5b9201fa3000 Mon Sep 17 00:00:00 2001 From: grandeljay Date: Sun, 12 Jun 2022 14:32:27 +0200 Subject: [PATCH] Remove footer from sidebar --- src/assets/css/default.css | 8 ++++---- src/classes/page.php | 3 +-- src/pages/blog.php | 1 - src/pages/changelog.php | 1 - src/pages/home.php | 1 - src/pages/login-as.php | 1 - src/pages/login.php | 1 - src/pages/logout.php | 1 - src/pages/maintenance.php | 1 - src/pages/post.php | 1 - src/pages/power.php | 1 - src/pages/profile.php | 1 - src/pages/register.php | 1 - src/pages/settings.php | 1 - src/pages/update.php | 1 - src/pages/wishlist.php | 1 - src/pages/wishlists-saved.php | 1 - src/pages/wishlists.php | 1 - 18 files changed, 5 insertions(+), 22 deletions(-) diff --git a/src/assets/css/default.css b/src/assets/css/default.css index 62f56822..e8cd4e93 100644 --- a/src/assets/css/default.css +++ b/src/assets/css/default.css @@ -42,6 +42,10 @@ figure { } } +.ui.vertical.menu.sidebar .ui.footer { + position: static; +} + /** * Progress */ @@ -354,10 +358,6 @@ p .ui.horizontal.label { display: block; } - .pusher > .footer { - display: none; - } - .pusher .menu.attached.desktop { display: none; } diff --git a/src/classes/page.php b/src/classes/page.php index 10001c12..928c25eb 100644 --- a/src/classes/page.php +++ b/src/classes/page.php @@ -569,8 +569,6 @@ class Page - - footer() ?>
@@ -749,6 +747,7 @@ class Page public function bodyEnd(): void { + $this->footer(); ?>
diff --git a/src/pages/blog.php b/src/pages/blog.php index 83812eb4..3199af17 100644 --- a/src/pages/blog.php +++ b/src/pages/blog.php @@ -64,6 +64,5 @@ $posts = Blog::getPosts(); footer(); $page->bodyEnd(); ?> diff --git a/src/pages/changelog.php b/src/pages/changelog.php index 55e9318a..53431178 100644 --- a/src/pages/changelog.php +++ b/src/pages/changelog.php @@ -100,6 +100,5 @@ $page->navigation(); footer(); $page->bodyEnd(); ?> diff --git a/src/pages/home.php b/src/pages/home.php index 687f34d8..29de515a 100644 --- a/src/pages/home.php +++ b/src/pages/home.php @@ -117,5 +117,4 @@ $page->navigation(); footer(); $page->bodyEnd(); diff --git a/src/pages/login-as.php b/src/pages/login-as.php index 81435e7a..efbcda4a 100644 --- a/src/pages/login-as.php +++ b/src/pages/login-as.php @@ -60,5 +60,4 @@ $page->navigation(); footer(); $page->bodyEnd(); diff --git a/src/pages/login.php b/src/pages/login.php index 2099d1c6..109fd1f7 100644 --- a/src/pages/login.php +++ b/src/pages/login.php @@ -193,5 +193,4 @@ $page->navigation(); footer(); $page->bodyEnd(); diff --git a/src/pages/logout.php b/src/pages/logout.php index 132f2215..346af798 100644 --- a/src/pages/logout.php +++ b/src/pages/logout.php @@ -32,5 +32,4 @@ $page->navigation(); footer(); $page->bodyEnd(); diff --git a/src/pages/maintenance.php b/src/pages/maintenance.php index 9b97b83a..a25fa874 100644 --- a/src/pages/maintenance.php +++ b/src/pages/maintenance.php @@ -26,6 +26,5 @@ $page->navigation(); footer(); $page->bodyEnd(); ?> diff --git a/src/pages/post.php b/src/pages/post.php index ed3a7e5f..4f5164d0 100644 --- a/src/pages/post.php +++ b/src/pages/post.php @@ -47,6 +47,5 @@ $page->navigation(); footer(); $page->bodyEnd(); ?> diff --git a/src/pages/power.php b/src/pages/power.php index 067a0208..182d3523 100644 --- a/src/pages/power.php +++ b/src/pages/power.php @@ -26,6 +26,5 @@ $page->navigation(); footer(); $page->bodyEnd(); ?> diff --git a/src/pages/profile.php b/src/pages/profile.php index fa19b781..2cd3ad0d 100644 --- a/src/pages/profile.php +++ b/src/pages/profile.php @@ -407,6 +407,5 @@ $page->navigation(); footer(); $page->bodyEnd(); ?> diff --git a/src/pages/register.php b/src/pages/register.php index 2c617097..361ad291 100644 --- a/src/pages/register.php +++ b/src/pages/register.php @@ -240,5 +240,4 @@ $page->navigation(); footer(); $page->bodyEnd(); diff --git a/src/pages/settings.php b/src/pages/settings.php index 012da97b..996c750d 100644 --- a/src/pages/settings.php +++ b/src/pages/settings.php @@ -59,6 +59,5 @@ if (isset($_POST['mjml_api'], $_POST['api_key'], $_POST['api_secret'])) { footer(); $page->bodyEnd(); ?> diff --git a/src/pages/update.php b/src/pages/update.php index aceb7dfd..96b13c66 100644 --- a/src/pages/update.php +++ b/src/pages/update.php @@ -81,6 +81,5 @@ $page->navigation(); footer(); $page->bodyEnd(); ?> diff --git a/src/pages/wishlist.php b/src/pages/wishlist.php index 0c9a4407..63e793ed 100644 --- a/src/pages/wishlist.php +++ b/src/pages/wishlist.php @@ -90,6 +90,5 @@ $page->navigation(); footer(); $page->bodyEnd(); ?> diff --git a/src/pages/wishlists-saved.php b/src/pages/wishlists-saved.php index 8ccb3eac..09fd7d3a 100644 --- a/src/pages/wishlists-saved.php +++ b/src/pages/wishlists-saved.php @@ -40,5 +40,4 @@ $page->navigation(); footer(); $page->bodyEnd(); diff --git a/src/pages/wishlists.php b/src/pages/wishlists.php index 0f3959c6..26cb776d 100644 --- a/src/pages/wishlists.php +++ b/src/pages/wishlists.php @@ -249,5 +249,4 @@ $page->navigation(); footer(); $page->bodyEnd();