From 16bc77ceb71ebba7943b942ba622f4ab1ac01f4d Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Mon, 16 Jan 2023 07:18:26 -0500 Subject: [PATCH] Scenario JS Snippet and Notes --- .../Scenario/_custom_header.html.liquid | 124 ++++++++++++ .../Scenario/_filter_by_progress.html.liquid | 16 +- .../Scenario/_footer.html.liquid | 2 +- .../Scenario/_header.html.liquid | 96 +++------ .../Scenario/_modified_header.html.liquid | 148 ++++++++++++++ .../_section_popular_topics.html.liquid | 21 +- .../Scenario/auth_url_email.html.liquid | 6 +- .../Scenario/catalog.html.liquid | 113 +++++++++++ .../Scenario/dashboard.html.liquid | 190 +----------------- .../Scenario/homepage.html.liquid | 43 ++-- .../Scenario/search.html.liquid | 34 ++++ .../Scenario/styles.css.liquid | 22 +- .../Scenario/training_events.html.liquid | 132 +----------- CustomerNotes/Walmart.md | 2 +- 14 files changed, 522 insertions(+), 427 deletions(-) create mode 100644 Custom_Templates/customer_templates/Scenario/_custom_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Scenario/_modified_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Scenario/catalog.html.liquid create mode 100644 Custom_Templates/customer_templates/Scenario/search.html.liquid diff --git a/Custom_Templates/customer_templates/Scenario/_custom_header.html.liquid b/Custom_Templates/customer_templates/Scenario/_custom_header.html.liquid new file mode 100644 index 00000000..59da4836 --- /dev/null +++ b/Custom_Templates/customer_templates/Scenario/_custom_header.html.liquid @@ -0,0 +1,124 @@ +
+
+
+ {% if current_person.signed_in? %} + + + {% endif %} +
+ {% if current_school.logo_url %} +

+ + {{ current_school.name }} + +

+ {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +
+ + {% if current_person.signed_in? %} + +
+ + +
+ {% else %} +
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Scenario/_filter_by_progress.html.liquid b/Custom_Templates/customer_templates/Scenario/_filter_by_progress.html.liquid index 34378e46..a0426dfa 100644 --- a/Custom_Templates/customer_templates/Scenario/_filter_by_progress.html.liquid +++ b/Custom_Templates/customer_templates/Scenario/_filter_by_progress.html.liquid @@ -17,7 +17,7 @@ diff --git a/Custom_Templates/customer_templates/Scenario/_modified_header.html.liquid b/Custom_Templates/customer_templates/Scenario/_modified_header.html.liquid new file mode 100644 index 00000000..c8551291 --- /dev/null +++ b/Custom_Templates/customer_templates/Scenario/_modified_header.html.liquid @@ -0,0 +1,148 @@ +

+ {{ current_school.name }} + +

+ {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +
+ + {% if current_person.signed_in? %} + +
+ Help Guide +
+
+ + +
+ {% else %} +
+ diff --git a/Custom_Templates/customer_templates/Scenario/_section_popular_topics.html.liquid b/Custom_Templates/customer_templates/Scenario/_section_popular_topics.html.liquid index fbc35ae2..3f950727 100644 --- a/Custom_Templates/customer_templates/Scenario/_section_popular_topics.html.liquid +++ b/Custom_Templates/customer_templates/Scenario/_section_popular_topics.html.liquid @@ -5,17 +5,10 @@
@@ -23,5 +16,11 @@ \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Scenario/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Scenario/auth_url_email.html.liquid index bd3e99da..f3702cd6 100644 --- a/Custom_Templates/customer_templates/Scenario/auth_url_email.html.liquid +++ b/Custom_Templates/customer_templates/Scenario/auth_url_email.html.liquid @@ -59,6 +59,7 @@ +{% comment %} +{% endcomment %} \ No newline at end of file + diff --git a/Custom_Templates/customer_templates/Scenario/catalog.html.liquid b/Custom_Templates/customer_templates/Scenario/catalog.html.liquid new file mode 100644 index 00000000..5659232b --- /dev/null +++ b/Custom_Templates/customer_templates/Scenario/catalog.html.liquid @@ -0,0 +1,113 @@ +{% include "modified_header" %} + +
+
+ {% if current_person.signed_in? %} + {{ current_person.name }} +
+ {{ current_person.name }} +
+ {% endif %} +
+ + {% for website_navigation in navigations.header_navigations %} + + {{ website_navigation.name }} + + {% endfor %} +
+ {% unless current_school.sso_active? %} + + Profile Settings + + {% endunless %} + + Sign Out + +
+
+
+ + +{% include "messages" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} + +
+ {{ homepage.headline }} +
+
+ {{ homepage.headline }} +
+
+ {{ homepage.subheadline }} +
+
+
+{% include "sub_navigation" %} +
+
+
+
{{ catalog.headline }}
+
{{ catalog.subheadline }}
+
+ {% capture label %}{% t shared.filters.by_category %}{% endcapture %} + + {% if courses.in_catalog.any? %} + {% + include "filter_dropdown", + filters: courses.filters, + key: "category_uuid", + label: label + %} + {% endif %} +
+ {% include "courses_catalog" %} +
+{% include "footer" %} + + diff --git a/Custom_Templates/customer_templates/Scenario/dashboard.html.liquid b/Custom_Templates/customer_templates/Scenario/dashboard.html.liquid index e913e2ad..68a905bd 100644 --- a/Custom_Templates/customer_templates/Scenario/dashboard.html.liquid +++ b/Custom_Templates/customer_templates/Scenario/dashboard.html.liquid @@ -1,127 +1,4 @@ -
-
-
- {% if current_person.signed_in? %} - - - {% endif %} -
- {% if current_school.logo_url %} -

- - {{ current_school.name }} - -

- {% else %} - - {{ current_school.name }} - - {% endif %} - -
- -
- - {% if current_person.signed_in? %} - -
- - -
- {% else %} -
+{% include "modified_header" %}
@@ -178,11 +55,10 @@
- {% include "messages" %} {% include "course_version_outdated_alert", courses: courses.enrolled %} -
+
{{ homepage.headline }} {% include "footer" %} -{% comment %}{% endcomment %} +>