From 59c1405c7d4d014ff693ef6f44400ea06318dc69 Mon Sep 17 00:00:00 2001 From: maTh Date: Sun, 26 Mar 2023 14:18:05 +0200 Subject: [PATCH] TOS in footer (#5222) * footer added * register page --- app/views/auth/formLogin.phtml | 13 ++++++++++--- app/views/auth/register.phtml | 9 +++++++-- app/views/index/about.phtml | 8 ++++++++ app/views/index/tos.phtml | 6 ++++++ p/themes/base-theme/frss.css | 14 ++++++++++++-- p/themes/base-theme/frss.rtl.css | 14 ++++++++++++-- 6 files changed, 55 insertions(+), 9 deletions(-) diff --git a/app/views/auth/formLogin.phtml b/app/views/auth/formLogin.phtml index 872caac02..29f98d20b 100644 --- a/app/views/auth/formLogin.phtml +++ b/app/views/auth/formLogin.phtml @@ -3,7 +3,9 @@

- +
@@ -39,6 +41,11 @@
- -

+ + diff --git a/app/views/auth/register.phtml b/app/views/auth/register.phtml index 999b2406a..98276452f 100644 --- a/app/views/auth/register.phtml +++ b/app/views/auth/register.phtml @@ -77,6 +77,11 @@ - -

+ + diff --git a/app/views/index/about.phtml b/app/views/index/about.phtml index 41c0b1c72..1966c1f6b 100644 --- a/app/views/index/about.phtml +++ b/app/views/index/about.phtml @@ -45,3 +45,11 @@

+ + + + diff --git a/app/views/index/tos.phtml b/app/views/index/tos.phtml index 24610ed9f..8a9c2f583 100644 --- a/app/views/index/tos.phtml +++ b/app/views/index/tos.phtml @@ -27,3 +27,9 @@

terms_of_service ?> + + + + diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index a284c53a6..77773a1cd 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -63,7 +63,7 @@ html, body { } main.prompt { - margin: 3rem auto; + margin: 3rem auto 0; padding: 2rem; max-width: 400px; min-width: 300px; @@ -71,6 +71,17 @@ main.prompt { text-align: center; } +main.prompt .link-registration { + padding: 1rem 0 0; + margin-bottom: 3rem; +} + +footer.main-footer { + margin: 0 2rem 2rem; + padding: 1rem; + text-align: center; +} + /*=== Links */ a { text-decoration: none; @@ -367,7 +378,6 @@ td.numeric { .prompt form { margin-top: 2rem; - margin-bottom: 3rem; text-align: left; } diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 8c1109adc..40f4d31f7 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -63,7 +63,7 @@ html, body { } main.prompt { - margin: 3rem auto; + margin: 3rem auto 0; padding: 2rem; max-width: 400px; min-width: 300px; @@ -71,6 +71,17 @@ main.prompt { text-align: center; } +main.prompt .link-registration { + padding: 1rem 0 0; + margin-bottom: 3rem; +} + +footer.main-footer { + margin: 0 2rem 2rem; + padding: 1rem; + text-align: center; +} + /*=== Links */ a { text-decoration: none; @@ -367,7 +378,6 @@ td.numeric { .prompt form { margin-top: 2rem; - margin-bottom: 3rem; text-align: right; }