From c1d3e60f4b179ef4da8cc84657b63db81a72357b Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Wed, 21 Feb 2024 18:55:26 -0500 Subject: [PATCH] MATTR templates and tripleseat head file for custom fonts. Todos. --- .../_account_avatar.html.liquid | 66 +++ .../_account_desktop_view.html.liquid | 19 + .../_account_form.html.liquid | 139 ++++++ .../_account_mobile_view.html.liquid | 17 + .../_cards_course.html.liquid | 85 ++++ .../_cards_learning_path.html.liquid | 71 +++ ...cards_learning_path_unenrolled.html.liquid | 53 +++ .../_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 | 40 ++ .../_course_events.html.liquid | 28 ++ .../_course_header.html.liquid | 82 ++++ .../_course_instructors.html.liquid | 22 + .../_course_mobile_view.html.liquid | 40 ++ .../_course_outline.html.liquid | 40 ++ .../_course_progress_and_cta.html.liquid | 90 ++++ ..._course_version_outdated_alert.html.liquid | 7 + ..._course_version_outdated_popup.html.liquid | 33 ++ .../_courses_catalog.html.liquid | 16 + .../_courses_index.html.liquid | 16 + .../_courses_zero_state.html.liquid | 6 + .../_filter_checkbox.html.liquid | 10 + .../_filter_dropdown.html.liquid | 33 ++ .../_filter_select.html.liquid | 22 + .../MATTR The Knowledge/_footer.html.liquid | 34 ++ .../MATTR The Knowledge/_head.html.liquid | 49 ++ .../MATTR The Knowledge/_header.html.liquid | 195 ++++++++ .../_header_minimal.html.liquid | 17 + .../_homepage_catalog_courses.html.liquid | 117 +++++ .../_homepage_categories.html.liquid | 201 ++++++++ .../_homepage_courses.html.liquid | 98 ++++ .../_homepage_filter.html.liquid | 342 ++++++++++++++ .../_homepage_list_headers.html.liquid | 46 ++ .../_homepage_scoreboard.html.liquid | 222 +++++++++ .../_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 | 13 + .../_learning_path_course.html.liquid | 56 +++ .../_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 | 2 + .../_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 | 2 + ...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 + ...ng_paths_subject_mattr_experts.html.liquid | 200 ++++++++ .../MATTR The Knowledge/_messages.html.liquid | 19 + .../_search_result.html.liquid | 19 + .../_search_zero_state.html.liquid | 13 + .../_sub_navigation.html.liquid | 13 + .../_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 + .../MATTR The Knowledge/account.html.liquid | 14 + .../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 +++ .../MATTR The Knowledge/catalog.html.liquid | 23 + .../MATTR The Knowledge/course.html.liquid | 431 ++++++++++++++++++ .../MATTR The Knowledge/courses.html.liquid | 11 + .../MATTR The Knowledge/dashboard.html.liquid | 32 ++ .../forgot_password.html.liquid | 25 + .../MATTR The Knowledge/homepage.html.liquid | 227 +++++++++ .../learning_path.html.liquid | 15 + .../learning_path_summary.html.liquid | 15 + .../learning_paths.html.liquid | 309 +++++++++++++ .../MATTR The Knowledge/login.html.liquid | 53 +++ .../MATTR The Knowledge/master.html.liquid | 1 + .../MATTR The Knowledge/not_found.html.liquid | 10 + .../private_certificate.html.liquid | 10 + .../public_certificate.html.liquid | 10 + .../reset_password.html.liquid | 43 ++ .../MATTR The Knowledge/search.html.liquid | 27 ++ .../server_error.html.liquid | 0 .../MATTR The Knowledge/sign_up.html.liquid | 72 +++ .../MATTR The Knowledge/styles.css.liquid | 410 +++++++++++++++++ .../training_events.html.liquid | 19 + .../training_session.html.liquid | 10 + .../training_session_attendance.html.liquid | 43 ++ .../unsubscribe.html.liquid | 30 ++ .../TripleSeat/_head.html.liquid | 54 +++ Scripts/API_Tests/get-group-ids.py | 5 +- Todos.md | 16 +- 112 files changed, 5555 insertions(+), 6 deletions(-) create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_account_avatar.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_account_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_account_form.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_account_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_cards_course.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_cards_learning_path.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_cards_learning_path_unenrolled.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_cards_training_event.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_info_column.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_metadata.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_preview.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_top_bar.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_verification.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_course_activity_locked.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_course_activity_unlocked.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_course_categories.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_course_description.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_course_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_course_events.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_course_header.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_course_instructors.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_course_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_course_outline.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_course_progress_and_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_course_version_outdated_alert.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_course_version_outdated_popup.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_courses_catalog.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_courses_index.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_courses_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_filter_checkbox.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_filter_dropdown.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_filter_select.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_footer.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_head.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_header.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_header_minimal.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_catalog_courses.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_categories.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_courses.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_filter.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_list_headers.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_scoreboard.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_banners.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_certificate_content.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_completed_banner.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_course.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_description.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_desktop_content.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_desktop_header.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_instructors.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_mobile_content.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_mobile_header.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_new_content_banner.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_outline.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_progress_and_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_summary_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_summary_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_training_session.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_paths_index.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_learning_paths_subject_mattr_experts.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_messages.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_search_result.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_search_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_sub_navigation.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_training_events_dashboard.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_training_events_filter.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_training_events_index.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_training_events_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_calendars.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_date.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_description.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_details.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_header.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_more_sessions.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_tile.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/account.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/auth_url_email.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/auth_url_employee.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/auth_url_phone_number.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/auth_url_terms.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/catalog.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/course.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/courses.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/dashboard.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/forgot_password.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/homepage.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/learning_path.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/learning_path_summary.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/learning_paths.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/login.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/master.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/not_found.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/private_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/public_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/reset_password.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/search.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/server_error.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/sign_up.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/styles.css.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/training_events.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/training_session.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/training_session_attendance.html.liquid create mode 100644 Custom_Templates/customer_templates/MATTR The Knowledge/unsubscribe.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_head.html.liquid diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_account_avatar.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_account_avatar.html.liquid new file mode 100644 index 00000000..d952af93 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_account_avatar.html.liquid @@ -0,0 +1,66 @@ +
+

{% t .description %}

+

{% t .requirements %}

+
+ + + + +
+
+ +
+ +
+ +
+
+ +
+
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_account_desktop_view.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_account_desktop_view.html.liquid new file mode 100644 index 00000000..8ae8599d --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_account_desktop_view.html.liquid @@ -0,0 +1,19 @@ +
+ + {% form_authenticity_token %} +
+
+
+ + +
+
+
+
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_account_form.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_account_form.html.liquid new file mode 100644 index 00000000..ddd264c2 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_account_mobile_view.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_account_mobile_view.html.liquid new file mode 100644 index 00000000..6ac8c007 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_account_mobile_view.html.liquid @@ -0,0 +1,17 @@ +
+ + {% form_authenticity_token %} + + + +
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_cards_course.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_cards_course.html.liquid new file mode 100644 index 00000000..2b21e60b --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_cards_course.html.liquid @@ -0,0 +1,85 @@ +{% assign talent_lms_learner = current_person.properties.talent_lms_learner %} +{% assign talent_lms_course = course.properties.talent_lms_course %} +{% assign course_previously_completed = false %} +{% if talent_lms_course and talent_lms_learner %} + {% assign course_previously_completed = true %} +{% endif %} + +{% capture course_path %}{% route course, id: course.id %}{% endcapture %} + {% assign progress_status = "not-started" %} + {% if course.progress == 0 %} + {% if course_previously_completed == true %} + {% assign progress_status = "completed" %} + {% else %} + {% assign progress_status = "not-started" %} + {% endif %} + {% elsif course.progress == 100 %} + {% assign progress_status = "completed" %} + {% else %} + {% if course_previously_completed == true %} + {% assign progress_status = "completed" %} + {% else %} + {% assign progress_status = "in-progress" %} + {% endif %} + {% endif %} + +
+ +
+ {% if course.ribbon %} +
+ {{ course.ribbon }} +
+ {% endif %} + {% if course.properties.course_type == "Training" %} +
+ {{ course.properties.course_type }} +
+ {% endif %} + {{ course.name }} +
+ {{ course.name }} +
+

+ {{ course.name }} +

+
+ {{ course.short_description }} +
+
+ +
+
+
+ + +
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_cards_learning_path.html.liquid new file mode 100644 index 00000000..526e780c --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_cards_learning_path.html.liquid @@ -0,0 +1,71 @@ +{% assign enrolled_courses = "" %} +{% assign lp_items = learning_path.items %} +{% assign lp_items_completed_count = 0 %} +{% assign course_object = "" %} + +{% for lp_item in lp_items %} + {% if lp_item.completed? %} + {% assign lp_items_completed_count = lp_items_completed_count | plus: 1 %} + {% endif %} +{% endfor %} + +{% if courses.enrolled.any? %} + {% assign enrolled_courses = courses.enrolled %} +{% endif %} + + {% assign lp_name_formatted = learning_path.name | replace: " ", "-" | downcase %} +
+
{{learning_path.name}} Accreditation
+
{{lp_items_completed_count}} / {{ lp_items.count }}
+
+ +
+ +
+ {% for lp_item in lp_items %} + + {% for course in enrolled_courses %} + {% if course.id == lp_item.id %} + {% assign course_object = course %} + {% endif %} + {% endfor %} + {% if lp_item.course? %} + {% assign progress_status = "not-started" %} + + {% if lp_item.progress > 0 and lp_item.progress < 100 %} + {% assign progress_status = "in-progress" %} + {% endif %} + + {% if lp_item.completed? %} + {% assign progress_status = "complete" %} + {% endif %} + + {% if lp_item.unlocked? %} + +
+ {% if lp_item.image contains "cdn.northpass.com/assets/defaults/" %} +
+ {% else %} + + {% endif %} +
+
{{lp_item.name}} ({{course_object.properties.experience}})
+
+ {% else %} +
+
+ {% if lp_item.image contains "cdn.northpass.com/assets/defaults/" %} +
+ {% else %} + + {% endif %} +
+
{{lp_item.name}} ({{course_object.properties.experience}})
+
+ {% endif %} + {% endif %} + {% endfor %} +
+
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_cards_learning_path_unenrolled.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_cards_learning_path_unenrolled.html.liquid new file mode 100644 index 00000000..e08c969c --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_cards_learning_path_unenrolled.html.liquid @@ -0,0 +1,53 @@ +{% assign enrolled_courses = "" %} +{% assign lp_items = available_lp.items %} + +{% if courses.enrolled.any? %} + {% assign enrolled_courses = courses.enrolled %} +{% endif %} + +
+
{{available_lp.name}} Accreditation
+
0 / {{ lp_items.count }}
+
+ + + {% for lp_item in lp_items %} + {% assign course_object = "" %} + {% for course in enrolled_courses %} + {% if course.id == lp_item.id %} + {% assign course_object = course %} + {% endif %} + {% endfor %} + {% if lp_item.course? %} + {% if lp_item.unlocked? %} +
+ + {% assign progress_status = "not-started" %} + + {% if lp_item.progress > 0 and lp_item.progress < 100 %} + {% assign progress_status = "in-progress" %} + {% endif %} + + {% if lp_item.completed? %} + {% assign progress_status = "complete" %} + {% endif %} + + {% if course_object.properties.content_type == "Grey MATTR" %} +
+ {% elsif course_object.properties.content_type == "Dark MATTR" %} +
+ {% elsif course_object.properties.content_type == "Blue MATTR" %} +
+ {% endif %} + {{lp_item.name}} +
+ {% else %} +
+
+ {{lp_item.name}} +
+ {% endif %} + {% endif %} + {% endfor %} +
Enroll in {{available_lp.name}}
+ \ No newline at end of file diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_cards_training_event.html.liquid new file mode 100644 index 00000000..1176157e --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_certificates_info_column.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_info_column.html.liquid new file mode 100644 index 00000000..61adfaba --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_info_column.html.liquid @@ -0,0 +1,4 @@ +
+ {% include "certificates_verification" %} + {% include "certificates_metadata" %} +
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_metadata.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_metadata.html.liquid new file mode 100644 index 00000000..9f4a1dba --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_metadata.html.liquid @@ -0,0 +1,59 @@ +
+
+ +
+ + {% if certificate.issuer_name_enabled? %} + +
+ {% endif %} + + +
+ +
+
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_preview.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_preview.html.liquid new file mode 100644 index 00000000..6357b621 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_preview.html.liquid @@ -0,0 +1,35 @@ + + +
+
+
+ +
+
+
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_top_bar.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_top_bar.html.liquid new file mode 100644 index 00000000..74a7ae41 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_certificates_verification.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_verification.html.liquid new file mode 100644 index 00000000..4fc19415 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_certificates_verification.html.liquid @@ -0,0 +1,15 @@ +
+
+
+ +
+
+

+ {{certificate.verification_title}} +

+

+ {{certificate.verification_description}} +

+
+
+
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_course_activity_locked.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_activity_locked.html.liquid new file mode 100644 index 00000000..386393d5 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_activity_locked.html.liquid @@ -0,0 +1,4 @@ + + + {{ activity.title }} + diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_activity_unlocked.html.liquid new file mode 100644 index 00000000..30c03305 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_course_categories.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_categories.html.liquid new file mode 100644 index 00000000..6cfe9010 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_course_description.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_description.html.liquid new file mode 100644 index 00000000..e746ff24 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_description.html.liquid @@ -0,0 +1,6 @@ +

+ Upon completing this module, you’ll be able to... +

+
+ {{ course.full_description }} +
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_desktop_view.html.liquid new file mode 100644 index 00000000..e16fee16 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_desktop_view.html.liquid @@ -0,0 +1,40 @@ +
+
+ {% include "course_header" %} +
+
+
+
+ {{ 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/MATTR The Knowledge/_course_events.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_events.html.liquid new file mode 100644 index 00000000..5fa80eef --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_course_header.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_header.html.liquid new file mode 100644 index 00000000..c01d339c --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_header.html.liquid @@ -0,0 +1,82 @@ +{% assign bg_color = "#FAFAFA" %} +{% assign txt_color = "#2E29FC" %} +{% assign content_type = course.properties.content_type | downcase | replace: " ", "-" %} + +{% if content_type == "blue-mattr" %} + {% assign bg_color = "#E2E5FF" %} + {% assign txt_color = "#2E29FC" %} +{% endif %} + +{% if content_type == "dark-mattr" %} + {% assign bg_color = "#333132" %} + {% assign txt_color = "#EAD9E3" %} +{% endif %} + +{% if content_type == "grey-mattr" %} + {% assign bg_color = "#C0BDBF" %} + {% assign txt_color = "#333132" %} +{% endif %} + +
+ {{ course.name }} +
+
+ {{ course.name }} ({{course.properties.experience}}) +
+
+
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_course_instructors.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_instructors.html.liquid new file mode 100644 index 00000000..8b608928 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_mobile_view.html.liquid new file mode 100644 index 00000000..7f31ff35 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_course_outline.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_outline.html.liquid new file mode 100644 index 00000000..72f97e79 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_progress_and_cta.html.liquid new file mode 100644 index 00000000..20f92d9e --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_progress_and_cta.html.liquid @@ -0,0 +1,90 @@ + + +{% if course.learner_can_retake? %} +
+ {% form_authenticity_token %} +
+ +
+
+{% else %} + +{% endif %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_course_version_outdated_alert.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_version_outdated_alert.html.liquid new file mode 100644 index 00000000..03e245ab --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_version_outdated_alert.html.liquid @@ -0,0 +1,7 @@ +{% if courses.include_courses_to_restart? %} + +{% endif %} diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_version_outdated_popup.html.liquid new file mode 100644 index 00000000..71795884 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_course_version_outdated_popup.html.liquid @@ -0,0 +1,33 @@ +
+
+ + +
+
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_courses_catalog.html.liquid new file mode 100644 index 00000000..ea1e9ea4 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_courses_catalog.html.liquid @@ -0,0 +1,16 @@ +{% if courses.in_catalog.any? %} +
+ {% for course in courses.in_catalog %} +
+ {% include "cards_course" with course %} +
+ {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_courses_index.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_courses_index.html.liquid new file mode 100644 index 00000000..19e7671b --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_courses_index.html.liquid @@ -0,0 +1,16 @@ +{% if courses.enrolled.any? %} +
+ {% for course in courses.enrolled %} +
+ {% include "cards_course" with course %} +
+ {% 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/MATTR The Knowledge/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_courses_zero_state.html.liquid new file mode 100644 index 00000000..26e371f7 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_courses_zero_state.html.liquid @@ -0,0 +1,6 @@ +
+
+ {{ message }} +
+ {{ message }} +
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_filter_checkbox.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_filter_checkbox.html.liquid new file mode 100644 index 00000000..5cbcbd07 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_filter_checkbox.html.liquid @@ -0,0 +1,10 @@ + + diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_filter_dropdown.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_filter_dropdown.html.liquid new file mode 100644 index 00000000..e7a954bb --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_filter_dropdown.html.liquid @@ -0,0 +1,33 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_filter_select.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_filter_select.html.liquid new file mode 100644 index 00000000..d006c0df --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_filter_select.html.liquid @@ -0,0 +1,22 @@ +{% if params.q %} + +{% endif %} + + + + diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_footer.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_footer.html.liquid new file mode 100644 index 00000000..84ced986 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_footer.html.liquid @@ -0,0 +1,34 @@ +
+ +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_head.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_head.html.liquid new file mode 100644 index 00000000..1bcbcb39 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_head.html.liquid @@ -0,0 +1,49 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + + + + + + + + + + + + + + diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_header.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_header.html.liquid new file mode 100644 index 00000000..83e68128 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_header.html.liquid @@ -0,0 +1,195 @@ +
+
+
+ {% if current_person.signed_in? %} + + + {% endif %} +
+ {% if current_school.logo_url %} +

+ + {{ current_school.name }} + +

+ {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +
+ + {% if current_person.signed_in? %} +
+ + +
+ {% else %} +
+ + +
+
+ +{% include "messages" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_header_minimal.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_header_minimal.html.liquid new file mode 100644 index 00000000..6b72cdb2 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_homepage_catalog_courses.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_catalog_courses.html.liquid new file mode 100644 index 00000000..857c0cca --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_catalog_courses.html.liquid @@ -0,0 +1,117 @@ +
+ {% for course in courses.in_catalog %} + {% unless course.enrolled? %} + {% assign talent_lms_learner = current_person.properties.talent_lms_learner %} + {% assign talent_lms_course = course.properties.talent_lms_course %} + {% assign course_previously_completed = false %} + {% if talent_lms_course and talent_lms_learner %} + {% assign course_previously_completed = true %} + {% endif %} + + {% assign status = "not-started" %} + {% if course.progress == 0 %} + {% if course_previously_completed == true %} + {% assign status = "completed" %} + {% else %} + {% assign status = "not-started" %} + {% endif %} + {% elsif course.progress == 100 %} + {% assign status = "completed" %} + {% else %} + {% if course_previously_completed == true %} + {% assign status = "completed" %} + {% else %} + {% assign status = "in-progress" %} + {% endif %} + {% endif %} + + + {% endunless %} + {% endfor %} +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_categories.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_categories.html.liquid new file mode 100644 index 00000000..a1288e9c --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_categories.html.liquid @@ -0,0 +1,201 @@ +
+
+ {% for category in categories.in_catalog %} + {% assign category_name_formatted = category.name | replace: " ", "-" | downcase %} +
+ {% assign show_indicator = false %} + {% for course in courses.in_catalog %} + {% assign course_categories = course.categories | map: "name" %} + + {% if course_categories contains category.name %} + {% if course.enrolled? and course.progress < 100 and course.properties.course_type == "Training" %} + {% if course.properties.talent_lms_course == true and current_person.properties.talent_lms_learner == false %} + + {% assign show_indicator = true %} + {% elsif course.properties.talent_lms_course == false %} + + {% assign show_indicator = true %} + {% endif %} + {% endif %} + {% endif %} + {% endfor %} +
+ {{ category.name }} +
+ {% if show_indicator %} +
+ {% endif %} +
+ {% endfor %} +
+ {% include 'homepage_filter' %} +
+ + + + diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_courses.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_courses.html.liquid new file mode 100644 index 00000000..da4907a8 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_courses.html.liquid @@ -0,0 +1,98 @@ +
+ {% for course in courses.enrolled %} + {% assign talent_lms_learner = current_person.properties.talent_lms_learner %} + {% assign talent_lms_course = course.properties.talent_lms_course %} + {% assign course_previously_completed = false %} + {% if talent_lms_course and talent_lms_learner %} + {% assign course_previously_completed = true %} + {% endif %} + + {% assign status = "not-started" %} + {% if course.progress == 0 %} + {% if course_previously_completed == true %} + {% assign status = "completed" %} + {% else %} + {% assign status = "not-started" %} + {% endif %} + {% elsif course.progress == 100 %} + {% assign status = "completed" %} + {% else %} + {% if course_previously_completed == true %} + {% assign status = "completed" %} + {% else %} + {% assign status = "in-progress" %} + {% endif %} + {% endif %} + + + {% endfor %} +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_filter.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_filter.html.liquid new file mode 100644 index 00000000..0f77b65d --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_filter.html.liquid @@ -0,0 +1,342 @@ +
+
+
+ Layout +
+ +
+ + +
+ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_list_headers.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_list_headers.html.liquid new file mode 100644 index 00000000..01c0beed --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_list_headers.html.liquid @@ -0,0 +1,46 @@ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_scoreboard.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_scoreboard.html.liquid new file mode 100644 index 00000000..e988e438 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_homepage_scoreboard.html.liquid @@ -0,0 +1,222 @@ +{% comment %} + {% if learning_paths.enrolled.any? %} + {% assign total_course_finished = 0 %} + {% assign all_learning_paths = learning_paths.enrolled %} + {% for learning_path in learning_paths.enrolled %} + {% for item in learning_path.items %} + {% if item.course? %} + {% if item.completed? %} + {% assign total_course_finished = total_course_finished | plus: 1 %} + {% endif %} + {% endif %} + {% endfor %} + {% endfor %} + {% endif %} +{% endcomment %} + +
+
+ {% comment %} +
+ {{total_course_finished}} total credentials Earned +
+ {% endcomment %} +
+
You are subject experts in...
+
+ {% if learning_paths.available.any? %} + {% for learning_path in learning_paths.available %} + {% if learning_path.completed? %} +
+ + + + + + + + {{learning_path.name}} +
+ {% endif %} + {% endfor %} + {% endif %} +
+ + + Learn more about MATTR Badges + +
+
+
Progress overview
+
+ {% if learning_paths.enrolled.any? %} + {% for learning_path in learning_paths.enrolled %} + {% unless learning_path.completed? %} + {% assign learning_path_item_completed = 0 %} + + {% for item in learning_path.items %} + {% if item.course? %} + {% if item.completed? %} + {% assign learning_path_item_completed = learning_path_item_completed | plus: 1 %} + {% endif %} + {% endif %} + {% endfor %} + + {% assign learning_path_size = learning_path.items | size %} + {% assign completed_percent = learning_path_item_completed | times: 100 | divided_by: learning_path_size %} + + {% assign lp_name_formatted = learning_path.name | replace: " ", "-" | downcase %} +
+
+ {{learning_path.name}} +
{{learning_path_item_completed}}/{{learning_path_size}}
+
+
+
+
+
{{completed_percent}}% completed
+
+ {% endunless %} + + {% endfor %} + {% endif %} +
+
+ + +
+
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_banners.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_banners.html.liquid new file mode 100644 index 00000000..11a1810c --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_learning_path_certificate.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_certificate.html.liquid new file mode 100644 index 00000000..3a282c5e --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_learning_path_certificate_content.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_certificate_content.html.liquid new file mode 100644 index 00000000..3feafd59 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_learning_path_completed_banner.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_completed_banner.html.liquid new file mode 100644 index 00000000..1c146f6e --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_completed_banner.html.liquid @@ -0,0 +1,13 @@ +
+ +
+

{% t .headline %}

+

{% t .description %}

+
+ {% if learning_path.certificate_link %} + {% t .actions.certificate %} + {% endif %} + {% t .actions.more_courses %} +
+
+
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_course.html.liquid new file mode 100644 index 00000000..5f7aff84 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_course.html.liquid @@ -0,0 +1,56 @@ +{% if learning_path.enrolled? and course.unlocked? %} +
+ +
+ {{ 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.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_description.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_description.html.liquid new file mode 100644 index 00000000..6b1fb3a0 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .about %} +

+
+ {{ learning_path.description }} +
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_desktop_content.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_desktop_content.html.liquid new file mode 100644 index 00000000..e9ca85d9 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_learning_path_desktop_header.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_desktop_header.html.liquid new file mode 100644 index 00000000..6f4c112c --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_learning_path_desktop_view.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_desktop_view.html.liquid new file mode 100644 index 00000000..8447443e --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_desktop_view.html.liquid @@ -0,0 +1,2 @@ +{% include "learning_path_desktop_header" %} +{% include "learning_path_desktop_content" %} diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_instructors.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_instructors.html.liquid new file mode 100644 index 00000000..a8342301 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_learning_path_mobile_content.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_mobile_content.html.liquid new file mode 100644 index 00000000..92ffd4c8 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_learning_path_mobile_header.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_mobile_header.html.liquid new file mode 100644 index 00000000..2bf66a5a --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_learning_path_mobile_view.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_mobile_view.html.liquid new file mode 100644 index 00000000..0e22feb9 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_mobile_view.html.liquid @@ -0,0 +1,2 @@ +{% include "learning_path_mobile_header" %} +{% include "learning_path_mobile_content" %} diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_new_content_banner.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_new_content_banner.html.liquid new file mode 100644 index 00000000..2bc02d46 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_learning_path_outline.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_outline.html.liquid new file mode 100644 index 00000000..22ddd573 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_learning_path_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_progress_and_cta.html.liquid new file mode 100644 index 00000000..1d90a2a7 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_learning_path_summary_desktop_view.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_summary_desktop_view.html.liquid new file mode 100644 index 00000000..05961c52 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_learning_path_summary_mobile_view.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_summary_mobile_view.html.liquid new file mode 100644 index 00000000..f30a09eb --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_learning_path_training_session.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_path_training_session.html.liquid new file mode 100644 index 00000000..f796cdf4 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_paths_index.html.liquid new file mode 100644 index 00000000..a4681210 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_learning_paths_subject_mattr_experts.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_paths_subject_mattr_experts.html.liquid new file mode 100644 index 00000000..f80ba3cb --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_learning_paths_subject_mattr_experts.html.liquid @@ -0,0 +1,200 @@ +{% assign completed_lps = 0 %} + +{% for learning_path in items %} + {% if learning_path.completed? %} + {% assign completed_lps = completed_lps | plus: 1 %} + {% endif %} +{% endfor %} + +{% if completed_lps > 0 %} +
+
+
+
Congrats {{current_person.first_name}}! 🎉
+
You are MATTR Subject Experts in -
+
+ +
+
+ {% for learning_path in items %} + {% if learning_path.completed? %} +
+
+
+
{{learning_path.name}}
+
{{learning_path.description}}
+
+
+
+ {% endif %} + {% endfor %} +
+
+ + + +{% endif %} + + diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_messages.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_messages.html.liquid new file mode 100644 index 00000000..059fc568 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_search_result.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_search_result.html.liquid new file mode 100644 index 00000000..5c2a4991 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_search_result.html.liquid @@ -0,0 +1,19 @@ +
+
+
+ {{ result.name }} +
+ +
{{ result.description }}
+
+
+
+
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_search_zero_state.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_search_zero_state.html.liquid new file mode 100644 index 00000000..4e52c6fb --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_search_zero_state.html.liquid @@ -0,0 +1,13 @@ +
+
+
+

+ {% t .nothing_found %} +

+
+ {% t .empty %} +
+
+
+
+
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_sub_navigation.html.liquid new file mode 100644 index 00000000..b432c10b --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_sub_navigation.html.liquid @@ -0,0 +1,13 @@ + diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_training_events_dashboard.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_events_dashboard.html.liquid new file mode 100644 index 00000000..7aeb19ce --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_training_events_filter.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_events_filter.html.liquid new file mode 100644 index 00000000..d4892278 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_events_filter.html.liquid @@ -0,0 +1,53 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_training_events_index.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_events_index.html.liquid new file mode 100644 index 00000000..ff93b1c8 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_training_events_zero_state.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_events_zero_state.html.liquid new file mode 100644 index 00000000..076b789e --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_events_zero_state.html.liquid @@ -0,0 +1,9 @@ +
+
+ {% t .empty %} +
+ {% t .empty %} +
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_calendars.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_calendars.html.liquid new file mode 100644 index 00000000..6c758b73 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_calendars.html.liquid @@ -0,0 +1,52 @@ + diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_cta.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_cta.html.liquid new file mode 100644 index 00000000..d777c5f6 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_training_session_date.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_date.html.liquid new file mode 100644 index 00000000..48694035 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_training_session_description.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_description.html.liquid new file mode 100644 index 00000000..73be4cf4 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .header %} +

+
+ {{ training_event.description }} +
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_desktop_view.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_desktop_view.html.liquid new file mode 100644 index 00000000..5c1abfec --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_training_session_details.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_details.html.liquid new file mode 100644 index 00000000..ae23b7ac --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_training_session_header.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_header.html.liquid new file mode 100644 index 00000000..10434cfa --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_training_session_mobile_view.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_mobile_view.html.liquid new file mode 100644 index 00000000..00455d4e --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_training_session_more_sessions.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_more_sessions.html.liquid new file mode 100644 index 00000000..6cfafa87 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/_training_session_tile.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/_training_session_tile.html.liquid new file mode 100644 index 00000000..e5ad8714 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/_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/MATTR The Knowledge/account.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/account.html.liquid new file mode 100644 index 00000000..2ad5d917 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/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/MATTR The Knowledge/auth_url_email.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/auth_url_email.html.liquid new file mode 100644 index 00000000..a413959c --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/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/MATTR The Knowledge/auth_url_employee.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/auth_url_employee.html.liquid new file mode 100644 index 00000000..c8d8adf7 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/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/MATTR The Knowledge/auth_url_phone_number.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/auth_url_phone_number.html.liquid new file mode 100644 index 00000000..aafae119 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/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/MATTR The Knowledge/auth_url_terms.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/auth_url_terms.html.liquid new file mode 100644 index 00000000..a7087db2 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/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/MATTR The Knowledge/catalog.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/catalog.html.liquid new file mode 100644 index 00000000..d7b380b8 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/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/MATTR The Knowledge/course.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/course.html.liquid new file mode 100644 index 00000000..c63aba62 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/course.html.liquid @@ -0,0 +1,431 @@ + + +{% assign catalog_courses = courses.in_catalog %} + +{% include "header" %} +{% include "course_header" %} +
+
+
+
+ {% if course.enrolled? %} + {% if course.properties.talent_lms_course == true and current_person.properties.talent_lms_learner == true %} +
+

You have previously completed this module on TalentLMS
Feel free to re-visit this course here on the Knowledge, however any course progression or quiz results from TalentLMS have not and will not be migrated over.

+
+ {% endif %} + {% endif %} + +
+
+ {{ course.full_description }} +
+
+ +
+ +
+ {% for instructor in course.instructors %} +
+ {{ instructor.name }} +
+
+ {{ instructor.name }} +
+ +
+
+ {% endfor %} +
+ +
+ +
+
+
Course level:
+
+
+ {{course.properties.experience}} +
+
+
+
+
Category:
+
+ {% if course.categories.any? %} + {% for category in course.categories %} +
+ {{ category.name }} +
+ {% endfor %} + {% endif %} +
+
+
+
Content type:
+
+
+ {{course.properties.content_type}} +
+
+
+
+
Data classification:
+
+
+ {{course.properties.data_classification}} +
+
+
+ {% assign pre_requisite = course.properties.pre_requisite | upcase %} + {% unless pre_requisite == "NONE" %} +
+
Pre-requisite: Complete these Knowledge modules before continuing
+ +
+ {% endunless %} +
+
+ {% unless course.promo_video_embed_url == "" %} +
+
+ {{course.promo_video_embed_url}} +
+
+ {% endunless %} + +
+ {% include "course_progress_and_cta" %} +
+ +
+
+
+ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/courses.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/courses.html.liquid new file mode 100644 index 00000000..ef34b59a --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/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/MATTR The Knowledge/dashboard.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/dashboard.html.liquid new file mode 100644 index 00000000..cec192b3 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/dashboard.html.liquid @@ -0,0 +1,32 @@ + + +{% comment %} {% 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" %} {% endcomment %} diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/forgot_password.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/forgot_password.html.liquid new file mode 100644 index 00000000..3d65513f --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/forgot_password.html.liquid @@ -0,0 +1,25 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/homepage.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/homepage.html.liquid new file mode 100644 index 00000000..b0f65b3f --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/homepage.html.liquid @@ -0,0 +1,227 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.featured %} +
+
+
+
+
+ + +
+
+
+
+
+ {{current_person.first_name | slice: 0}}{{current_person.last_name | slice: 0}} +
+
+ Welcome back,
{{current_person.first_name}} +
+
+
+
+
+ +
+
+
+
MATTR BADGES
+ {% include "homepage_scoreboard" %} +
+
+
COURSES
+ {% include 'homepage_categories' %} + {% include 'homepage_list_headers' %} + {% include 'homepage_courses' %} +
+
+ Show Optional Courses + +
+
+ {% include 'homepage_catalog_courses' %} + {% include "footer" %} +
+
+
+
+ + + + diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/learning_path.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/learning_path.html.liquid new file mode 100644 index 00000000..fdabbb10 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/learning_path.html.liquid @@ -0,0 +1,15 @@ + + +{% comment %} {% include "header" %} +
+
+ {% include "learning_path_desktop_view" %} +
+
+ {% include "learning_path_mobile_view" %} +
+
+{% include "footer" %} {% endcomment %} diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/learning_path_summary.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/learning_path_summary.html.liquid new file mode 100644 index 00000000..864bcb09 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/learning_path_summary.html.liquid @@ -0,0 +1,15 @@ + + +{% comment %} {% include "header" %} +
+
+ {% include "learning_path_summary_desktop_view" %} +
+
+ {% include "learning_path_summary_mobile_view" %} +
+
+{% include "footer" %} {% endcomment %} diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/learning_paths.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/learning_paths.html.liquid new file mode 100644 index 00000000..1b929b33 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/learning_paths.html.liquid @@ -0,0 +1,309 @@ +{% include "header" %} +{% comment %} {% include "sub_navigation" %} {% endcomment %} +
+
+
Earn MATTR Subject Experts badges as you learn
+
Get accredited
+
+
+ {% if learning_paths.enrolled.any? %} + {% include "learning_paths_subject_mattr_experts", items: learning_paths.enrolled %} + {% endif %} + +
+ Track your progress +
+ +
+
Course learning status:
+
+ + + + + + + + + + + + + + + + + + Completed +
+
+ + + + + + + + + + + + + + + + + + + In progress +
+
+ + + + + + + + + + + + + + + + + + + Not yet started +
+
+ + {% include "learning_paths_index", items: learning_paths.enrolled %} + + {% comment %} {% if learning_paths.available.any? %} + {% assign available_lps = learning_paths.available %} + + {% assign unenrolled_lp_count = 0 %} + {% assign available_learning_paths = learning_paths.available %} + + {% for available_lp in available_learning_paths %} + {% unless available_lp.enrolled? %} + {% assign unenrolled_lp_count = unenrolled_lp_count | plus: 1 %} + {% endunless %} + {% endfor %} + + {% if unenrolled_lp_count > 0 %} +
+ + Enroll for more accreditations +
+ + {% endif %} + {% endif %} {% endcomment %} + + {% include "footer" %} +
+
+ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/login.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/login.html.liquid new file mode 100644 index 00000000..bde185dd --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/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/MATTR The Knowledge/master.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/master.html.liquid new file mode 100644 index 00000000..63345068 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/master.html.liquid @@ -0,0 +1 @@ +{% body %} diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/not_found.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/not_found.html.liquid new file mode 100644 index 00000000..91c76e4b --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/not_found.html.liquid @@ -0,0 +1,10 @@ +
+ + +
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/private_certificate.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/private_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/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/MATTR The Knowledge/public_certificate.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/public_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/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/MATTR The Knowledge/reset_password.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/reset_password.html.liquid new file mode 100644 index 00000000..281c6eaa --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/reset_password.html.liquid @@ -0,0 +1,43 @@ +
+
+ {% include "header_minimal" %} +
+
+ + + {% form_authenticity_token %} +
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/search.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/search.html.liquid new file mode 100644 index 00000000..01684399 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/search.html.liquid @@ -0,0 +1,27 @@ +{% include "header" %} +
+
+ {% t .title %} +
+
+
+ {% t .showing %} + {{ results.count }} + {% t .results_for %} + "{{ results.term }}" +
+ {% capture label %}{% t shared.filters.by_type %}{% endcapture %} + {% + include "filter_dropdown", + filters: results.filters, + key: "type", + label: label + %} +
+ {% if results.items.any? %} + {% render "search_result" for results.items as result %} + {% else %} + {% include "search_zero_state" %} + {% endif %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/server_error.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/server_error.html.liquid new file mode 100644 index 00000000..e69de29b diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/sign_up.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/sign_up.html.liquid new file mode 100644 index 00000000..7a903da4 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/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/MATTR The Knowledge/styles.css.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/styles.css.liquid new file mode 100644 index 00000000..d4fa9fad --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/styles.css.liquid @@ -0,0 +1,410 @@ +/* + Put your custom overlay styles in here + You can use your northpass color palette in this file + +{{ color_palette.button_font_color }} +{{ color_palette.button_color }} +{{ color_palette.button_hover_color }} +{{ color_palette.header_font_color }} +{{ color_palette.header_font_hover_color }} +{{ color_palette.header_color }} +*/ + +html { + scroll-behavior: smooth; +} + +body { + font-family: "MATTR Sans", "TT Commons MATTR", -apple-system, + BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", + Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", + "Segoe UI Symbol"; + background-color: #fff; + color: #333132; +} + +a { + text-decoration: none; +} + +::selection { + background-color: rgb(234, 217, 227); + color:#333132; +} + +::-moz-selection { + background-color: rgb(234, 217, 227); + color:#333132; +} + +.tns-nav { + display:none; +} + +.EGKTP { + padding: 0px !important; +} + +.kdnqUc { + border-radius: none !important; +} + +.np-homepage, +.np-main { + margin-top:70px; +} + +.np-card.course-card { + height:100%; +} + +.np-card-ribbon.course-type-ribbon { + left: 0; + background-color: #DF2673; + color: #fff; + padding: 6px; + right: unset; + top: 0; + line-height:1; +} + +.np-card-container, +.np-card-container-training-session { + box-shadow: none; +} + +.np-content-instructors-content-image { + border-radius: 9999px; +} + +.np-card-content-title { + color: #333123; +} + +.np-dashboard { + background-color: #fff; +} + +.np-card-text ol, ul { + list-style: inherit !important; + margin: 0 !important; + padding: 1rem !important; +} + +/* Course Card Styles */ + +.course-card .np-card-container { + padding: 12px; + filter: drop-shadow(0px 8px 32px rgba(16, 15, 70, 0.04)); + border-radius: 2px; +} + +.course-card .np-card-image { + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.course-card .np-card-content { + padding: 12px 0 0; +} + +.list-show { + display: none; +} + +.course-card .list-card-titles { + height: 100%; + display: flex; + flex-direction: column; +} + +.course-card .np-card-content-title { + font-weight: 600; + font-size: 18px; + line-height: 22px; + margin-bottom: 12px; + flex:1; +} + +.course-card .np-card-content-subtitle { + font-weight: 500; + font-size: 14px; + line-height: 20px; + color: #888486; + min-height: 20px; +} + +.course-card .np-card-content-footer { + margin-top: 12px; +} + +.course-card .experience { + color: #2d29fc; + font-weight: 600; + font-size: 14px; + line-height: 16px; +} + +.course-card .np-card-content-progress { + font-weight: 600; + font-size: 12px; + line-height: 14px; + padding: 6px 12px; + border-radius: 30px; + border: 2px solid #B4B1B3; + background-color: #F8F7F7; + color: #333132; + text-transform: uppercase; +} + +.course-card .np-card-content-progress.in-progress { + border: 2px solid #FFCC26; + background-color: #FFFBF0; + color: #644C00; +} + +.course-card .np-card-content-progress.completed { + border: 2px solid #4CD96F; + background-color: #F2FCF5; + color: #115222; +} + +@media (min-width:768px) { + .course-container { + margin-bottom:32px; + } +} + +/* LEARNING PATHS PAGE */ + +.learning-path-heading { + margin-bottom:16px; + font-size:20px; + line-height:23px; + display:flex; + align-items:center; + justify-content:space-between; + font-weight:500; +} + +.learning-path-count { + margin-left:32px; + font-size:16px; + line-height:18px; + color:#888486; +} + +.learning-path-card { + border: 1px solid #EBEAEB; + padding: 32px 0; + border-radius:4px; + margin-bottom:32px; + /*display:flex;*/ + justify-content: flex-start; + position:relative; + flex-wrap: nowrap; +} + +.learning-path-card .lp-button-wrapper { + position: absolute; + width: 100%; + height: calc(100% - 32px); + top:0; + left:0; + z-index: 2; + justify-content: center; + align-items: center; + opacity:0; + background-color:rgba(255, 255, 255, 0.5); + transition:all 0.4s; +} + +.learning-path-card .lp-button-wrapper:hover { + opacity:1; +} + +.lp-button-wrapper .lp-button { + background: #F5F6FF; + border-radius: 32px; + font-style: normal; + font-weight: 600; + font-size: 14px; + line-height: 17px; + color: #100796; + border: 1px solid #100796; + text-transform: uppercase; +} + +.learning-path-card.not-enrolled .enroll-btn { + opacity:0; + position:absolute; + top:50%; + left:50%; + transform:translate(-50%, -50%); + background-color:#F5F6FF; + color: #100796; + border-radius: 32px; + padding: 14px 39px; + font-weight:600; + transition:opacity 0.2s; +} + +.learning-path-course { + text-align:center; + display: flex; + flex-direction: column; + width:100%; + font-size: 12px; + line-height: 16px; + font-weight:600; + color: #333132; + position:relative; + /*margin: 0 8px;*/ +} + +.learning-path-course.complete:after { + content: ""; + background-image: url("data:image/svg+xml,%0A%3Csvg width='52' height='52' viewBox='0 0 52 52' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_7715_113257)'%3E%3Ccircle cx='26' cy='26' r='10' fill='%2300BF9F'/%3E%3C/g%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M31.3589 23.6141L24.6605 30.3124L20.957 26.6088L22.1356 25.4303L24.6606 27.9554L30.1804 22.4355L31.3589 23.6141Z' fill='white'/%3E%3Cdefs%3E%3Cfilter id='filter0_d_7715_113257' x='0' y='0' width='52' height='52' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset/%3E%3CfeGaussianBlur stdDeviation='8'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_7715_113257'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_7715_113257' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A"); + width: 52px; + height: 52px; + position: absolute; + display: block; + z-index: 3; + top: 41px; + left:50%; + transform: translateX(calc(-50% + 14px)); + background-size: contain; +} + +.learning-path-course.in-progress:after { + content: ""; + background-image: url("data:image/svg+xml,%3Csvg width='52' height='53' viewBox='0 0 52 53' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_7870_113735)'%3E%3Cpath d='M33.0718 18.9329C29.1664 15.0276 22.8344 15.0276 18.929 18.9329C15.0237 22.8383 15.0237 29.1703 18.929 33.0757C22.8344 36.981 29.1664 36.981 33.0718 33.0757C36.9771 29.1703 36.9771 22.8383 33.0718 18.9329Z' fill='%23E26F0F'/%3E%3C/g%3E%3Cpath d='M24.766 17.8281C23.5396 18.0108 22.3915 18.4631 21.3477 19.1676L22.3306 20.6028C23.1482 20.0461 24.0528 19.6895 25.027 19.5503L24.766 17.8281ZM27.5319 17.8803L27.2101 19.5851C28.1669 19.7678 29.0889 20.1679 29.8717 20.7419L30.9067 19.3416C29.9152 18.6109 28.7497 18.1065 27.5319 17.8803ZM19.3472 21.0898C18.6166 22.0814 18.1034 23.2469 17.8773 24.4646L19.5821 24.7864C19.7647 23.8297 20.1648 22.9077 20.7476 22.1249L19.3472 21.0898ZM32.2027 23.9601C32.3158 24.3081 32.3941 24.6647 32.455 25.0213H32.4723C32.4202 24.6647 32.3332 24.3081 32.2027 23.9601ZM19.5386 26.9783L17.8164 27.2305C17.9991 28.4569 18.4514 29.6138 19.1211 30.5879L19.1559 30.6488L20.591 29.6746C20.0344 28.8483 19.6865 27.9438 19.5386 26.9783Z' fill='white'/%3E%3Cpath d='M34.2815 26.0306C34.2815 28.4573 33.2204 30.858 31.1851 32.4845C29.6716 33.6935 27.8538 34.3023 26.0272 34.3023C24.8704 34.3023 23.7136 34.0588 22.635 33.563C22.5655 33.5282 22.4872 33.4934 22.4176 33.4586C22.261 33.389 22.1045 33.3108 21.9479 33.2151C21.7653 33.1107 21.5826 33.0063 21.4086 32.8846C21.2956 32.815 21.1825 32.7367 21.0781 32.6584L22.1132 31.2581C22.2002 31.3189 22.2871 31.3885 22.3828 31.4407C22.4176 31.4668 22.4611 31.4929 22.5046 31.519C22.6003 31.5886 22.7046 31.6495 22.809 31.7017C22.9917 31.806 23.183 31.9017 23.3744 31.9887C23.3918 31.9974 23.4179 32.0061 23.4353 32.0148C23.5918 32.0757 23.7484 32.1452 23.9049 32.1974C24.0441 32.2496 24.1833 32.2931 24.3311 32.3366C26.2969 32.8672 28.4365 32.4584 30.0978 31.1189C31.994 29.6142 32.8203 27.257 32.4724 25.0217C32.4202 24.6651 32.3332 24.3084 32.2027 23.9605C32.1679 23.8475 32.1244 23.7344 32.081 23.6213C32.0462 23.5082 32.0027 23.4039 31.9418 23.2908C31.8896 23.1777 31.8374 23.0733 31.7852 22.969C31.733 22.8733 31.6808 22.7863 31.6287 22.6993C31.5591 22.5776 31.4808 22.4645 31.4025 22.3427L32.4985 21.5773L32.8464 21.3599C32.8464 21.3599 32.8725 21.3947 32.8812 21.4121C32.9507 21.5164 33.0203 21.6295 33.0899 21.7426C33.1682 21.873 33.2378 22.0035 33.3074 22.134C33.3769 22.2644 33.4465 22.3949 33.5074 22.5341C33.5683 22.6645 33.6292 22.8037 33.6814 22.9429C34.0815 23.9344 34.2815 24.9869 34.2815 26.0306Z' fill='white'/%3E%3Cdefs%3E%3Cfilter id='filter0_d_7870_113735' x='0' y='0.00390625' width='52' height='52.001' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset/%3E%3CfeGaussianBlur stdDeviation='8'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_7870_113735'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_7870_113735' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E"); + width: 52px; + height: 52px; + position: absolute; + display: block; + z-index: 3; + top: 41px; + left:50%; + transform: translateX(calc(-50% + 14px)); + background-size: contain; +} + +.learning-path-course.not-started:after { + content: ""; + background-image: url("data:image/svg+xml,%3Csvg width='53' height='53' viewBox='0 0 53 53' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_7870_113740)'%3E%3Cpath d='M26.0026 36.0047C31.5268 36.0047 36.0051 31.5263 36.0051 26.0021C36.0051 20.4778 31.5268 15.9995 26.0026 15.9995C20.4783 15.9995 16 20.4778 16 26.0021C16 31.5263 20.4783 36.0047 26.0026 36.0047Z' fill='%23959093'/%3E%3C/g%3E%3Cpath d='M27.2131 34.1785L26.9609 32.4563C27.9351 32.3085 28.8483 31.9605 29.6659 31.4039L30.6836 32.8129L30.6401 32.839C29.6051 33.5436 28.4569 33.9872 27.2218 34.1698L27.2131 34.1785ZM24.4472 34.1176C23.2295 33.8828 22.064 33.3783 21.0811 32.639L22.1162 31.2386C22.899 31.8127 23.821 32.2215 24.7777 32.4041L24.4472 34.1089V34.1176ZM32.6667 30.8907L31.2664 29.8644C31.8404 29.0815 32.2405 28.1596 32.4232 27.2028L34.1367 27.5246C33.9105 28.7423 33.406 29.9078 32.6754 30.8994L32.6667 30.8907ZM19.1589 30.6385C18.4631 29.6034 18.0108 28.4466 17.8281 27.2202L19.5503 26.968C19.6982 27.9421 20.0461 28.8467 20.6028 29.6643L19.1676 30.6385H19.1589ZM32.458 25.0109C32.3101 24.0455 31.9535 23.1409 31.4055 22.332L32.8233 21.323L32.8494 21.3665C33.5452 22.3929 33.9975 23.5323 34.1802 24.7587L32.458 25.0196V25.0109ZM19.5851 24.7761L17.8803 24.4543C18.1152 23.2366 18.6196 22.071 19.3503 21.0795L20.7506 22.1145C20.1766 22.8973 19.7678 23.8193 19.5938 24.7761H19.5851ZM29.8747 20.7316C29.0919 20.1575 28.1699 19.7574 27.2131 19.5748L27.535 17.87C28.7527 18.0961 29.9182 18.6093 30.9097 19.3399L29.8747 20.7403V20.7316ZM22.3336 20.5837L21.3508 19.1486C22.3945 18.444 23.5426 17.9917 24.769 17.8091L25.03 19.5313C24.0645 19.6791 23.1599 20.027 22.3423 20.5837H22.3336Z' fill='white'/%3E%3Cdefs%3E%3Cfilter id='filter0_d_7870_113740' x='0' y='-0.000488281' width='52.0039' height='52.0054' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset/%3E%3CfeGaussianBlur stdDeviation='8'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_7870_113740'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_7870_113740' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E"); + width: 52px; + height: 52px; + position: absolute; + display: block; + z-index: 3; + top: 41px; + left: 50%; + transform: translateX(calc(-50% + 14px)); + background-size: contain; +} + +.learning-path-course:first-child { + padding-left: 0; +} + +.learning-path-course.lp-course-locked { + color:#C0BDBF; +} + +.learning-path-card.not-enrolled:hover .enroll-btn { + opacity:1; +} + +.learning-path-card.not-enrolled .learning-path-course { + opacity:0.5; +} + +.lp-course-img { + width: 78px; + height: 78px; + clip-path: polygon(49% 1%, 93% 26%, 93% 75%, 49% 100%, 6% 75%, 6% 25%); + position: relative; + margin: 0 auto 16px; +} + +.lp-course-img img { + width: 224%; + height: auto; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} + +.lp-course-img .empty-img { + width:100%; + height:100%; + background-color:#fafafa; +} + +.lp-course-title { + padding: 0 10px; +} + + +/* DIALOG MODAL STYLES */ +.example-dialog-trigger { + display: inline-block; + padding: 0; + overflow: hidden; + border: none; + background: none; + color: var(--theme); /* You probably need to change this! */ + text-decoration: underline; +} +.example-dialog-trigger:hover, +.example-dialog-trigger:focus { + text-decoration: none; +} +.example-dialog { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 100; + display: flex; + background-color: rgba(0,0,0,.5); + visibility: hidden; + opacity: 0; + pointer-events: none; + transition: .25s ease-out; +} +.example-dialog.is-active { + visibility: visible; + opacity: 1; + pointer-events: auto; +} +.example-dialog-container { + width: 100%; + max-width: 1200px; + margin: auto; + transform: translateY(-1em) scale(.95); + background-color: white; + transition: transform .25s ease-out; + border-radius:4px; + padding: 32px; +} +.example-dialog.is-active .example-dialog-container { + transform: translateY(0) scale(1); +} +.example-dialog-container .fa-times { + position: absolute; + right: 20px; + top: 16px; + font-size: 28px; + cursor:pointer; + color:#b8b8b8; +} +.example-dialog-header { + font-weight: 600; + font-size:24px; + text-align:center; + margin-bottom:32px; +} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/MATTR The Knowledge/training_events.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/training_events.html.liquid new file mode 100644 index 00000000..139717ee --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/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/MATTR The Knowledge/training_session.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/training_session.html.liquid new file mode 100644 index 00000000..5b78b834 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/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/MATTR The Knowledge/training_session_attendance.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/training_session_attendance.html.liquid new file mode 100644 index 00000000..71bb6119 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/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/MATTR The Knowledge/unsubscribe.html.liquid b/Custom_Templates/customer_templates/MATTR The Knowledge/unsubscribe.html.liquid new file mode 100644 index 00000000..69a54028 --- /dev/null +++ b/Custom_Templates/customer_templates/MATTR The Knowledge/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/TripleSeat/_head.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_head.html.liquid new file mode 100644 index 00000000..ddad9968 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_head.html.liquid @@ -0,0 +1,54 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + diff --git a/Scripts/API_Tests/get-group-ids.py b/Scripts/API_Tests/get-group-ids.py index 6421881f..8e57fcdd 100644 --- a/Scripts/API_Tests/get-group-ids.py +++ b/Scripts/API_Tests/get-group-ids.py @@ -1,8 +1,9 @@ import pprint import csv -import json import requests import Apikeys +import json + APIKEY = Apikeys.ANTHOLOGY groups_dict = {} @@ -34,7 +35,7 @@ def get_groups(APIKEY): break with open( - "/Users/normrasmussen/Downloads/Datasnipper-Groups.csv", "a+", newline='\n' + "/Users/normrasmussen/Downloads/Datasnipper-Groups.csv", "a+", newline="\n" ) as csvfile: for group in groups: for key, value in group.items(): diff --git a/Todos.md b/Todos.md index c801078f..544e45dc 100644 --- a/Todos.md +++ b/Todos.md @@ -4,9 +4,17 @@ ## 2/20/2023 * [ ] Send exec-check in for Kat/Emily -* [ ] Get understanding of Netradyne Enterprise pricing from Erica/Charles -* [ ] Complete Lila’s courses review -* [ ] Get better understanding from Travis what was discussed in previous HackerRank meetings -* [ ] Slack with Lila & Kat about remaining courses for review +* [X] Get understanding of Netradyne Enterprise pricing from Erica/Charles +* [X] Complete Lila’s courses review +* [X] Get better understanding from Travis what was discussed in previous HackerRank meetings +* [X] Slack with Lila & Kat about remaining courses for review * [ ] Confirm with Mohammed the common requests +## 2/21/2023 + +* [ ] Begin design of Luminate Learning Path completion page +* [ ] Test Weglot in templates for Datasnipper + * [ ] Can we adjust where the button shows up? + * [ ] Can we adjust dynamic elements that translate and are too long? +* [X] Update fonts & Continue button color for TripleSeat. +