From 807739cae6cfc6f4cd7e3089aa67b61dab9e2646 Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Thu, 15 Jun 2023 19:50:44 -0400 Subject: [PATCH] Lots of template work - Luminate, G2, Crayon. Added Mizuno Running's script. Small changes to notes. --- .../_onboarding_cards_course.html.liquid | 34 ++++ .../Crayon/onboarding.html.liquid | 6 +- .../Crayon/styles.css.liquid | 21 +++ .../G2/_modal_popup.html.liquid | 160 +++++++++++++++++ .../Norm_sandbox_1/_modal_popup.html.liquid | 162 ++++++++++++++++++ .../Norm_sandbox_1/homepage.html.liquid | 3 +- .../Norm_sandbox_1/styles.css.liquid | 62 +++---- .../Norm_sandbox_2/community.html.liquid | 2 +- CustomerNotes/LarsonTexts.md | 13 ++ Scripts/API_Tests/getuuid_from_email.py | 3 +- .../Mizuno_running_props/.clasp.json | 1 + .../MizunoRunning-getprops.js | 87 ++++++++++ .../Mizuno_running_props/appsscript.json | 7 + 13 files changed, 523 insertions(+), 38 deletions(-) create mode 100644 Custom_Templates/customer_templates/Crayon/_onboarding_cards_course.html.liquid create mode 100644 Custom_Templates/customer_templates/G2/_modal_popup.html.liquid create mode 100644 Custom_Templates/customer_templates/Norm_sandbox_1/_modal_popup.html.liquid create mode 100644 Scripts/GoogleScripts/Mizuno_running_props/.clasp.json create mode 100644 Scripts/GoogleScripts/Mizuno_running_props/MizunoRunning-getprops.js create mode 100644 Scripts/GoogleScripts/Mizuno_running_props/appsscript.json diff --git a/Custom_Templates/customer_templates/Crayon/_onboarding_cards_course.html.liquid b/Custom_Templates/customer_templates/Crayon/_onboarding_cards_course.html.liquid new file mode 100644 index 00000000..959fb9d9 --- /dev/null +++ b/Custom_Templates/customer_templates/Crayon/_onboarding_cards_course.html.liquid @@ -0,0 +1,34 @@ +
+
+ {% if course.ribbon %} +
+ {{ course.ribbon }} +
+ {% endif %} + {{ course.name }} +
+

+ {{ course.name }} +

+
+ {{ course.instructor_names }} +
+ +
+
+
diff --git a/Custom_Templates/customer_templates/Crayon/onboarding.html.liquid b/Custom_Templates/customer_templates/Crayon/onboarding.html.liquid index e0163b86..ec5ad20a 100644 --- a/Custom_Templates/customer_templates/Crayon/onboarding.html.liquid +++ b/Custom_Templates/customer_templates/Crayon/onboarding.html.liquid @@ -25,12 +25,12 @@ {{ homepage.featured_courses_subheadline }} - {% if courses.in_catalog.any? %} + {% if courses.enrolled.any? %} diff --git a/Custom_Templates/customer_templates/Crayon/styles.css.liquid b/Custom_Templates/customer_templates/Crayon/styles.css.liquid index 1bff6036..64640302 100644 --- a/Custom_Templates/customer_templates/Crayon/styles.css.liquid +++ b/Custom_Templates/customer_templates/Crayon/styles.css.liquid @@ -38,6 +38,27 @@ body, html, div { .red-btn { background: #d94a66; + } + +.onboarding-course-title { + color: white; +} + +.onboarding-course-subtitle { + color:white; +} + +.onboarding-course-card { + background: #0538BF; +} + +.onboarding-course-button { + background-color: #89D9E1; + color: #0538BF; +} + +.np-card-content-progress { + color: white; } /* ------------------------------------------------------------------------------------------------------ */ /* Login Page Styles */ diff --git a/Custom_Templates/customer_templates/G2/_modal_popup.html.liquid b/Custom_Templates/customer_templates/G2/_modal_popup.html.liquid new file mode 100644 index 00000000..7767d470 --- /dev/null +++ b/Custom_Templates/customer_templates/G2/_modal_popup.html.liquid @@ -0,0 +1,160 @@ + + + + + + + + +{% if current_person.signed_in? %} + {% unless current_person.email contains "+preview" %} + + {% endunless %} +{% endif %} + + + + diff --git a/Custom_Templates/customer_templates/Norm_sandbox_1/_modal_popup.html.liquid b/Custom_Templates/customer_templates/Norm_sandbox_1/_modal_popup.html.liquid new file mode 100644 index 00000000..ea4b8b07 --- /dev/null +++ b/Custom_Templates/customer_templates/Norm_sandbox_1/_modal_popup.html.liquid @@ -0,0 +1,162 @@ + + + + + + + + + +{% if current_person.signed_in? %} + {% unless current_person.email contains "+preview" %} + + {% endunless %} +{% endif %} + + + + diff --git a/Custom_Templates/customer_templates/Norm_sandbox_1/homepage.html.liquid b/Custom_Templates/customer_templates/Norm_sandbox_1/homepage.html.liquid index cd6c6d30..5930cda2 100644 --- a/Custom_Templates/customer_templates/Norm_sandbox_1/homepage.html.liquid +++ b/Custom_Templates/customer_templates/Norm_sandbox_1/homepage.html.liquid @@ -10,7 +10,7 @@
- +
{{ homepage.subheadline }} @@ -57,7 +57,6 @@ {% include "section_faqs" %} {% include "section_instructors" %} - {% include "footer" %} diff --git a/Custom_Templates/customer_templates/Norm_sandbox_1/styles.css.liquid b/Custom_Templates/customer_templates/Norm_sandbox_1/styles.css.liquid index 5397df18..53ba188b 100644 --- a/Custom_Templates/customer_templates/Norm_sandbox_1/styles.css.liquid +++ b/Custom_Templates/customer_templates/Norm_sandbox_1/styles.css.liquid @@ -30,22 +30,22 @@ 3.6 - COURSE CARD 3.7 - LEARNING PATH CARD 3.8 - TRAINING EVENT CARD - 3.9 - COURSE BANNER + 3.9 - COURSE BANNER 3.10 - COURSE DETAILS 3.11 - COURSE OUTLINE 3.12 - FILTER DROPDOWN 3.13 - CAROUSEL - GLOBAL STYLES 3.14 - CAROUSEL - EVENTS 3.15 - CAROUSEL - COURSES - 3.16 - CAROUSEL - INSTRUCTORS - 3.17 - HOMEPAGE SECTION - FEATURED PHOTOGRAPHY + 3.16 - CAROUSEL - INSTRUCTORS + 3.17 - HOMEPAGE SECTION - FEATURED PHOTOGRAPHY 3.18 - HOMEPAGE SECTION - TIPS & TRICKS 3.19 - HOMEPAGE SECTION - FAQS 3.20 - HOMEPAGE SECTION - FEATURED COURSES */ /* - 1.0 GLOBAL SYLING + 1.0 GLOBAL SYLING */ body { background: #1d1f21; @@ -183,12 +183,12 @@ div { } } -/* - 2.0 - PAGE SPECIFIC STYLING +/* + 2.0 - PAGE SPECIFIC STYLING */ -/* - 2.1 - HOMEPAGE +/* + 2.1 - HOMEPAGE */ .np-homepage-hero-image { height: 250px; @@ -321,8 +321,8 @@ div { } } -/* - 2.2 - DASHBOARD PAGE +/* + 2.2 - DASHBOARD PAGE */ .np-dashboard { @@ -367,8 +367,8 @@ div { } } -/* - 2.3 - CATALOG +/* + 2.3 - CATALOG */ .np-catalog .np-progress-filter-wrapper, @@ -391,8 +391,8 @@ div { } } -/* - 2.4 - COURSE COVER PAGE +/* + 2.4 - COURSE COVER PAGE */ #course-desktop .np-course-content { background: #1d1f21; @@ -501,8 +501,8 @@ div { text-transform: uppercase; } -/* - 2.7 - LEARNING PATH COVER PAGE +/* + 2.7 - LEARNING PATH COVER PAGE */ .np-learning-path-outline-inactive-item { @@ -520,11 +520,11 @@ div { border-radius: 0; } -/* - 3.0 - COMPONENT SPECIFIC STYLING +/* + 3.0 - COMPONENT SPECIFIC STYLING */ -/* +/* 3.1 - HEADER */ .np-header { @@ -552,8 +552,8 @@ div { } } -/* - 3.2 - SUB NAV +/* + 3.2 - SUB NAV */ .np-sub-navigation { @@ -591,7 +591,7 @@ div { height: 0.2rem; } -/* +/* 3.3 - FOOTER */ .np-footer + .np-powered-by { @@ -609,8 +609,8 @@ div { color: #1d1f21; } -/* - 3.4 - BUTTONS +/* + 3.4 - BUTTONS */ .np-button { @@ -673,7 +673,7 @@ button.jryxug { } } -/* +/* 3.6 - COURSE CARD */ .np-card-container { @@ -787,8 +787,8 @@ button.jryxug { } } -/* - 3.7 - LEARNING PATH CARD +/* + 3.7 - LEARNING PATH CARD */ .np-learning-path .np-card-text-wrapper { @@ -848,7 +848,7 @@ button.jryxug { } } -/* +/* 3.8 - TRAINING EVENTS CARD */ @@ -977,8 +977,8 @@ button.jryxug { } } -/* - 3.9 - COURSE BANNER +/* + 3.9 - COURSE BANNER */ .np-course-banner { position: relative; @@ -1091,7 +1091,7 @@ button.jryxug { } /* - 3.11 - COURSE PROGRESS & CTA + 3.11 - COURSE PROGRESS & CTA */ .np-card-progress-bar-container, .np-progress-bar-container { diff --git a/Custom_Templates/customer_templates/Norm_sandbox_2/community.html.liquid b/Custom_Templates/customer_templates/Norm_sandbox_2/community.html.liquid index 65b3fca7..0944f7ae 100644 --- a/Custom_Templates/customer_templates/Norm_sandbox_2/community.html.liquid +++ b/Custom_Templates/customer_templates/Norm_sandbox_2/community.html.liquid @@ -7,7 +7,7 @@
- +{% include 'modal_popup' %} {% include 'footer' %}