From e22eb52c8b591cbfb8c14d5f9030d0c48267d369 Mon Sep 17 00:00:00 2001 From: codecalm Date: Sat, 14 Nov 2020 21:17:43 +0100 Subject: [PATCH] single pages --- src/pages/_data/menu.yml | 3 + src/pages/_includes/cards/auth-lock.html | 22 +++++++ .../_includes/cards/forgot-password.html | 6 +- src/pages/_includes/cards/sign-in.html | 12 ++-- src/pages/_includes/cards/sign-up.html | 2 +- src/pages/_includes/terms-of-service.md | 60 +++++++++++++++++++ src/pages/_includes/ui/form/input-group.html | 2 +- src/pages/_layouts/single.html | 2 +- src/pages/auth-lock.html | 7 +++ src/pages/terms-of-service.html | 15 +++++ src/scss/_variables.scss | 2 +- src/scss/ui/_forms.scss | 2 - 12 files changed, 120 insertions(+), 15 deletions(-) create mode 100644 src/pages/_includes/cards/auth-lock.html create mode 100644 src/pages/_includes/terms-of-service.md create mode 100644 src/pages/auth-lock.html diff --git a/src/pages/_data/menu.yml b/src/pages/_data/menu.yml index 79fc826b1..81b09b146 100644 --- a/src/pages/_data/menu.yml +++ b/src/pages/_data/menu.yml @@ -93,6 +93,9 @@ base: terms-of-service: title: Terms of service url: terms-of-service.html + auth-lock: + title: Lock screen + url: auth-lock.html error: title: Error pages diff --git a/src/pages/_includes/cards/auth-lock.html b/src/pages/_includes/cards/auth-lock.html new file mode 100644 index 000000000..dd4676195 --- /dev/null +++ b/src/pages/_includes/cards/auth-lock.html @@ -0,0 +1,22 @@ +{% assign person = site.data.people[0] %} +
+
+
+

Account Locked

+

Please enter your password to unlock your account

+
+ +
+ {% include ui/avatar.html person=person size="xl" class="mb-3" %} +

{{ person.full_name }}

+
+ +
+ +
+ +
+ {% include ui/button.html color="primary" block=true icon="lock-open" text="Unlock" %} +
+
+
\ No newline at end of file diff --git a/src/pages/_includes/cards/forgot-password.html b/src/pages/_includes/cards/forgot-password.html index 73fef105c..61bb7f69f 100644 --- a/src/pages/_includes/cards/forgot-password.html +++ b/src/pages/_includes/cards/forgot-password.html @@ -1,15 +1,15 @@
-

Forgot password

+

Forgot password

-

Enter your email address and your password will be reset and emailed to you.

+

Enter your email address and your password will be reset and emailed to you.

diff --git a/src/pages/_includes/cards/sign-in.html b/src/pages/_includes/cards/sign-in.html index ee3cfd137..a3855799b 100644 --- a/src/pages/_includes/cards/sign-in.html +++ b/src/pages/_includes/cards/sign-in.html @@ -1,10 +1,10 @@ -
+
-

Login to your account

+

Login to your account

- +