From e23cfbec1d768af83892ea32e0d3603d4233ee3c Mon Sep 17 00:00:00 2001 From: Scott Sundahl Date: Wed, 20 Nov 2024 16:30:20 -0700 Subject: [PATCH 1/3] it works --- src/routes/index.ts | 15 ++- views_euid/index.hbs | 310 +++++++++++++++++++++++++++++++------------ 2 files changed, 234 insertions(+), 91 deletions(-) diff --git a/src/routes/index.ts b/src/routes/index.ts index bd0926f..b7a3daa 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -68,13 +68,14 @@ const handleEmailPromptSubmission: RequestHandler<{}, z.infer - - - - - - - {{{recaptchaScript}}} - - - - - - -
-
-

- {{__ 'euid-portal-title'}} -

-
-

- {{__ 'euid-this-site-allows-you' }} -

-

- {{__ 'euid-transforms-your-email-address' }} -

-

- {{__ 'euid-by-entering-your-email-below' }} -

- {{#if error}} -

- {{error}} -

- {{/if}} - {{#if message}} -

- {{message}} -

- {{/if}} -
- {{{siteKeyInput}}} - - -
- -
- -
-

- {{__ "euid-for-more-information" }} - {{__ 'euid-privacy-notice'}}. -

- {{__ 'Report-vulnerability'}} - -
- -
- - - + + + + + + + + + + + + + {{{recaptchaScript}}} + + + + + + +
+
+

+ {{__ 'euid-portal-title'}} +

+

+ {{__ 'euid-this-site-allows-you' }} +

+

+ {{__ 'euid-transforms-your-email-address' }} +

+

+ {{__ 'euid-by-entering-your-email-below' }} +

+ {{#if error}} +

+ {{error}} +

+ {{/if}} + {{#if message}} +

+ {{message}} +

+ {{/if}} + {{!--
+ {{{siteKeyInput}}} + + +
+ +
+ +
--}} + +
+ {{{siteKeyInput}}} + + + + + +
+
+ + +
+
+ + +
+
+ + + +
+ +

+ {{__ "euid-for-more-information" }} + {{__ 'euid-privacy-notice'}}. +

+ {{__ 'Report-vulnerability'}} + {{!-- --}} + +
+ + + + + \ No newline at end of file From 9e698054e8d28db3df4dd663919f95fc101a3726 Mon Sep 17 00:00:00 2001 From: Scott Sundahl Date: Thu, 21 Nov 2024 15:28:50 -0700 Subject: [PATCH 2/3] clean up ui and comments --- src/routes/index.ts | 7 ------- views_euid/index.hbs | 35 +++++++---------------------------- 2 files changed, 7 insertions(+), 35 deletions(-) diff --git a/src/routes/index.ts b/src/routes/index.ts index b7a3daa..0a039b6 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -68,13 +68,6 @@ const handleEmailPromptSubmission: RequestHandler<{}, z.infer

{{__ 'euid-portal-title'}} -

{{__ 'euid-this-site-allows-you' }} @@ -85,26 +85,19 @@ {{__ 'euid-by-entering-your-email-below' }}

{{#if error}} -

+

{{error}} + {{#if phoneExample}} +
+ {{__ "For-example"}} {{phoneExample}} + {{/if}}

{{/if}} {{#if message}} -

+

{{message}}

{{/if}} - {{!--
- {{{siteKeyInput}}} - - -
- -
- -
--}}
{{{siteKeyInput}}} @@ -151,20 +144,6 @@ {{__ 'euid-privacy-notice'}}.

{{__ 'Report-vulnerability'}} - {{!-- --}}