From 9286f52fb2b3b96a06b4e8c81646adaa28c8a271 Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Mon, 1 Apr 2024 17:46:07 -0400 Subject: [PATCH] Luminate templates for the language switcher. Added some items to the screenshot scraper. --- .../homepage.html.liquid | 18 +- .../DataSnipper/_head.html.liquid | 8 - .../_account_avatar.html.liquid | 66 ++ .../_account_desktop_view.html.liquid | 19 + .../_account_form.html.liquid | 139 ++++ .../_account_mobile_view.html.liquid | 17 + .../_cards_article.html.liquid | 38 + .../_cards_course.html.liquid | 55 ++ .../_cards_course_ongoing.html.liquid | 36 + .../_cards_learning_path.html.liquid | 74 ++ .../_cards_learning_path_progress.html.liquid | 55 ++ .../_cards_training_event.html.liquid | 45 ++ .../_certificates_info_column.html.liquid | 4 + .../_certificates_metadata.html.liquid | 59 ++ .../_certificates_preview.html.liquid | 35 + .../_certificates_top_bar.html.liquid | 44 ++ .../_certificates_verification.html.liquid | 15 + .../_course_activity_locked.html.liquid | 4 + .../_course_activity_unlocked.html.liquid | 15 + .../_course_categories.html.liquid | 10 + .../_course_description.html.liquid | 6 + .../_course_desktop_view.html.liquid | 43 ++ .../_course_events.html.liquid | 28 + .../_course_header.html.liquid | 34 + .../_course_instructors.html.liquid | 22 + .../_course_mobile_view.html.liquid | 40 ++ .../_course_outline.html.liquid | 40 ++ .../_course_progress_and_cta.html.liquid | 46 ++ ..._course_version_outdated_alert.html.liquid | 7 + ..._course_version_outdated_popup.html.liquid | 33 + .../_courses_catalog.html.liquid | 34 + .../_courses_index.html.liquid | 35 + .../_courses_zero_state.html.liquid | 6 + .../_filter_checkbox.html.liquid | 10 + .../_filter_dropdown.html.liquid | 33 + .../_filter_select.html.liquid | 22 + .../_footer.html.liquid | 108 +++ .../Walmart Luminate Mexico/_head.html.liquid | 252 +++++++ .../_header.html.liquid | 498 +++++++++++++ .../_header_minimal.html.liquid | 17 + .../_homepage_featured.html.liquid | 222 ++++++ .../_homepage_ongoing_training.html.liquid | 194 ++++++ .../_homepage_topics.html.liquid | 149 ++++ .../_learning_path_banners.html.liquid | 5 + .../_learning_path_certificate.html.liquid | 17 + ...rning_path_certificate_content.html.liquid | 19 + ...learning_path_completed_banner.html.liquid | 51 ++ .../_learning_path_course.html.liquid | 141 ++++ .../_learning_path_description.html.liquid | 6 + ..._learning_path_desktop_content.html.liquid | 21 + .../_learning_path_desktop_header.html.liquid | 12 + .../_learning_path_desktop_view.html.liquid | 35 + .../_learning_path_instructors.html.liquid | 26 + .../_learning_path_mobile_content.html.liquid | 19 + .../_learning_path_mobile_header.html.liquid | 17 + .../_learning_path_mobile_view.html.liquid | 41 ++ ...arning_path_new_content_banner.html.liquid | 12 + .../_learning_path_outline.html.liquid | 10 + ...learning_path_progress_and_cta.html.liquid | 20 + ...ning_path_summary_desktop_view.html.liquid | 3 + ...rning_path_summary_mobile_view.html.liquid | 5 + ...learning_path_training_session.html.liquid | 53 ++ .../_learning_paths_index.html.liquid | 14 + .../_messages.html.liquid | 19 + .../_search_result.html.liquid | 37 + .../_search_zero_state.html.liquid | 13 + .../_sub_navigation.html.liquid | 49 ++ .../_training_events_dashboard.html.liquid | 9 + .../_training_events_filter.html.liquid | 53 ++ .../_training_events_index.html.liquid | 13 + .../_training_events_zero_state.html.liquid | 9 + .../_training_session_calendars.html.liquid | 52 ++ .../_training_session_cta.html.liquid | 53 ++ .../_training_session_date.html.liquid | 14 + .../_training_session_description.html.liquid | 6 + ..._training_session_desktop_view.html.liquid | 40 ++ .../_training_session_details.html.liquid | 24 + .../_training_session_header.html.liquid | 10 + .../_training_session_mobile_view.html.liquid | 22 + ...training_session_more_sessions.html.liquid | 3 + .../_training_session_tile.html.liquid | 17 + .../account.html.liquid | 14 + .../articles.html.liquid | 36 + .../auth_url_email.html.liquid | 59 ++ .../auth_url_employee.html.liquid | 59 ++ .../auth_url_phone_number.html.liquid | 40 ++ .../auth_url_terms.html.liquid | 74 ++ .../catalog.html.liquid | 23 + .../certifications.html.liquid | 33 + .../course.html.liquid | 63 ++ .../courses.html.liquid | 11 + .../dashboard.html.liquid | 28 + .../forgot_password.html.liquid | 25 + .../homepage.html.liquid | 580 ++++++++++++++++ .../learning_path.html.liquid | 123 ++++ .../learning_path_summary.html.liquid | 10 + .../learning_paths.html.liquid | 14 + .../Walmart Luminate Mexico/login.html.liquid | 53 ++ .../master.html.liquid | 1 + .../not_found.html.liquid | 10 + .../private_certificate.html.liquid | 10 + .../public_certificate.html.liquid | 10 + .../reset_password.html.liquid | 43 ++ .../search.html.liquid | 72 ++ .../server_error.html.liquid | 23 + .../sign_up.html.liquid | 72 ++ .../Walmart Luminate Mexico/styles.css.liquid | 652 ++++++++++++++++++ .../training_events.html.liquid | 19 + .../training_session.html.liquid | 10 + .../training_session_attendance.html.liquid | 43 ++ .../unsubscribe.html.liquid | 30 + .../Walmart Luminate Prod/_head.html.liquid | 4 +- ...learning_path_completed_banner.html.liquid | 28 +- .../playwright_condensed.py | 6 +- Todos.md | 2 +- 115 files changed, 5859 insertions(+), 26 deletions(-) create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_avatar.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_form.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_article.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_course.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_course_ongoing.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_learning_path.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_learning_path_progress.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_training_event.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_info_column.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_metadata.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_preview.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_top_bar.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_verification.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_activity_locked.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_activity_unlocked.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_categories.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_description.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_events.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_instructors.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_outline.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_progress_and_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_version_outdated_alert.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_version_outdated_popup.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_courses_catalog.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_courses_index.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_courses_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_filter_checkbox.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_filter_dropdown.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_filter_select.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_footer.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_head.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_header_minimal.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_homepage_featured.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_homepage_ongoing_training.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_homepage_topics.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_banners.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_certificate_content.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_completed_banner.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_course.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_description.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_desktop_content.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_desktop_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_instructors.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_mobile_content.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_mobile_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_new_content_banner.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_outline.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_progress_and_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_summary_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_summary_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_training_session.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_paths_index.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_messages.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_search_result.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_search_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_sub_navigation.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_events_dashboard.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_events_filter.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_events_index.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_events_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_calendars.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_date.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_description.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_details.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_more_sessions.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_tile.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/account.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/articles.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/auth_url_email.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/auth_url_employee.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/auth_url_phone_number.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/auth_url_terms.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/catalog.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/certifications.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/course.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/courses.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/dashboard.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/forgot_password.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/homepage.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/learning_path.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/learning_path_summary.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/learning_paths.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/login.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/master.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/not_found.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/private_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/public_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/reset_password.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/search.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/server_error.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/sign_up.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/styles.css.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/training_events.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/training_session.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/training_session_attendance.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/unsubscribe.html.liquid diff --git a/Custom_Templates/customer_templates/Anthology - Production/homepage.html.liquid b/Custom_Templates/customer_templates/Anthology - Production/homepage.html.liquid index 3c101a98..00de5e67 100644 --- a/Custom_Templates/customer_templates/Anthology - Production/homepage.html.liquid +++ b/Custom_Templates/customer_templates/Anthology - Production/homepage.html.liquid @@ -25,7 +25,7 @@ setTimeout(function() { document.querySelector(".info-form-trigger").click() - }, 1000) + }, 1000) } } }); @@ -118,10 +118,10 @@ key: current_school.course_vocabulary %} {% endcapture %} - + {% include "courses_zero_state", message: message %} {% endif %} - + {% include "footer" %} @@ -139,7 +139,7 @@ let courseName = homepageCourses[i].querySelector('.np-card-content-title').textContent.toLowerCase(); - if(courseName.indexOf(event.target.value) > -1){ + if(courseName.indexOf(event.target.value.toLowerCase()) > -1){ if(!homepageCourses[i].classList.contains('filtered')){ homepageCourses[i].style.display = 'block'; } @@ -205,7 +205,7 @@ const learnerTitle = localStorage.getItem("learnerTitle"); const learnerPrimaryRole = localStorage.getItem("learnerPrimaryRole"); const learnerPrimaryRoleOther = localStorage.getItem("learnerPrimaryRoleOther"); - + let userData = { learner_uuid: '{{current_person.id}}', learner_name: '{{current_person.first_name}} {{current_person.last_name}}', @@ -257,7 +257,7 @@ .catalog-search-component, .catalog-filter-component{ - display: flex; + display: flex; flex-direction: column; } @@ -306,7 +306,7 @@ margin: 0; max-width: 100%; } - + .np-subpage-container{ padding: 50px 50px 184px; } @@ -331,7 +331,7 @@ .catalog-header-wrapper{ margin-top: 300px; - } + } } @media screen and (min-width: 2200px){ @@ -345,4 +345,4 @@ margin-top: 400px; } } - \ No newline at end of file + diff --git a/Custom_Templates/customer_templates/DataSnipper/_head.html.liquid b/Custom_Templates/customer_templates/DataSnipper/_head.html.liquid index 408b9975..bee7087e 100644 --- a/Custom_Templates/customer_templates/DataSnipper/_head.html.liquid +++ b/Custom_Templates/customer_templates/DataSnipper/_head.html.liquid @@ -15,14 +15,6 @@ diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_avatar.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_avatar.html.liquid new file mode 100644 index 00000000..d952af93 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_avatar.html.liquid @@ -0,0 +1,66 @@ +
+

{% t .description %}

+

{% t .requirements %}

+
+ + + + +
+
+ +
+ +
+ +
+
+ +
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_desktop_view.html.liquid new file mode 100644 index 00000000..8ae8599d --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_desktop_view.html.liquid @@ -0,0 +1,19 @@ +
+ + {% form_authenticity_token %} +
+
+
+ + +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_form.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_form.html.liquid new file mode 100644 index 00000000..ddd264c2 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_form.html.liquid @@ -0,0 +1,139 @@ +
+ {% t .header %} +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +{% unless form.options.invite? %} +
+ + +
+ +
+ + +
+ +
+ + +
+{% endunless %} + +{% if form.options.invite? %} +
+ + +
+ + {% if form.terms_of_service_required? %} +
+ +
+ {% t .terms_of_service %} + + {% t .terms_link %} + +
+
+ {% else %} +
+ + {% t .terms %} + + {% t .terms_link %} + + +
+ {% endif %} + + +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_mobile_view.html.liquid new file mode 100644 index 00000000..6ac8c007 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_mobile_view.html.liquid @@ -0,0 +1,17 @@ +
+ + {% form_authenticity_token %} + + + +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_article.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_article.html.liquid new file mode 100644 index 00000000..837e4ae4 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_article.html.liquid @@ -0,0 +1,38 @@ +{% capture course_path %}{% route course, id: course.id %}{% endcapture %} +
+
+ {% if course.ribbon %} +
+ {{ course.ribbon }} +
+ {% endif %} + {{ course.name }} +
+

+ {{ course.name }} +

+
+ {{ course.short_description }} + {% if course.properties.course_length %} +
{{course.properties.course_length}}
+ {% endif %} +
+ +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_course.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_course.html.liquid new file mode 100644 index 00000000..2bd8026a --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_course.html.liquid @@ -0,0 +1,55 @@ +
+
+
+ {% if course.ribbon %} +
+ {{ course.ribbon }} +
+ {% endif %} +
+

+ {{ course.name }} +

+ {% comment %} {% if course.properties.course_length %} +
{{course.properties.course_length}}
+ {% endif %} {% endcomment %} +
+ {{ course.name }} +
+
+ {% if course.short_description != "" %} +
+ {{ course.short_description }} + {% if course.properties.course_length %} +
{{course.properties.course_length}}
+ {% endif %} +
+ + {% else %} +
+ {% endif %} + +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_course_ongoing.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_course_ongoing.html.liquid new file mode 100644 index 00000000..ca71767f --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_course_ongoing.html.liquid @@ -0,0 +1,36 @@ +{% capture course_path %}{% route course, id: course.id %}{% endcapture %} + +
+
+ {% if course.ribbon %} +
+ {{ course.ribbon }} +
+ {% endif %} +
+

+ {{ course.name }} +

+
+ {{ course.name }} +
+
+
+ {{ course.short_description }} +
+ +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_learning_path.html.liquid new file mode 100644 index 00000000..a90c5e79 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_learning_path.html.liquid @@ -0,0 +1,74 @@ +
+
+
+
+ {{ learning_path.name }} +
+
+
+ +
{% t shared.learning_path.title %}
+
+ {{ learning_path.items.count }} {% t .items %} +
+
+
+
{% t shared.learning_path.title %}
+ +
+ +
+

+ {{ learning_path.name }} +

+ + {% if learning_path.instructor_names %} +
+ {{ learning_path.instructor_names }} +
+ {% endif %} + +
+ {{ learning_path.description }} +
+ +
+ {% t shared.progress, count: learning_path.progress %} +
+ +
+
+
+
+ + +
+
+
+
+
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_learning_path_progress.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_learning_path_progress.html.liquid new file mode 100644 index 00000000..d24ca23b --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_learning_path_progress.html.liquid @@ -0,0 +1,55 @@ + +
+
{{ learning_path.name }}
+
+ + + + {{learning_path.progress}}% + +
+
+
{{ learning_path.name }}
+
+ Total Courses: {{ learning_path.items.count }} Courses +
+
+ {% assign completed_count = 0 %} + + {% for item in learning_path.items %} + {% if item.completed? %} + {% assign completed_count = completed_count | plus: 1 %} + {% endif %} + {% endfor %} + Completed: + {% if completed_count > 1 or completed_count == 0 %} +
{{completed_count}}
Courses
+ {% else %} +
{{completed_count}}
Course
+ {% endif %} +
+
+
+
+ + + diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_training_event.html.liquid new file mode 100644 index 00000000..6690cdfd --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_training_event.html.liquid @@ -0,0 +1,45 @@ +
+
+
+

+ {{ training_event.title }} +

+
+ {% t shared.event_types, key: training_event.event_type %} +
+
+ +
+
+
+ {{ training_event.sessions.first.day }} +
+
+
+ {{ training_event.sessions.first.month }} +
+
+ {{ training_event.sessions.first.year }} +
+
+
+
+
+
+
+ + + {% t .sessions, count: training_event.sessions.size %} + + + {% t shared.view %} + +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_info_column.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_info_column.html.liquid new file mode 100644 index 00000000..61adfaba --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_info_column.html.liquid @@ -0,0 +1,4 @@ +
+ {% include "certificates_verification" %} + {% include "certificates_metadata" %} +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_metadata.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_metadata.html.liquid new file mode 100644 index 00000000..9f4a1dba --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_metadata.html.liquid @@ -0,0 +1,59 @@ +
+
+ +
+ + {% if certificate.issuer_name_enabled? %} + +
+ {% endif %} + + +
+ +
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_preview.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_preview.html.liquid new file mode 100644 index 00000000..6357b621 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_preview.html.liquid @@ -0,0 +1,35 @@ + + +
+
+
+ +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_top_bar.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_top_bar.html.liquid new file mode 100644 index 00000000..74a7ae41 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_top_bar.html.liquid @@ -0,0 +1,44 @@ +
+
+
+

+ {{certificate.certificate_name}} +

+
+
+ {% if certificate.linkedin_sharing_enabled and current_person.signed_in? and certificate.learner_uuid == current_person.id %} + + + {% t .share %} + + {% endif %} + + {% if certificate.generating_pdf %} +
+ +
+ {% else %} + + {% t .download %} + + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_verification.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_verification.html.liquid new file mode 100644 index 00000000..4fc19415 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_certificates_verification.html.liquid @@ -0,0 +1,15 @@ +
+
+
+ +
+
+

+ {{certificate.verification_title}} +

+

+ {{certificate.verification_description}} +

+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_activity_locked.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_activity_locked.html.liquid new file mode 100644 index 00000000..386393d5 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_activity_locked.html.liquid @@ -0,0 +1,4 @@ + + + {{ activity.title }} + diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_activity_unlocked.html.liquid new file mode 100644 index 00000000..30c03305 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_activity_unlocked.html.liquid @@ -0,0 +1,15 @@ +{% if course.enrolled? %} + + {{ activity.title }} + +{% else%} + + {{ activity.title }} + +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_categories.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_categories.html.liquid new file mode 100644 index 00000000..6cfe9010 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_categories.html.liquid @@ -0,0 +1,10 @@ +

+ {% t .header %} +

+
+ {% for category in course.categories %} +
+ {{ category.name }} +
+ {% endfor %} +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_description.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_description.html.liquid new file mode 100644 index 00000000..269f9216 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .header, key: current_school.course_vocabulary %} +

+
+ {{ course.full_description }} +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_desktop_view.html.liquid new file mode 100644 index 00000000..7d4abd53 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_desktop_view.html.liquid @@ -0,0 +1,43 @@ +
+
+ {% include "course_header" %} +
+
+
+
+
+
{{course.name}}
+ {{ course.name }} +
+ {% include "course_description" %} + + {% if course.categories.any? %} +
+ {% include "course_categories" %} +
+ {% endif %} + + {% if course.instructors.any? %} +
+ {% include "course_instructors" %} +
+ {% endif %} + + {% if course.events.any? %} +
+ {% include "course_events" %} +
+ {% endif %} +
+
+
+ {% include "course_progress_and_cta" %} +
+ {% include "course_outline" %} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_events.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_events.html.liquid new file mode 100644 index 00000000..5fa80eef --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_events.html.liquid @@ -0,0 +1,28 @@ +

+ {% t .header %} +

+
+ {% for event in course.events %} +
+ +
+
+ {{ event.title }} +
+
+ {% t shared.event_types, key: event.event_type %} +
+
+ {{ event.sessions.first.time_period }} {{ event.sessions.first.time_zone }} +
+
+
+ {% endfor %} +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_header.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_header.html.liquid new file mode 100644 index 00000000..e34e0d0d --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_header.html.liquid @@ -0,0 +1,34 @@ +
+ {{ current_school.course_vocabulary }} + + +
+
+ + + + {% comment %} {{ course.name }} {% endcomment %} +
+
+
{{course.name}}
+ {{ course.name }} +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_instructors.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_instructors.html.liquid new file mode 100644 index 00000000..8b608928 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_instructors.html.liquid @@ -0,0 +1,22 @@ +

+ {% t .header %} +

+
+ {% for instructor in course.instructors %} +
+ {{ instructor.name }} +
+
+ {{ instructor.name }} +
+ +
+
+ {% endfor %} +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_mobile_view.html.liquid new file mode 100644 index 00000000..7f31ff35 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_mobile_view.html.liquid @@ -0,0 +1,40 @@ +
+ {% include "course_header" %} +
+ {% include "course_progress_and_cta" %} +
+
+ +{% if course.progress == 0 %} +
+ {% include "course_description" %} +
+
+ {% include "course_outline" %} +
+{% else %} +
+ {% include "course_outline" %} +
+
+ {% include "course_description" %} +
+{% endif %} + +{% if course.categories.any? %} +
+ {% include "course_categories" %} +
+{% endif %} + +{% if course.instructors.any? %} +
+ {% include "course_instructors" %} +
+{% endif %} + +{% if course.events.any? %} +
+ {% include "course_events" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_outline.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_outline.html.liquid new file mode 100644 index 00000000..72f97e79 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_outline.html.liquid @@ -0,0 +1,40 @@ +
+
+ {% t .header, key: current_school.course_vocabulary %} +
+
+
    + {% for section in course.sections %} +
  1. +
    + {{ section.name }} +
    +
      + {% for activity in section.activities %} + +
    1. + {% if activity.completed? %} + + {% if activity.locked? %} + {% include "course_activity_locked" %} + {% else %} + {% include "course_activity_unlocked", class: "np-course-outline-content-activity-link-completed" %} + {% endif %} +
      + {% else %} + + {% if activity.locked? %} + {% include "course_activity_locked" %} + {% else %} + {% include "course_activity_unlocked", class: "np-course-outline-content-activity-link" %} + {% endif %} +
      + {% endif %} +
    2. + {% endfor %} +
    +
  2. + {% endfor %} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_progress_and_cta.html.liquid new file mode 100644 index 00000000..1c3db9fa --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_progress_and_cta.html.liquid @@ -0,0 +1,46 @@ +
+
+ {% t .header %} +
+
+
+
+
+ +
+ {% t shared.progress, count: course.progress %} +
+
+ +{% if course.learner_can_retake? %} +
+ {% form_authenticity_token %} + +
+{% else %} + + {% if course.enrolled? == false %} + {% t shared.enroll %} + {% elsif course.started? == false %} + {% t shared.course.start, key: current_school.course_vocabulary %} + {% elsif course.completed? %} + {% t shared.course.view, key: current_school.course_vocabulary %} + {% else %} + {% t shared.continue %} + {% endif %} + +{% endif %} + diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_version_outdated_alert.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_version_outdated_alert.html.liquid new file mode 100644 index 00000000..03e245ab --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_version_outdated_alert.html.liquid @@ -0,0 +1,7 @@ +{% if courses.include_courses_to_restart? %} + +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_version_outdated_popup.html.liquid new file mode 100644 index 00000000..71795884 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_course_version_outdated_popup.html.liquid @@ -0,0 +1,33 @@ +
+
+ + +
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_courses_catalog.html.liquid new file mode 100644 index 00000000..a32715d5 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_courses_catalog.html.liquid @@ -0,0 +1,34 @@ +{% if courses.in_catalog.any? %} +
+ {% for course in courses.in_catalog %} + {% unless course.properties.is_article_course %} + {% if course.id == "6cc26c57-34db-4b8e-a38b-ad321ce18add" or course.id == "ac4fbf2e-ed8f-404d-b995-f0ef73481466" %} + {% if current_person.properties.hide_api_certification_exam_course == false %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% else %} + {% if course.id == "b3225a47-448d-4988-962a-18d37d6616d0" or course.id == "fdc8acdc-0b7c-4064-a52b-1955379d411b" %} + {% unless course.progress == 100 %} +
+ {% include "cards_course" with course %} +
+ {% endunless %} + {% else %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% endif %} + {% endunless %} + {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_courses_index.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_courses_index.html.liquid new file mode 100644 index 00000000..fa21b83a --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_courses_index.html.liquid @@ -0,0 +1,35 @@ +{% if courses.enrolled.any? %} +
+ {% for course in courses.enrolled %} + {% unless course.properties.is_article_course %} + {% if course.id == "6cc26c57-34db-4b8e-a38b-ad321ce18add" or course.id == "ac4fbf2e-ed8f-404d-b995-f0ef73481466" %} + {% if current_person.properties.hide_api_certification_exam_course == false %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% else %} + {% if course.id == "b3225a47-448d-4988-962a-18d37d6616d0" or course.id == "fdc8acdc-0b7c-4064-a52b-1955379d411b" %} + {% unless course.progress == 100 %} +
+ {% include "cards_course" with course %} +
+ {% endunless %} + {% else %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + + {% endif %} + {% endunless %} + {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.index, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_courses_zero_state.html.liquid new file mode 100644 index 00000000..26e371f7 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_courses_zero_state.html.liquid @@ -0,0 +1,6 @@ +
+
+ {{ message }} +
+ {{ message }} +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_filter_checkbox.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_filter_checkbox.html.liquid new file mode 100644 index 00000000..5cbcbd07 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_filter_checkbox.html.liquid @@ -0,0 +1,10 @@ + + diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_filter_dropdown.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_filter_dropdown.html.liquid new file mode 100644 index 00000000..e7a954bb --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_filter_dropdown.html.liquid @@ -0,0 +1,33 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_filter_select.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_filter_select.html.liquid new file mode 100644 index 00000000..d006c0df --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_filter_select.html.liquid @@ -0,0 +1,22 @@ +{% if params.q %} + +{% endif %} + + + + diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_footer.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_footer.html.liquid new file mode 100644 index 00000000..8d65c563 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_footer.html.liquid @@ -0,0 +1,108 @@ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_head.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_head.html.liquid new file mode 100644 index 00000000..7518e6bf --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_head.html.liquid @@ -0,0 +1,252 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + + + + + + + + + + + + + + diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_header.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_header.html.liquid new file mode 100644 index 00000000..1b63f320 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_header.html.liquid @@ -0,0 +1,498 @@ +
+
+ +
+ {% if current_person.signed_in? %} + + + {% endif %} +
+ {% if current_school.logo_url %} +

+ + Walmart Luminate Learn + + + + +
Learn
+
Walmart Luminate Learn
+

+ {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +
+ + {% if current_person.signed_in? %} +
+
+ + +
+
    +
  • English
  • +
  • Español
  • +
+
+ + +
+ + +
+ {% else %} +
+ +
+
+ +{% include "messages" %} + + + + + diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_header_minimal.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_header_minimal.html.liquid new file mode 100644 index 00000000..6b72cdb2 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_header_minimal.html.liquid @@ -0,0 +1,17 @@ +
+ + {% if current_school.logo_url %} + + {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +{% include "messages" %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_homepage_featured.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_homepage_featured.html.liquid new file mode 100644 index 00000000..c175ac12 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_homepage_featured.html.liquid @@ -0,0 +1,222 @@ + + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_homepage_ongoing_training.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_homepage_ongoing_training.html.liquid new file mode 100644 index 00000000..2e57bd3d --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_homepage_ongoing_training.html.liquid @@ -0,0 +1,194 @@ +
+
+
+ Ongoing Training +
+ +
+ {% if items.size > 0 %} + {% assign ongoing_courses_count = 0 %} +
+
+ {% for course in items %} + {% if course.properties.is_article_course == false %} + {% if course.progress > 0 and course.progress < 100 %} + {% assign ongoing_courses_count = ongoing_courses_count | plus: 1 %} +
+ {% include "cards_course_ongoing" with course %} +
+ {% endif %} + {% endif %} + {% endfor %} +
+
+ + {% if ongoing_courses_count > 0 %} +
+ See more +
+ {% else %} + + + {% endif %} + {% else %} + + {% endif %} +
+ + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_homepage_topics.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_homepage_topics.html.liquid new file mode 100644 index 00000000..39314882 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_homepage_topics.html.liquid @@ -0,0 +1,149 @@ +
+
+
+
Explore Courses by Category
+
+
+ +
+
+
+ {% for category in categories.in_catalog %} + {% assign category_name = category.name | downcase %} + {% if category_name != "featured" and category_name != "articles" %} + {% assign cat_image = "" %} + + {% if category_name == "customer perception" %} + {% assign cat_image = "https://s3.amazonaws.com/static.northpass.com/walmart-luminate/category-image-customer-perception.png" %} + {% elsif category_name == "shopper behavior" %} + {% assign cat_image = "https://s3.amazonaws.com/static.northpass.com/walmart-luminate/category-image-shopper-behavior.png" %} + {% elsif category_name == "insights dashboard" %} + {% assign cat_image = "https://s3.amazonaws.com/static.northpass.com/walmart-luminate/category-image-insights-dashboard.png" %} + {% elsif category_name == "report builder" %} + {% assign cat_image = "https://s3.amazonaws.com/static.northpass.com/walmart-luminate/category-image-report-builder.png" %} + {% elsif category_name == "apis" %} + {% assign cat_image = "https://s3.amazonaws.com/static.northpass.com/walmart-luminate/category-image-apis.png" %} + {% elsif category_name == "know your store" %} + {% assign cat_image = "https://s3.amazonaws.com/static.northpass.com/walmart-luminate/category-image-knowyourstore.png" %} + {% elsif category_name == "metrics" %} + {% assign cat_image = "https://s3.amazonaws.com/static.northpass.com/walmart-luminate/category-image-metrics.png" %} + {% elsif category_name == "channel performance" %} + {% assign cat_image = "https://s3.amazonaws.com/static.northpass.com/walmart-luminate/category-image-channel-performance.png" %} + {% elsif category_name == "know your customer" %} + {% assign cat_image = "https://s3.amazonaws.com/static.northpass.com/walmart-luminate/category-image-knowyourcustomer.png" %} + {% elsif category_name == "advanced" %} + {% assign cat_image = "https://s3.amazonaws.com/static.northpass.com/walmart-luminate/category-image-advanced.png" %} + {% elsif category_name == "beginner" %} + {% assign cat_image = "https://s3.amazonaws.com/static.northpass.com/walmart-luminate/category-image-beginner.png" %} + {% endif %} + + + {% comment %} {% if cat_image %} + + {% endif %} {% endcomment %} + {% comment %}
+ {{category.name}} +
{% endcomment %} + {{category.name}} +
+ {% endif %} + {% endfor %} +
+
+
+
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_banners.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_banners.html.liquid new file mode 100644 index 00000000..11a1810c --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_banners.html.liquid @@ -0,0 +1,5 @@ +{% if learning_path.new_content_available? %} + {% include "learning_path_new_content_banner" %} +{% else %} + {% include "learning_path_completed_banner" %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_certificate.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_certificate.html.liquid new file mode 100644 index 00000000..3a282c5e --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_certificate.html.liquid @@ -0,0 +1,17 @@ +{% if learning_path.has_certificate? %} + {% if learning_path.certificate_completed? %} +
+ +
+ {% include "learning_path_certificate_content" %} +
+
+ {% else %} +
+ {% include "learning_path_certificate_content" %} +
+ {% endif %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_certificate_content.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_certificate_content.html.liquid new file mode 100644 index 00000000..3feafd59 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_certificate_content.html.liquid @@ -0,0 +1,19 @@ +
+ +

+ {{ learning_path.certificate_name }} +

+ {% if learning_path.certificate_completed? %} + + {% endif %} +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_completed_banner.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_completed_banner.html.liquid new file mode 100644 index 00000000..a486481c --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_completed_banner.html.liquid @@ -0,0 +1,51 @@ +{% if learning_path.id == "fa4c61ac-e6cd-44dc-a8e0-9b95025968a5" %} +
+ + + +
+

You earned it!

+

Congratulations, you're Walmart Luminate Replenishment Certified. Click the button below to add your accomplishment to LinkedIn!

+ +
+
+{% else %} +
+ +
+

{% t .headline %}

+

{% t .description %}

+
+ {% if learning_path.certificate_link %} + {% t .actions.certificate %} + {% endif %} + {% t .actions.more_courses %} +
+
+
+{% endif %} + + diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_course.html.liquid new file mode 100644 index 00000000..f85221eb --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_course.html.liquid @@ -0,0 +1,141 @@ +{% assign full_course_obj = "" %} +{% for course_obj in courses.in_catalog %} + {% if course_obj.id == course.id %} + {% assign full_course_obj = course_obj %} + {% endif %} +{% endfor %} + +{% assign is_cert_category = false %} +{% for category in learning_path.categories %} + {% if category.name == 'Certifications' %} + {% assign is_cert_category = true %} + {% break %} + {% endif %} +{% endfor %} +{% if learning_path.enrolled? and course.unlocked? %} + {% if is_cert_category == true %} +
+ +
+ {{ course.name }} +
+
+ {{ course.name }} +
+ {% if course.instructors %} +
+ {{ course.instructors }} +
+ {% endif %} +
+ {% t shared.progress, count: course.progress %} +
+
+ + {% if course.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% else %} +
+ +
+ {{ course.name }} +
+
+ {{ course.name }} +
+ {% if course.instructors %} +
+ {{ course.instructors }} +
+ {% endif %} +
+ {{ full_course_obj.short_description }} +
+ {% if full_course_obj.properties.course_length %} +
{{full_course_obj.properties.course_length}}
+ {% endif %} +
+ {% t shared.progress, count: course.progress %} +
+
+ + {% if course.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+ {% endif %} +{% else %} + {% if is_cert_category == true %} +
+
+ {{ course.name }} +
+
+ {{ course.name }} +
+ {% if course.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+
+{% else %} +
+
+ {{ course.name }} +
+
+ {{ course.name }} +
+
+ {{ full_course_obj.short_description }} +
+ {% if full_course_obj.properties.course_length %} +
{{full_course_obj.properties.course_length}}
+ {% endif %} +
+ {% if course.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+ {% endif %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_description.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_description.html.liquid new file mode 100644 index 00000000..6b1fb3a0 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .about %} +

+
+ {{ learning_path.description }} +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_desktop_content.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_desktop_content.html.liquid new file mode 100644 index 00000000..e9ca85d9 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_desktop_content.html.liquid @@ -0,0 +1,21 @@ +
+
+
+ {{ learning_path.name }} +
+ {% include "learning_path_description" %} + {% include "learning_path_instructors" %} +
+
+
+
+
+ {% include "learning_path_progress_and_cta" %} +
+ {% include "learning_path_outline" %} +
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_desktop_header.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_desktop_header.html.liquid new file mode 100644 index 00000000..6f4c112c --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_desktop_header.html.liquid @@ -0,0 +1,12 @@ +
+
+ {% t shared.learning_path.title %} + +
+
+ + + + {{ learning_path.name }} +
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_desktop_view.html.liquid new file mode 100644 index 00000000..488b7cc0 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_desktop_view.html.liquid @@ -0,0 +1,35 @@ +
+
+ {% t shared.learning_path.title %} + +
+
+ + + + {{ learning_path.name }} +
+
+ +
+
+
+ {% comment %}
+
{{learning_path.name}}
+ {{ learning_path.name }} +
{% endcomment %} + {% include "learning_path_description" %} + {% include "learning_path_instructors" %} +
+
+
+
+ {% include "learning_path_progress_and_cta" %} +
+ {% include "learning_path_outline" %} +
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_instructors.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_instructors.html.liquid new file mode 100644 index 00000000..a8342301 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_instructors.html.liquid @@ -0,0 +1,26 @@ +{% if learning_path.instructors.any? %} +
+

+ {% t shared.instructors %} +

+
+ {% for instructor in learning_path.instructors %} +
+ {{ instructor.name }} +
+
+ {{ instructor.name }} +
+ +
+
+ {% endfor %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_mobile_content.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_mobile_content.html.liquid new file mode 100644 index 00000000..92ffd4c8 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_mobile_content.html.liquid @@ -0,0 +1,19 @@ +{% if learning_path.in_progress? %} + {% include "learning_path_outline" %} +
+ {% include "learning_path_description" %} +
+{% else %} +
+ {% include "learning_path_description" %} +
+
+ {% include "learning_path_outline" %} +
+{% endif %} + +{% if learning_path.instructors.any? %} +
+ {% include "learning_path_instructors" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_mobile_header.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_mobile_header.html.liquid new file mode 100644 index 00000000..2bf66a5a --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_mobile_header.html.liquid @@ -0,0 +1,17 @@ +
+
+ {% t shared.learning_path.title %} + +
+
+ {{ learning_path.name }} +
+ {{ learning_path.name }} +
+ {% include "learning_path_progress_and_cta" %} +
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_mobile_view.html.liquid new file mode 100644 index 00000000..556c742a --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_mobile_view.html.liquid @@ -0,0 +1,41 @@ +
+
+ {% t shared.learning_path.title %} + +
+
+ {{ learning_path.name }} +
+ {% comment %}
+
{{learning_path.name}}
+ {{ learning_path.name }} +
{% endcomment %} + +
+ {% include "learning_path_progress_and_cta" %} +
+
+ +{% if learning_path.in_progress? %} + {% include "learning_path_outline" %} +
+ {% include "learning_path_description" %} +
+{% else %} +
+ {% include "learning_path_description" %} +
+
+ {% include "learning_path_outline" %} +
+{% endif %} + +{% if learning_path.instructors.any? %} +
+ {% include "learning_path_instructors" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_new_content_banner.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_new_content_banner.html.liquid new file mode 100644 index 00000000..2bc02d46 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_new_content_banner.html.liquid @@ -0,0 +1,12 @@ +
+
+

{% t .headline %}

+

{% t .description %}

+
+ {% learning_path_next_step_button learning_path, class: "np-learning-path-banner-action np-learning-path-banner-action--primary" %} + {% if learning_path.certificate_link %} + {% t .actions.view_certificate %} + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_outline.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_outline.html.liquid new file mode 100644 index 00000000..22ddd573 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_outline.html.liquid @@ -0,0 +1,10 @@ +
+ {% for item in learning_path.items %} + {% if item.course? %} + {% include "learning_path_course", course: item %} + {% elsif item.training_event? %} + {% include "learning_path_training_session", training_session: item %} + {% endif %} + {% endfor %} + {% include "learning_path_certificate" %} +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_progress_and_cta.html.liquid new file mode 100644 index 00000000..1d90a2a7 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_progress_and_cta.html.liquid @@ -0,0 +1,20 @@ +{% if learning_path.enrolled? %} +
+
+ {% t .progress %} +
+
+
+
+
+
+ {% t shared.progress, count: learning_path.progress %} +
+
+{% endif %} + +{% learning_path_next_step_button learning_path, class: "np-top-button np-button-font-color np-button np-button-big" %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_summary_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_summary_desktop_view.html.liquid new file mode 100644 index 00000000..05961c52 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_summary_desktop_view.html.liquid @@ -0,0 +1,3 @@ +{% include "learning_path_desktop_header" %} +{% include "learning_path_banners" %} +{% include "learning_path_desktop_content" %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_summary_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_summary_mobile_view.html.liquid new file mode 100644 index 00000000..f30a09eb --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_summary_mobile_view.html.liquid @@ -0,0 +1,5 @@ +
+ {% include "learning_path_banners" %} +
+{% include "learning_path_mobile_header" %} +{% include "learning_path_mobile_content" %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_training_session.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_training_session.html.liquid new file mode 100644 index 00000000..f796cdf4 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_path_training_session.html.liquid @@ -0,0 +1,53 @@ +{% if learning_path.enrolled? and training_session.unlocked? %} +
+ +
+ +
+
{{ training_session.name }}
+
{{ training_session.instructors }}
+
+ {{ training_session.time }} {{ training_session.time_zone }} +
+
+ + {% if training_session.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% else %} +
+
+ +
+
{{ training_session.name }}
+
{{ training_session.caption }}
+
+ {% if training_session.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_paths_index.html.liquid new file mode 100644 index 00000000..a4681210 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_learning_paths_index.html.liquid @@ -0,0 +1,14 @@ +
+ {% if items.any? %} + {% for learning_path in items %} + {% include "cards_learning_path" with learning_path %} + {% endfor %} + {% else %} +
+
+ {% t .empty %} +
+ {% t .empty %} +
+ {% endif %} +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_messages.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_messages.html.liquid new file mode 100644 index 00000000..059fc568 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_messages.html.liquid @@ -0,0 +1,19 @@ +{% if messages.alert.size > 0 %} +
+
+ {% for message in messages.alert %} +
{{ message }}
+ {% endfor %} +
+
+{% endif %} + +{% if messages.notice.size > 0 %} +
+
+ {% for message in messages.notice %} +
{{ message }}
+ {% endfor %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_search_result.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_search_result.html.liquid new file mode 100644 index 00000000..c597ad2e --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_search_result.html.liquid @@ -0,0 +1,37 @@ +{% if result.type == "course" %} + {% unless result.course.id == "fdc8acdc-0b7c-4064-a52b-1955379d411b" or result.course.id == "b3225a47-448d-4988-962a-18d37d6616d0" %} +
+
+
+ {{ result.name }} +
+ +
{{result.course.short_description}}
+ +
+
+ {% for course in catalog_courses %} + {% if course.id == result.course.id %} + {% for cat in course.categories %} + {% assign cat_name = cat.name | upcase %} + {% unless cat_name == "FEATURED" or cat_name == "ARTICLES" %} +
{{cat.name}}
+ {% endunless %} + {% endfor %} + {% endif %} + {% endfor %} +
+ +
+
+
+ {% endunless %} +{% endif %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_search_zero_state.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_search_zero_state.html.liquid new file mode 100644 index 00000000..4e52c6fb --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_search_zero_state.html.liquid @@ -0,0 +1,13 @@ +
+
+
+

+ {% t .nothing_found %} +

+
+ {% t .empty %} +
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_sub_navigation.html.liquid new file mode 100644 index 00000000..1abf2c0e --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_sub_navigation.html.liquid @@ -0,0 +1,49 @@ + + + + + + diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_events_dashboard.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_events_dashboard.html.liquid new file mode 100644 index 00000000..7aeb19ce --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_events_dashboard.html.liquid @@ -0,0 +1,9 @@ +
+ {% if training_events.enrolled.any? %} + {% for training_event in training_events.enrolled %} + {% include "cards_training_event" with training_event %} + {% endfor %} + {% else %} + {% include "training_events_zero_state" %} + {% endif %} +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_events_filter.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_events_filter.html.liquid new file mode 100644 index 00000000..d4892278 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_events_filter.html.liquid @@ -0,0 +1,53 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_events_index.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_events_index.html.liquid new file mode 100644 index 00000000..ff93b1c8 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_events_index.html.liquid @@ -0,0 +1,13 @@ +
+ {% if training_events.available.any? %} +
+ {% for training_event in training_events.available %} +
+ {% include "cards_training_event" with training_event %} +
+ {% endfor %} +
+ {% else %} + {% include "training_events_zero_state" %} + {% endif %} +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_events_zero_state.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_events_zero_state.html.liquid new file mode 100644 index 00000000..076b789e --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_events_zero_state.html.liquid @@ -0,0 +1,9 @@ +
+
+ {% t .empty %} +
+ {% t .empty %} +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_calendars.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_calendars.html.liquid new file mode 100644 index 00000000..6c758b73 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_calendars.html.liquid @@ -0,0 +1,52 @@ + diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_cta.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_cta.html.liquid new file mode 100644 index 00000000..d777c5f6 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_cta.html.liquid @@ -0,0 +1,53 @@ +{% if training_session.approved? %} +
+ + {% t .registered %} +
+{% elsif training_session.pending? %} +
+ {% t .pending %} +
+{% elsif training_session.denied? %} +
+ {% t .denied %} +
+{% elsif training_session.too_late? %} +
+ {% t .too_late %} +
+{% elsif training_session.no_seats? %} +
+ {% t .no_seats %} +
+{% endif %} +
+
+
+ {% form_authenticity_token %} + + {% if training_session.internal? and training_session.approved? %} + {% if features.training_events_google_calendar? %} + {% include "training_session_calendars" %} + + {% else %} + + {% endif %} + + + {% endif %} + + {% if training_session.not_registered? %} + + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_date.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_date.html.liquid new file mode 100644 index 00000000..48694035 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_date.html.liquid @@ -0,0 +1,14 @@ +
+
+
+ {{ training_session.day }} +
+
+
+ {{ training_session.month }} +
+
+ {{ training_session.year }} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_description.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_description.html.liquid new file mode 100644 index 00000000..73be4cf4 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .header %} +

+
+ {{ training_event.description }} +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_desktop_view.html.liquid new file mode 100644 index 00000000..5c1abfec --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_desktop_view.html.liquid @@ -0,0 +1,40 @@ +
+ {% include "training_session_header" %} +
+
+
+
+
+
+ {% include "training_session_details" %} +
+
+ {% include "training_session_cta" %} +
+
+
+
+ {% include "training_session_description" %} +
+
+
+
+
+
+ {% t shared.more_sessions %} +
+ {% if training_event.sessions.size > 1 %} + {% include "training_session_more_sessions" %} + {% else %} +
+ {% t .empty %} +
+ {% t .empty %} +
+
+ {% endif %} +
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_details.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_details.html.liquid new file mode 100644 index 00000000..ae23b7ac --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_details.html.liquid @@ -0,0 +1,24 @@ +
+ {% include "training_session_date" %} + +
+ + {{ training_session.time_period }} {{ training_session.time_zone }} +
+ + {% if training_session.location %} +
+ + {{ training_session.location }} +
+ {% endif %} + + {% if training_session.session_url %} + + {% endif %} +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_header.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_header.html.liquid new file mode 100644 index 00000000..10434cfa --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_header.html.liquid @@ -0,0 +1,10 @@ +
+ {% t shared.event_types, key: training_event.event_type %} + +
+
+ + + + {{ training_event.title }} +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_mobile_view.html.liquid new file mode 100644 index 00000000..00455d4e --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_mobile_view.html.liquid @@ -0,0 +1,22 @@ +
+
+ {% include "training_session_header" %} +
+ {% include "training_session_details" %} +
+ {% include "training_session_cta" %} +
+
+ +
+ {% include "training_session_description" %} +
+ +{% if training_event.sessions.size > 1 %} +
+
+ {% t shared.more_sessions %} +
+ {% include "training_session_more_sessions" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_more_sessions.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_more_sessions.html.liquid new file mode 100644 index 00000000..6cfafa87 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_more_sessions.html.liquid @@ -0,0 +1,3 @@ +{% for session in training_event.sessions %} + {% include "training_session_tile", current_session: training_session %} +{% endfor %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_tile.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_tile.html.liquid new file mode 100644 index 00000000..e5ad8714 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_tile.html.liquid @@ -0,0 +1,17 @@ +{% if current_session.id != session.id %} + + +
+
+ {{ session.month }} {{ session.day }}, {{ session.year }} +
+
+ {{ session.time_period }} {{ session.time_zone }} +
+
+ +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/account.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/account.html.liquid new file mode 100644 index 00000000..2ad5d917 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/account.html.liquid @@ -0,0 +1,14 @@ +{% include "header" %} + +
+
+ {% include "account_mobile_view", form: form %} +
+ +
+ {% include "account_desktop_view", form: form %} +
+
+ +{% include "footer" %} + diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/articles.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/articles.html.liquid new file mode 100644 index 00000000..b05904af --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/articles.html.liquid @@ -0,0 +1,36 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+
{{ custom_page.headline }}
+
{{ custom_page.subheadline }}
+
+
+ {% if courses.in_catalog.any? %} +
+ {% for course in courses.in_catalog %} + {% if course.properties.is_article_course %} + {% if course.id == "b3225a47-448d-4988-962a-18d37d6616d0" or course.id == "fdc8acdc-0b7c-4064-a52b-1955379d411b" %} + {% unless course.progress == 100 %} +
+ {% include "cards_article" with course %} +
+ {% endunless %} + {% else %} +
+ {% include "cards_article" with course %} +
+ {% endif %} + {% endif %} + {% endfor %} +
+ {% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog + , key: current_school.course_vocabulary %} + {% endcapture %} + {% include "courses_zero_state", message: message %} + {% endif %} +
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/auth_url_email.html.liquid new file mode 100644 index 00000000..a413959c --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/auth_url_email.html.liquid @@ -0,0 +1,59 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ {% t shared.welcome_to_school, school_name: current_school.name %} +
+
+ {% t .headline, key: current_school.course_vocabulary %} +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/auth_url_employee.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/auth_url_employee.html.liquid new file mode 100644 index 00000000..c8d8adf7 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/auth_url_employee.html.liquid @@ -0,0 +1,59 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ {% t shared.welcome_to_school, school_name: current_school.name %} +
+
+ {% t .headline, key: current_school.course_vocabulary %} +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/auth_url_phone_number.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/auth_url_phone_number.html.liquid new file mode 100644 index 00000000..aafae119 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/auth_url_phone_number.html.liquid @@ -0,0 +1,40 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t shared.welcome_to_school, school_name: current_school.name %}
+
{% t .headline, key: current_school.course_vocabulary %}
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/auth_url_terms.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/auth_url_terms.html.liquid new file mode 100644 index 00000000..a7087db2 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/auth_url_terms.html.liquid @@ -0,0 +1,74 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t shared.welcome_to_school, school_name: current_school.name %}
+
{% t .headline, key: current_school.course_vocabulary %}
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/catalog.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/catalog.html.liquid new file mode 100644 index 00000000..d7b380b8 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/catalog.html.liquid @@ -0,0 +1,23 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} +{% 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/Walmart Luminate Mexico/certifications.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/certifications.html.liquid new file mode 100644 index 00000000..8464f8ca --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/certifications.html.liquid @@ -0,0 +1,33 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+
{{ custom_page.headline }}
+
{{ custom_page.subheadline }}
+
+
+
+ {% for learning_path in learning_paths.available %} + {% for category in learning_path.categories %} + {% if category.name == 'Certifications' %} + {% include "cards_learning_path" %} +
+ {% else %} + {% endif %} + {% endfor %} + {% endfor %} +{% comment %} +
+
+
+
+ {{ custom_page.content }} +
+ +
+
+
+ {% endcomment %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/course.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/course.html.liquid new file mode 100644 index 00000000..c513f5d2 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/course.html.liquid @@ -0,0 +1,63 @@ +{% if course.properties.skip_course_cover_page or course.properties.is_article_course %} + {% if course.enrolled? %} + + {% else %} + + {% endif %} +{% else %} + {% include "header" %} +
+
+ {% include "course_desktop_view" %} +
+
+ {% include "course_mobile_view" %} +
+
+ {% include "footer" %} +{% endif %} + + + diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/courses.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/courses.html.liquid new file mode 100644 index 00000000..ef34b59a --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/courses.html.liquid @@ -0,0 +1,11 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} +{% include "sub_navigation" %} +
+
+ {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %} +
+
{% t .headline, key: current_school.course_vocabulary %}
+ {% include "courses_index", class: "col-xs-12 col-sm-6 col-lg-4 np-stretch-content" %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/dashboard.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/dashboard.html.liquid new file mode 100644 index 00000000..c9f64338 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/dashboard.html.liquid @@ -0,0 +1,28 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} +{% include "sub_navigation" %} +
+
+
+ {% if features.learning_paths? %} +
+ {% t shared.learning_paths %} +
+ {% include "learning_paths_index", items: learning_paths.enrolled %} + {% endif %} +
+ {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %} +
+ {% include "courses_index", class: "col-xs-12 col-sm-6 np-stretch-content" %} +
+ {% if features.training_events? %} +
+
+ {% t .upcoming_events %} +
+ {% include "training_events_dashboard" %} +
+ {% endif %} +
+
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/forgot_password.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/forgot_password.html.liquid new file mode 100644 index 00000000..3d65513f --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/forgot_password.html.liquid @@ -0,0 +1,25 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/homepage.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/homepage.html.liquid new file mode 100644 index 00000000..dd122692 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/homepage.html.liquid @@ -0,0 +1,580 @@ + + +{% assign catalog_courses = courses.in_catalog %} + +{% assign survey_courses = "" %} +{% assign survey_course_completed = false %} +{% comment %} {% if current_school.id == "10183441-2254-4b1e-a9f7-9549ca773257" %} {% endif %}{% endcomment %} + {% comment %} LIVE SCHOOL {% endcomment %} + {% comment %} {% assign survey_course = catalog_courses | where: "id", "b3225a47-448d-4988-962a-18d37d6616d0" %} {% endcomment %} +{% comment %} {% if current_school.id == "804edb32-c300-42f3-82b7-e5d55fcbc2a6" %} {% endif %} {% endcomment %} + {% comment %} SANDBOX SCHOOL {% endcomment %} + {% comment %} {% assign survey_course = catalog_courses | where: "id", "fdc8acdc-0b7c-4064-a52b-1955379d411b" %} {% endcomment %} + {% comment %} {% endif %} {% endcomment %} + +{% comment %} {% for course in survey_course %} {% endfor %} {% endcomment %} +{% comment %} {% if course.progress == 100 %} {% endif %}{% endcomment %} +{% comment %} {% assign survey_course_completed = true %} {% endcomment %} +{% comment %} {% endif %} {% endcomment %} +{% comment %} {% endfor %} {% endcomment %} + +{% include "header" %} +
+
+
+
+
+ {{ homepage.headline }} +
+
+
+ {{ homepage.subheadline }} +
+ +
+
+ {{ homepage.headline }} +
+
+ {% include "sub_navigation" %} + + {% include "homepage_featured", items: catalog_courses %} + +
+
+
+
Progress Tracker
+
+
+ {% assign lps_in_progress = 0 %} + {% assign enrolled_learning_paths = learning_paths.enrolled | sort: "progress" | reverse %} + {% for learning_path in enrolled_learning_paths %} + {% if learning_path.progress > 0 %} + {% assign lps_in_progress = lps_in_progress | plus: 1 %} + + {% if lps_in_progress < 4 %} +
+ {% include "cards_learning_path_progress" %} +
+ + {% endif %} + {% endif %} + {% endfor %} + + {% if lps_in_progress > 0 %} +
+ See more +
+ {% endif %} + {% if lps_in_progress == 0 %} +
+
+
+ Yikes! You don't have any learning Paths in progress. +
+ +
+
+ + {% endif %} +
+ +
+
+ {% comment %} {% if features.training_events? %} +
+
+
Upcoming Courses
+
+ {% if training_events.available.any? %} + {% for training_event in training_events.available limit:1 %} + {% include "cards_training_event" with training_event %} + {% endfor %} +
+ See more +
+ {% else %} + {% include "training_events_zero_state" %} + {% endif %} +
+
+
+ {% endif %} {% endcomment %} +
+
+ + {% include "homepage_ongoing_training", items: catalog_courses %} + + {% include "homepage_topics" %} + + + +
+{% include "footer" %} + + + + + +{% if current_person.signed_in? %} + {% unless current_person.email contains "+preview" %} + {% if current_person.properties.first_time_user_popup_seen == false %} + + {% elsif current_person.properties.first_time_user_popup_seen == true %} + + {% else %} + + {% endif %} + {% endunless %} +{% endif %} + + + + diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/learning_path.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/learning_path.html.liquid new file mode 100644 index 00000000..29fb2013 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/learning_path.html.liquid @@ -0,0 +1,123 @@ +{% include "header" %} +
+
+ {% include "learning_path_desktop_view" %} +
+
+ {% include "learning_path_mobile_view" %} +
+
+{% include "footer" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/learning_path_summary.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/learning_path_summary.html.liquid new file mode 100644 index 00000000..99ae32ed --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/learning_path_summary.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
+
+ {% include "learning_path_summary_desktop_view" %} +
+
+ {% include "learning_path_summary_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/learning_paths.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/learning_paths.html.liquid new file mode 100644 index 00000000..e6e10cba --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/learning_paths.html.liquid @@ -0,0 +1,14 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+ {% t shared.learning_paths %} +
+
+ {% t .subtitle %} +
+ {% include "learning_paths_index", items: learning_paths.available %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/login.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/login.html.liquid new file mode 100644 index 00000000..bde185dd --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/login.html.liquid @@ -0,0 +1,53 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+ + + {% t .forgot_password %} + + {% if features.account_creation? %} + + {% t shared.sign_up %} + + {% endif %} + {% if features.request_access? %} + + {{ current_school.request_access_label }} + + {% endif %} +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/master.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/master.html.liquid new file mode 100644 index 00000000..63345068 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/master.html.liquid @@ -0,0 +1 @@ +{% body %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/not_found.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/not_found.html.liquid new file mode 100644 index 00000000..91c76e4b --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/not_found.html.liquid @@ -0,0 +1,10 @@ +
+ + +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/private_certificate.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/private_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/private_certificate.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +{% include "certificates_top_bar" %} +
+
+
+ {% include "certificates_preview" %} + {% include "certificates_info_column" %} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/public_certificate.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/public_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/public_certificate.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +{% include "certificates_top_bar" %} +
+
+
+ {% include "certificates_preview" %} + {% include "certificates_info_column" %} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/reset_password.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/reset_password.html.liquid new file mode 100644 index 00000000..281c6eaa --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/reset_password.html.liquid @@ -0,0 +1,43 @@ +
+
+ {% include "header_minimal" %} +
+
+ + + {% form_authenticity_token %} +
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/search.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/search.html.liquid new file mode 100644 index 00000000..285f4461 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/search.html.liquid @@ -0,0 +1,72 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+ {% t .title %} +
+
+
+ {% t .showing %} + {{ results.count }} + {% t .results_for %} + "{{ results.term }}" +
+
+ {% if results.items.any? %} + {% render "search_result" for results.items as result, catalog_courses: courses.in_catalog %} + {% else %} + {% include "search_zero_state" %} + {% endif %} +
+{% include "footer" %} + +{% if current_person.properties.hide_api_certification_exam_course == true %} + +{% endif %} + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/server_error.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/server_error.html.liquid new file mode 100644 index 00000000..37899ae0 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/server_error.html.liquid @@ -0,0 +1,23 @@ +{% comment %}
+
+

{% t .headline %}

+
+ +
+
+

{% t .subheadline %}

+

{% t .home %}

+
+
+
{% endcomment %} + +
+ + +
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/sign_up.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/sign_up.html.liquid new file mode 100644 index 00000000..7a903da4 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/sign_up.html.liquid @@ -0,0 +1,72 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t .create_account %}
+ {% form_authenticity_token %} +
+
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+ + + {% t .terms %} + + {% t .terms_link %} + + +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/styles.css.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/styles.css.liquid new file mode 100644 index 00000000..3602adda --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/styles.css.liquid @@ -0,0 +1,652 @@ +@font-face { + font-family: "Bogle"; + src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Regular.OTF); + font-weight: 400; +} + +@font-face { + font-family: "Bogle"; + src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Italic.OTF); + font-weight: 400; + font-style: italic; +} + +@font-face { + font-family: "Bogle"; + src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Medium.otf); + font-weight: 500; +} + +@font-face { + font-family: "Bogle"; + src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Medium_Italic.otf); + font-weight: 500; + font-style: italic; +} + +@font-face { + font-family: "Bogle"; + src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Bold.OTF); + font-weight: 700; +} + +@font-face { + font-family: "Bogle"; + src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Bold_Italic.OTF); + font-weight: 700; + font-style: italic; +} + +@font-face { + font-family: "Bogle"; + src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Black.OTF); + font-weight: 900; +} + +@font-face { + font-family: "Bogle"; + src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Black_Italic.OTF); + font-weight: 900; + font-style: italic; +} + +body, +html { + font-family: "Bogle", "Roboto", sans-serif; + background: #fff; + color: #333; +} + +.np-certificate-top-bar-spacing { + margin-top: 68px; +} + +.np-dashboard, +.np-learning-paths { + background-color: #fff; +} + +.np-card-container { + box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); +} + +.np-resource-title, +.np-dashboard-resources-title { + color: #333; + font-weight: 400; + font-size: 24px; + line-height: 32px; +} + +.np-dashboard .np-dashboard-resources-title { + margin-bottom: 20px; + text-transform:capitalize; +} + +.np-resource-subtitle { + color: #333; +} + +.np-max-width { + max-width: 1380px; +} + +.np-button { + min-width: 80px; + border-radius: 30px; + padding: 10px 24px; + font-size: 14px; + font-weight: 700; + transition: background-color 0.2s; +} + +.np-button:focus { + border: 2px solid #979797; + box-shadow: 0px 0px 10px 0px #0000001a; +} + +.np-button:disabled, +.np-button:hover:disabled { + background-color: #6d6e71; +} + +.np-alert-info { + background-color: #ebe8f3; + color: #3c228a; +} + +.np-card-ribbon { + background-color: #3c228a; + box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); + text-transform: none; + padding: 6px 10px; + border-radius: 20px; + font-size: 12px; + min-width: 50px; + text-align: center; +} + +.np-learning-paths-resources-container { + margin-bottom: 50px; +} + +.np-zero-state-text { + color: #333; +} + +.np-dashboard-resources-title { + margin-bottom: 8px; + color: #333; +} + +.np-learning-paths-resources-container, +.np-dashboard-resources-container { + border: 2px solid #dadce0; + border-radius: 8px; +} + +.tns-nav { + display: flex; + justify-content: center; + margin-top: 16px; +} + +.tns-nav button { + width: 7px; + height: 7px; + border-radius: 50%; + background-color: #000; + border: none; + margin: 0 6px; + -webkit-appearance: none; + padding: 0; + opacity: 0.3; +} + +.tns-nav button.tns-nav-active { + opacity: 1; +} + +.np-section-header { + font-size: 24px; + line-height: 24px; + margin-bottom: 32px; +} + +.see-more-wrapper { + display: flex; + justify-content: flex-end; + margin-top: 8px; + width: 100%; + align-items: flex-end; +} + +.see-more-wrapper a { + color: #3c228a; +} + +.progress-ring circle { + stroke-linecap: round; +} +.progress-ring text { + font-size: 32px; + font-weight: 700; +} +.progress-ring__circle { + transition: stroke-dashoffset 0.35s; + transform: rotate(-90deg); + transform-origin: center; +} + +.np-progress-circle-label { + text-transform: uppercase; + font-size: 0.875rem; + margin-top: 1rem; +} + +@media (min-width: 768px) { + .tns-nav { + display: none; + } + + .np-section-header { + font-size: 32px; + line-height: 40px; + margin-bottom: 40px; + } + + .np-resource-title, + .np-dashboard-resources-title { + font-size: 32px; + line-height: 40px; + } +} + +/* STICKY HEADER & SUBNAV */ +.np-header { + height: 64px; + transition: all 0.2s; + position: fixed; + top: 0; + left: 0; + width: 100%; + z-index: 50; + box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); +} + +.np-main { + padding-top: 64px; +} + +.np-sub-navigation:not(.homepage-nav):not(.np-page-container) { + position: fixed; + top: 64px; + left: 0; + width: 100%; + background-color: #fff; + box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); + padding-top: 0px; + margin-bottom: 0; + z-index: 49; +} + +.np-sub-navigation.fixed { + position: fixed; + top: 64px; + left: 0; + width: 100%; + box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); + z-index: 49; + padding-top: 0; + margin-bottom: 0; +} + +@media (min-width: 768px) { + .np-main:not(.np-homepage):not(.np-page-container) { + padding-top: 200px; + } + + .np-header { + box-shadow: none; + } +} + +/* COVER PAGES */ +.np-resource-header-card { + box-shadow: none; +} + +.np-back-button .np-icon-back { + color: #333; +} + +.np-top-cta-progress-title { + color: #59697b; +} + +.np-learning-path-outline-item .np-card-content { + padding: 18px; +} + +.np-optional-ribbon { + background-color: rgba(60, 34, 138, 0.1); + color: #3c228a; +} +.np-learning-path-outline-name { + font-weight: 700; +} + +.np-learning-path-outline-progress.np-color-success { + color: #3c228a; +} + +#learning-path-desktop .np-top-image { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +/* COURSE CARDS */ + +a.np-card { + text-decoration: none; +} + +.np-card-padding { + padding: 32px 24px 24px; +} + +.np-image-wrapper { + position: relative; +} + +.np-card .np-image-wrapper .np-card-ribbon { + top: auto; + bottom: 10px; +} + +.np-card .np-image-wrapper .course-img-content { + position: absolute; + top: 16px; + left: 16px; + padding-right: 16px; +} + +.np-card .np-image-wrapper .np-card-content-title { + color: #fff; + font-size: 24px; + line-height: 30px; + text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); +} + +.np-card .course-length { + margin-top: 8px; + font-weight: 500; +} + +.np-card-content-title { + margin: 0 !important; + font-weight: 700; + font-size: 18px; + line-height: 25px; + color: #333; +} + +.np-card .np-card-content-title { + margin: 0; + font-weight: 700; + font-size: 18px; + line-height: 25px; +} + +.np-card-article .np-card-content-title { + margin-bottom: 8px; +} + +.np-card .np-card-content-subtitle { + color: #333; + font-size: 15px; + line-height: 21px; + margin-bottom: 16px; +} + +.np-card .np-card-content-footer { + margin-top: 0; +} + +.np-card-content-progress { + line-height: 16px; +} + +@media (min-width: 768px) { + .np-card .np-image-wrapper .np-card-content-title { + font-size: 28px; + line-height: 34px; + } +} + +/* ONGOING COURSE CARDS */ +.np-card.np-card-ongoing .np-card-padding { + padding: 16px; +} + +.np-card.np-card-ongoing .np-card-content-footer { + display: block; +} + +/* ILT CARDS */ +.np-card-training-event .np-card-padding { + padding: 12px 20px 32px; +} + +.np-card-training-event .np-card-content-title { + font-size: 16px; + color: #333; + margin-bottom: 8px; +} + +.np-card-training-event .np-card-training-session { + margin-top: 20px; +} + +.np-card-training-event .np-card-content-label, +.np-card-training-event .np-card-training-sessions-icon { + color: #333; +} + +/* LEARNING PATH CARDS */ +.np-card .np-learning-path .np-card-content-title { + font-size: 24px; + line-height: 32px; +} + +/* LEARNING PATH PROGRESS CARDS */ +.np-card.np-card-learning-path-progress { + padding: 0; + color: #333; +} + +.np-learning-path .np-card-content-footer { + margin-top: 16px; +} + +@media (min-width: 768px) { + .np-learning-path { + align-items: stretch; + } + + .lp-image-wrapper { + width: 32%; + min-width: 32%; + position: relative; + overflow: hidden; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; + } + + .np-learning-paths .lp-image-wrapper { + min-height: 300px; + } + + .np-learning-path .np-learning-path-image { + width: auto; + border-top-right-radius: 0; + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + } +} + +.np-card-learning-path-progress .lp-progress-card-wrapper { + flex-direction: row; + align-items: center; + justify-content: center; + display: flex; + flex-wrap: wrap; + padding: 24px 16px 50px; +} + +.np-card-learning-path-progress .lp-content { + padding-left: 11px; +} + +.np-card-learning-path-progress .learning-path-title { + font-weight: 500; + font-size: 18px; + line-height: 32px; + width: 100%; + text-align: center; + margin-bottom: 8px; +} + +.np-card-learning-path-progress .lp-total-courses, +.np-card-learning-path-progress .lp-completed-items { + font-size: 16px; + line-height: 26px; +} + +.np-card-learning-path-progress .lp-total-courses span, +.np-card-learning-path-progress .lp-completed-items span { + color: #3c228a; + font-weight: 500; +} + +.np-card-learning-path-progress .lp-completed-items span > div { + display: inline; +} + +@media (min-width: 768px) { + .np-card-learning-path-progress .lp-progress-card-wrapper { + padding: 64px 16px; + flex-wrap: nowrap; + } + .np-card-learning-path-progress .learning-path-title { + font-size: 24px; + line-height: 32px; + margin-bottom: 32px; + text-align: left; + } + + .np-card-learning-path-progress .lp-total-courses, + .np-card-learning-path-progress .lp-completed-items { + font-size: 20px; + line-height: 30px; + } + + .np-card-learning-path-progress .lp-content { + padding-left: 22px; + } +} + +/* MODAL POPUP */ +.first-time-user-popup, +.survey-popup { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1000; + display: flex; + padding: 1em; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + opacity: 0; + pointer-events: none; + transition: 0.25s ease-out; +} +.first-time-user-popup.is-active, +.survey-popup.is-active { + visibility: visible; + opacity: 1; + pointer-events: auto; +} + +.first-time-user-popup-container, +.survey-popup-container { + width: 100%; + max-width: 650px; + margin: auto; + transform: translateY(-1em) scale(0.95); + background-color: white; + transition: transform 0.25s ease-out; + border-radius: 8px; +} + +.first-time-user-popup.is-active .first-time-user-popup-container, +.survey-popup.is-active .survey-popup-cotnainer { + transform: translateY(0) scale(1); +} + +.modal-headline { + font-size: 20px; + line-height: normal; + font-weight: 500; + margin-bottom: 32px; + text-align: center; +} + +.modal-links { + display: flex; + justify-content:center;s +} + +.modal-links a { + border: 2px solid #3c228a; + background: #3c228a; + padding: 8px 16px; + text-align: center; + width: calc(50% - 8px); + margin: 0 8px; + border-radius: 30px; + color: #fff; + text-decoration: none; + font-weight: 700; + transition: all 0.2s; +} + +.modal-links a.secondary { + background: transparent; + color: #3c228a; +} + +.modal-links a:hover { + border: 2px solid #13014a; + background: #13014a; +} + +.modal-links a.secondary:hover { + border: 2px solid #13014a; + background: #ebe8f3; + color: #13014a; +} + +.first-time-user-popup-content, +.survey-popup-content { + padding: 32px 16px; +} + +.survey-popup-content, +.modal-survey { + height:100%; +} + +@media (min-width: 768px) { + .first-time-user-popup-content, + .survey-popup-content { + padding: 32px; + } + + .modal-headline { + font-size: 24px; + } + + .modal-links a { + min-height: 40px; + line-height: 40px; + } +} +/* translations */ +body.lang-en .lang-es, body.lang-en .lang-de, body.lang-en .lang-fr, body.lang-en .lang-br { + display: none !important; +} +body.lang-es .lang-en, body.lang-es .lang-de, body.lang-es .lang-fr, body.lang-es .lang-br { + display: none !important; +} +body.lang-de .lang-es, body.lang-de .lang-en, body.lang-de .lang-fr, body.lang-de .lang-br { + display: none !important; +} +body.lang-fr .lang-es, body.lang-fr .lang-de, body.lang-fr .lang-en, body.lang-fr .lang-br { + display: none !important; +} +body.lang-br .lang-es, body.lang-br .lang-de, body.lang-br .lang-fr, body.lang-br .lang-en { + display: none !important; +} +/* fallback to english for wrongly added body language class */ +body:not(.lang-en):not(.lang-br):not(.lang-de):not(.lang-es):not(.lang-fr) .lang-es, +body:not(.lang-en):not(.lang-br):not(.lang-de):not(.lang-es):not(.lang-fr) .lang-de, +body:not(.lang-en):not(.lang-br):not(.lang-de):not(.lang-es):not(.lang-fr) .lang-fr, +body:not(.lang-en):not(.lang-br):not(.lang-de):not(.lang-es):not(.lang-fr) .lang-br { + display: none !important; +} + diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/training_events.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/training_events.html.liquid new file mode 100644 index 00000000..139717ee --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/training_events.html.liquid @@ -0,0 +1,19 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+
+ {% t .title %} +
+
+ {% t .subtitle %} +
+
+
+ {% include "training_events_filter" %} +
+
+ {% include "training_events_index" %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/training_session.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/training_session.html.liquid new file mode 100644 index 00000000..5b78b834 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/training_session.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
+
+ {% include "training_session_desktop_view" %} +
+
+ {% include "training_session_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/training_session_attendance.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/training_session_attendance.html.liquid new file mode 100644 index 00000000..71bb6119 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/training_session_attendance.html.liquid @@ -0,0 +1,43 @@ +{% include "header" %} +
+
+ {% if token %} + +
+ {{ training_session.title }} +
+
+ {% t .info, + event_name: training_session.title, + session_date: training_session.date, + session_time: training_session.time + %} +
+
+ {% t .question %} +
+
+ {% form_authenticity_token %} + + + +
+
+ {% t .salutation %} +
+
+ {{ current_school.name }} +
+ {% else %} + +
+ {% t .success.response_text %} +
+ +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/unsubscribe.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/unsubscribe.html.liquid new file mode 100644 index 00000000..69a54028 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/unsubscribe.html.liquid @@ -0,0 +1,30 @@ +{% include "header" %} +
+
+ {% if token %} + +
+ {% t .unsubscribe_text %} +
+
+ {% t .resubscribe_text %} +
+
+ {% form_authenticity_token %} + + +
+ {% else %} + +
+ {% t .resubscribed_text %} +
+ {% endif %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Prod/_head.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_head.html.liquid index c97c5abd..a7a77fa4 100644 --- a/Custom_Templates/customer_templates/Walmart Luminate Prod/_head.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Luminate Prod/_head.html.liquid @@ -3,4 +3,6 @@ {% styles custom %} - \ No newline at end of file + + + diff --git a/Custom_Templates/customer_templates/Walmart Luminate Prod/_learning_path_completed_banner.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_learning_path_completed_banner.html.liquid index 20bb719c..a486481c 100644 --- a/Custom_Templates/customer_templates/Walmart Luminate Prod/_learning_path_completed_banner.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Luminate Prod/_learning_path_completed_banner.html.liquid @@ -1,14 +1,13 @@ {% if learning_path.id == "fa4c61ac-e6cd-44dc-a8e0-9b95025968a5" %}
- + + id="image" + src="https://s3.amazonaws.com/schoolkeep-production/wysiwyg/10183441-2254-4b1e-a9f7-9549ca773257/20240214175234_Replenishment%20Badge.png">

You earned it!

-

Congratulations, you're Walmart Luminate Replenishment Certified. Click the image to download your badge and use the button below to add your accomplishment to LinkedIn!

+

Congratulations, you're Walmart Luminate Replenishment Certified. Click the button below to add your accomplishment to LinkedIn!

{% endif %} + + diff --git a/Scripts/Auto_Scrape_Screenshots/playwright_condensed.py b/Scripts/Auto_Scrape_Screenshots/playwright_condensed.py index b43b0c19..7dd05c1e 100644 --- a/Scripts/Auto_Scrape_Screenshots/playwright_condensed.py +++ b/Scripts/Auto_Scrape_Screenshots/playwright_condensed.py @@ -6,7 +6,9 @@ def run(playwright: Playwright): print("running") webkit = playwright.webkit browser = webkit.launch() - context = browser.new_context() + context = browser.new_context( + viewport={ 'width': 390, 'height': 844 } + ) page = context.new_page() BASEURL = "https://walmart.northpass.com/app/courses/" USERID = "?uid=7beg87y4-fh24-4929-3rt5-24kdn87s5241" @@ -16,7 +18,7 @@ def run(playwright: Playwright): example = page.goto(f"{BASEURL}{COURSEID}{USERID}") page.screenshot(path="/Users/normrasmussen/Downloads/screenshot1.png", full_page=True) page.locator('#course-mobile > div.np-top-cta.stick-to-bottom > a').click() - page.screenshot(path="/Users/normrasmussen/Downloads/screenshot2.png", full_page=True) + page.screenshot(path="/Users/normrasmussen/Downloads/screenshot2.png").mask(['#activity-b4be181e-d2ea-46f8-bb1a-cd316c590fcf > div.Wrapper-h8th5y-0.evldAo.footer__wrapper > div > footer']) browser.close() with sync_playwright() as playwright: diff --git a/Todos.md b/Todos.md index 1f775474..84113cf4 100644 --- a/Todos.md +++ b/Todos.md @@ -156,4 +156,4 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th ## 03-27-2024 - [ ] Walmart - Ask if they can expose storage in Azure. -- [ ] Anthology - Presentation might be a few minutes late. +- [X] Anthology - Presentation might be a few minutes late.