From 111d6412d6df68b7477edd1c2a4935f6eb7c6e0f Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Wed, 31 Jan 2024 17:32:20 -0500 Subject: [PATCH] Updated cin7 templates while Hubert was out, and downloaded all of Chubb's templates since something needed to be udpated. Ran a script for SPS Commerce to get all the courses. --- Custom_Templates/customer_templates/.DS_Store | Bin 30724 -> 30724 bytes .../Chubb/_account_avatar.html.liquid | 66 +++ .../Chubb/_account_desktop_view.html.liquid | 28 ++ .../Chubb/_account_form.html.liquid | 128 +++++ .../Chubb/_account_mobile_view.html.liquid | 12 + .../Chubb/_cards_course.html.liquid | 45 ++ .../Chubb/_cards_learning_path.html.liquid | 42 ++ .../Chubb/_cards_training_event.html.liquid | 45 ++ .../Chubb/_catalog_filters.html.liquid | 471 ++++++++++++++++++ .../_certificates_info_column.html.liquid | 4 + .../Chubb/_certificates_metadata.html.liquid | 59 +++ .../Chubb/_certificates_preview.html.liquid | 35 ++ .../Chubb/_certificates_top_bar.html.liquid | 44 ++ .../_certificates_verification.html.liquid | 15 + .../Chubb/_course_activity_locked.html.liquid | 4 + .../_course_activity_unlocked.html.liquid | 15 + .../Chubb/_course_categories.html.liquid | 10 + .../Chubb/_course_description.html.liquid | 6 + .../Chubb/_course_desktop_view.html.liquid | 40 ++ .../Chubb/_course_events.html.liquid | 28 ++ .../Chubb/_course_header.html.liquid | 16 + .../Chubb/_course_instructors.html.liquid | 22 + .../Chubb/_course_mobile_view.html.liquid | 40 ++ .../Chubb/_course_outline.html.liquid | 40 ++ .../_course_progress_and_cta.html.liquid | 46 ++ ..._course_version_outdated_alert.html.liquid | 7 + ..._course_version_outdated_popup.html.liquid | 33 ++ .../Chubb/_courses_catalog.html.liquid | 14 + .../Chubb/_courses_index.html.liquid | 11 + .../Chubb/_courses_zero_state.html.liquid | 6 + .../Chubb/_feature_carousel.html.liquid | 55 ++ .../Chubb/_featured_cards_course.html.liquid | 58 +++ .../Chubb/_filter_checkbox.html.liquid | 10 + .../Chubb/_filter_dropdown.html.liquid | 33 ++ .../Chubb/_filter_select.html.liquid | 22 + .../Chubb/_footer.html.liquid | 63 +++ .../Chubb/_head.html.liquid | 114 +++++ .../Chubb/_header.html.liquid | 269 ++++++++++ .../Chubb/_header_minimal.html.liquid | 17 + .../Chubb/_homepage-filters.html.liquid | 110 ++++ .../Chubb/_in_progress_carousel.html.liquid | 91 ++++ .../Chubb/_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 + .../Chubb/_learning_path_course.html.liquid | 46 ++ .../_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 + .../Chubb/_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 | 43 ++ .../_learning_path_zero_state.html.liquid | 12 + .../Chubb/_learning_paths_index.html.liquid | 33 ++ .../Chubb/_messages.html.liquid | 19 + ...arding_learning_paths_carousel.html.liquid | 77 +++ .../Chubb/_recommended_carousel.html.liquid | 103 ++++ .../Chubb/_search_result.html.liquid | 21 + .../Chubb/_search_zero_state.html.liquid | 13 + .../Chubb/_sub_navigation.html.liquid | 13 + .../_training_events_dashboard.html.liquid | 9 + .../Chubb/_training_events_filter.html.liquid | 53 ++ .../Chubb/_training_events_index.html.liquid | 13 + .../_training_events_zero_state.html.liquid | 9 + .../_training_session_calendars.html.liquid | 52 ++ .../Chubb/_training_session_cta.html.liquid | 53 ++ .../Chubb/_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 + .../Chubb/_training_session_tile.html.liquid | 17 + .../Chubb/account.html.liquid | 14 + .../Chubb/auth_url_email.html.liquid | 59 +++ .../Chubb/auth_url_employee.html.liquid | 59 +++ .../Chubb/auth_url_phone_number.html.liquid | 40 ++ .../Chubb/auth_url_terms.html.liquid | 74 +++ .../Chubb/catalog.html.liquid | 54 ++ .../Chubb/course.html.liquid | 13 + .../Chubb/courses.html.liquid | 3 + .../Chubb/dashboard.html.liquid | 31 ++ .../Chubb/forgot_password.html.liquid | 25 + .../Chubb/homepage.html.liquid | 24 + .../Chubb/learning_path.html.liquid | 13 + .../Chubb/learning_path_summary.html.liquid | 10 + .../Chubb/learning_paths.html.liquid | 14 + .../Chubb/login.html.liquid | 53 ++ .../Chubb/master.html.liquid | 1 + .../Chubb/not_found.html.liquid | 10 + .../Chubb/private_certificate.html.liquid | 10 + .../Chubb/public_certificate.html.liquid | 10 + .../Chubb/reset_password.html.liquid | 43 ++ .../Chubb/search.html.liquid | 22 + .../Chubb/sign_up.html.liquid | 72 +++ .../Chubb/styles.css.liquid | 357 +++++++++++++ .../Chubb/training_events.html.liquid | 19 + .../Chubb/training_session.html.liquid | 10 + .../training_session_attendance.html.liquid | 43 ++ .../Chubb/unsubscribe.html.liquid | 30 ++ .../Cin7 Customers/_badges_cards.html.liquid | 243 +++++++++ .../Cin7 Customers/_cards_course.html.liquid | 31 +- .../_category_cards.html.liquid | 8 +- .../_category_carousel.html.liquid | 28 +- .../_course_desktop_view.html.liquid | 2 +- .../Cin7 Customers/_course_header.html.liquid | 7 +- .../_courses_catalog.html.liquid | 24 +- .../_featured_courses.html.liquid | 60 ++- .../_filters_catalog.html.liquid | 216 ++++++++ .../Cin7 Customers/_footer.html.liquid | 51 +- .../Cin7 Customers/_head.html.liquid | 19 +- .../Cin7 Customers/_header.html.liquid | 2 +- .../_homepage_testimonials.html.liquid | 55 ++ .../_learning_path_carousel.html.liquid | 48 ++ .../_learning_path_course.html.liquid | 4 +- .../_learning_path_description.html.liquid | 2 +- .../_learning_paths_index.html.liquid | 10 +- .../_my_badges_carousel.html.liquid | 84 ++++ .../_my_courses_carousel.html.liquid | 37 +- ...ing_paths_and_courses_carousel.html.liquid | 67 +++ .../_my_learning_paths_carousel.html.liquid | 30 ++ .../_omni_learning_paths_carousel.html.liquid | 53 ++ .../_training_events_dashboard.html.liquid | 68 ++- .../_training_events_index.html.liquid | 9 +- .../_training_session_calendars.html.liquid | 2 +- .../_training_session_cta.html.liquid | 2 +- .../_training_session_header.html.liquid | 2 +- .../Cin7 Customers/catalog.html.liquid | 6 +- .../Cin7 Customers/dashboard.html.liquid | 38 +- .../Cin7 Customers/homepage.html.liquid | 12 +- .../Cin7 Customers/learning_paths.html.liquid | 20 +- .../Cin7 Customers/search.html.liquid | 7 - .../Cin7 Customers/styles.css.liquid | 70 +-- .../training_events.html.liquid | 2 +- Scripts/API_Tests/get_course_ids.py | 47 +- 144 files changed, 5414 insertions(+), 153 deletions(-) create mode 100644 Custom_Templates/customer_templates/Chubb/_account_avatar.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_account_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_account_form.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_account_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_cards_course.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_cards_learning_path.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_cards_training_event.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_catalog_filters.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_certificates_info_column.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_certificates_metadata.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_certificates_preview.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_certificates_top_bar.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_certificates_verification.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_course_activity_locked.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_course_activity_unlocked.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_course_categories.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_course_description.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_course_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_course_events.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_course_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_course_instructors.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_course_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_course_outline.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_course_progress_and_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_course_version_outdated_alert.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_course_version_outdated_popup.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_courses_catalog.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_courses_index.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_courses_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_feature_carousel.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_featured_cards_course.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_filter_checkbox.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_filter_dropdown.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_filter_select.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_footer.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_head.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_header_minimal.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_homepage-filters.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_in_progress_carousel.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_banners.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_certificate_content.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_completed_banner.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_course.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_description.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_desktop_content.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_desktop_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_instructors.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_mobile_content.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_mobile_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_new_content_banner.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_outline.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_progress_and_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_summary_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_summary_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_training_session.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_path_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_learning_paths_index.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_messages.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_onboarding_learning_paths_carousel.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_recommended_carousel.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_search_result.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_search_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_sub_navigation.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_training_events_dashboard.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_training_events_filter.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_training_events_index.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_training_events_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_training_session_calendars.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_training_session_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_training_session_date.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_training_session_description.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_training_session_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_training_session_details.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_training_session_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_training_session_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_training_session_more_sessions.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/_training_session_tile.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/account.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/auth_url_email.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/auth_url_employee.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/auth_url_phone_number.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/auth_url_terms.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/catalog.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/course.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/courses.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/dashboard.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/forgot_password.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/homepage.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/learning_path.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/learning_path_summary.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/learning_paths.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/login.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/master.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/not_found.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/private_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/public_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/reset_password.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/search.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/sign_up.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/styles.css.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/training_events.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/training_session.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/training_session_attendance.html.liquid create mode 100644 Custom_Templates/customer_templates/Chubb/unsubscribe.html.liquid create mode 100644 Custom_Templates/customer_templates/Cin7 Customers/_badges_cards.html.liquid create mode 100644 Custom_Templates/customer_templates/Cin7 Customers/_filters_catalog.html.liquid create mode 100644 Custom_Templates/customer_templates/Cin7 Customers/_homepage_testimonials.html.liquid create mode 100644 Custom_Templates/customer_templates/Cin7 Customers/_learning_path_carousel.html.liquid create mode 100644 Custom_Templates/customer_templates/Cin7 Customers/_my_badges_carousel.html.liquid create mode 100644 Custom_Templates/customer_templates/Cin7 Customers/_my_learning_paths_and_courses_carousel.html.liquid create mode 100644 Custom_Templates/customer_templates/Cin7 Customers/_omni_learning_paths_carousel.html.liquid diff --git a/Custom_Templates/customer_templates/.DS_Store b/Custom_Templates/customer_templates/.DS_Store index c51b887896db7818f79b2a92b3e34f469c2dba69..c3343993d5f7c5c097e608f75356cfeb240c7d35 100644 GIT binary patch delta 341 zcmZqqz}WJEae_bN!Hoe5Oq1nQd3Y)|xLN2eI_k*4z`!=Sz~7vaeX@VN{^Y+*N|Or{ zzHAoaU}D+K&cUKl9|}~#%HYh9!BEPO#E_JeZWx@LpIZPFg#jel+=K$HsOPIt#^k$s^Wqw|mf8lC9fL@lEJUQNL@*XC~ p$-W8dlVv=3HajI$ac@2m-Oh}zL3}fN!3UPf7gK~cXQljN0sv+tWc>gD delta 207 zcmZqqz}WJEae_bN-i-kYOq07*dD$5n7=VCn@`3=R$$bH$jO>&15*#PLXHuHXm?S*; zQsU*!LL5vio7p*7G#G;?e=tzkyvD$ZfAT*&>B;Bq`6m}JiBI-*P@in(Ai`#2p||L$ z5 diff --git a/Custom_Templates/customer_templates/Chubb/_account_avatar.html.liquid b/Custom_Templates/customer_templates/Chubb/_account_avatar.html.liquid new file mode 100644 index 00000000..d952af93 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_account_avatar.html.liquid @@ -0,0 +1,66 @@ +
+

{% t .description %}

+

{% t .requirements %}

+
+ + + + + diff --git a/Custom_Templates/customer_templates/Chubb/_account_desktop_view.html.liquid b/Custom_Templates/customer_templates/Chubb/_account_desktop_view.html.liquid new file mode 100644 index 00000000..f7ede71b --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_account_desktop_view.html.liquid @@ -0,0 +1,28 @@ +
+ + {% form_authenticity_token %} +
+
+
+ +
+
+
+
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb/_account_form.html.liquid b/Custom_Templates/customer_templates/Chubb/_account_form.html.liquid new file mode 100644 index 00000000..f848cb98 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_account_form.html.liquid @@ -0,0 +1,128 @@ +
+ {% t .header %} +
+ + + + +{% unless form.options.invite? %} + + + + + +{% endunless %} + +{% if form.options.invite? %} + + + {% if form.terms_of_service_required? %} + + {% else %} +
+ + {% t .terms %} + + {% t .terms_link %} + + +
+ {% endif %} + + +{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb/_account_mobile_view.html.liquid b/Custom_Templates/customer_templates/Chubb/_account_mobile_view.html.liquid new file mode 100644 index 00000000..3f82a68d --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_account_mobile_view.html.liquid @@ -0,0 +1,12 @@ +
+ + {% form_authenticity_token %} + + +
diff --git a/Custom_Templates/customer_templates/Chubb/_cards_course.html.liquid b/Custom_Templates/customer_templates/Chubb/_cards_course.html.liquid new file mode 100644 index 00000000..47c8b5c3 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_cards_course.html.liquid @@ -0,0 +1,45 @@ +
+
+ {{ course.name }} +
+
+

+ {{ course.name }} +

+
+ {% for category in course.categories %} + {% unless category.name == 'Recommended' or category.name == 'Onboarding'%} + {{category.name }} + {% endunless %} + {% endfor %} +
+
+ {% unless course.properties.course_duration == 0 %} + {{course.properties.course_duration}} MINUTES + {% endunless %} +
+
{{course.short_description}}
+ {% capture course_path %}{% route course, id: course.id %}{% endcapture %} + +
+
+ + + + diff --git a/Custom_Templates/customer_templates/Chubb/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/Chubb/_cards_learning_path.html.liquid new file mode 100644 index 00000000..5f873425 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_cards_learning_path.html.liquid @@ -0,0 +1,42 @@ + + +
+
+ {{ learning_path.name }} +
+
+

+ {{ learning_path.name }} +

+
+ {% for category in learning_path.categories %} + {% unless category.name == 'Recommended' or category.name == 'Onboarding'%} + {{category.name }} + {% endunless %} + {% endfor %} +
+
+ {{ learning_path.items.count }} {% t .items %} +
+
{{ learning_path.description }}
+ +
+
+ + + + diff --git a/Custom_Templates/customer_templates/Chubb/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/Chubb/_cards_training_event.html.liquid new file mode 100644 index 00000000..1176157e --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_catalog_filters.html.liquid b/Custom_Templates/customer_templates/Chubb/_catalog_filters.html.liquid new file mode 100644 index 00000000..cbc22a00 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_catalog_filters.html.liquid @@ -0,0 +1,471 @@ +{% assign coverages_categories = "Auto,Accident & Health,Builders Risk,Business Income/Extra Expense,Business Owners Policy (BOP),Chubb Services,Claims,Commercial Lines Products,Construction,Crime,Cyber Security,Directors & Officers Liability,Employment Practices Liability,Equipment Breakdown,Errors & Omissions,Family Office,Farm,Fiduciary,Financial Fidelity,Flood,Group Personal Excess Liability,Home,Kidnap, Ransom & Extortion,Liability,Liquor Liability,Loss Control,Management Liability,Marine-Inland/Ocean,Medical Liability,Multinational,Natural Disasters,Package,$Personal Lines Products,Pollution Liability,Product Recall,Professional Liability,Property,Rec. Marine,Risk Management,Services,Surety,Transactional Risk,Travel,Umbrella & Excess Liability,Valuable Articles,Worker’s Compensation,Workplace Violence" | split: "," %} +{% assign categories = "$Commercial Lines,$Gen. Ins. & Risk Mgmt.,$Leadership & Prof. Dev.,Onboarding,$Personal Lines,$Sales & Service" | split: ","%} +{% assign competencies_categories = "Agency Operations,Business Etiquette,Business Financials,Centers of Influence,Change Management,$Chubb Systems,Coaching,Communication Styles,Conflict Management,Cross Selling,Customer Service,DiSC,Diversity - DEI&B,Effective Listening,Emotional Intelligence,Employee Onboarding,Executive Development,Goal Setting,Influencing,Innovation,Leadership,Managing People,Marketing / Branding,Mergers & Acquisition,Negotiation,Networking,Overcoming Objections,Perpetuation Planning,Pipeline Management,Presentation Skills,Professional Presence,Referrals,Sales Management,Sales Skills,Storytelling,Team Building,Technology Training,Time Management,Writing Skills" | split: "," %} +{% assign industry_practices_categories = "Agriculture,Aviation,Broadcasters,Clean Tech,Construction,Cultural Institutions,Educational Institutions,Energy,Entertainment,Federal Gov. Contractors,Financial Institutions,Food,Healthcare,Hospitality,Life Sciences,Manufacturing,Private Equity,Professional Service Firms,Public Entities,Real Estate,Retail,Technology,Transportation,Wholesale,Wineries" | split: "," %} +{% assign level_categories = "Elements (L1),Enhance (L2),Elevate (L3)" | split: "," %} + + +
+
Filters
+
+ +
+
+ Learning Path +
+
+ Webinar +
+
+ Resource +
+
+ Course +
+
+
+ +
+ +
+ {% assign unique_categories = "" %} + {% for course in courses.in_catalog %} + {% for category in course.categories %} + {% if categories contains category.name%} + {% unless unique_categories contains category.name %} +
+ {{ category.name }} +
+ {% assign unique_categories = unique_categories | append: category.name %} + {% endunless %} + {% endif %} + {% endfor %} + {% endfor %} + {% for learning_path in learning_paths.available %} + {% for category in learning_path.categories %} + {% if categories contains category.name%} + {% unless unique_categories contains category.name %} +
+ {{ category.name }} +
+ {% assign unique_categories = unique_categories | append: category.name %} + {% endunless %} + {% endif %} + {% endfor %} + {% endfor %} +
+
+ +
+ +
+ {% assign unique_coverages_categories = "" %} + {% for course in courses.in_catalog %} + {% for category in course.categories %} + {% if coverages_categories contains category.name %} + {% unless unique_coverages_categories contains category.name %} +
+ {{ category.name }} +
+ {% assign unique_coverages_categories = unique_coverages_categories | append: category.name %} + {% endunless %} + {% endif %} + {% endfor %} + {% endfor %} + {% for learning_path in learning_paths.available %} + {% for category in learning_path.categories %} + {% if coverages_categories contains category.name%} + {% unless unique_coverages_categories contains category.name %} +
+ {{ category.name }} +
+ {% assign unique_coverages_categories = unique_coverages_categories | append: category.name %} + {% endunless %} + {% endif %} + {% endfor %} + {% endfor %} +
+
+ +
+ +
+ {% assign unique_competencies_categories = "" %} + {% for course in courses.in_catalog %} + {% for category in course.categories %} + {% if competencies_categories contains category.name %} + {% unless unique_competencies_categories contains category.name %} +
+ {{ category.name }} +
+ {% assign unique_competencies_categories = unique_competencies_categories | append: category.name %} + {% endunless %} + {% endif %} + {% endfor %} + {% endfor %} + {% for learning_path in learning_paths.available %} + {% for category in learning_path.categories %} + {% if competencies_categories contains category.name%} + {% unless unique_competencies_categories contains category.name %} +
+ {{ category.name }} +
+ {% assign unique_competencies_categories = unique_competencies_categories | append: category.name %} + {% endunless %} + {% endif %} + {% endfor %} + {% endfor %} +
+
+ +
+ +
+ {% assign unique_industry_practices_categories = "" %} + {% for course in courses.in_catalog %} + {% for category in course.categories %} + {% if industry_practices_categories contains category.name %} + {% unless unique_industry_practices_categories contains category.name %} +
+ {{ category.name }} +
+ {% assign unique_industry_practices_categories = unique_industry_practices_categories | append: category.name %} + {% endunless %} + {% endif %} + {% endfor %} + {% endfor %} + {% for learning_path in learning_paths.available %} + {% for category in learning_path.categories %} + {% if industry_practices_categories contains category.name%} + {% unless unique_industry_practices_categories contains category.name %} +
+ {{ category.name }} +
+ {% assign unique_industry_practices_categories = unique_industry_practices_categories | append: category.name %} + {% endunless %} + {% endif %} + {% endfor %} + {% endfor %} +
+
+ +
+ +
+ {% assign unique_level_categories = "" %} + {% for course in courses.in_catalog %} + {% for category in course.categories %} + {% if level_categories contains category.name %} + {% unless unique_level_categories contains category.name %} +
+ {{ category.name }} +
+ {% assign unique_level_categories = unique_level_categories | append: category.name %} + {% endunless %} + {% endif %} + {% endfor %} + {% endfor %} + {% for learning_path in learning_paths.available %} + {% for category in learning_path.categories %} + {% if level_categories contains category.name%} + {% unless unique_level_categories contains category.name %} +
+ {{ category.name }} +
+ {% assign unique_level_categories = unique_level_categories | append: category.name %} + {% endunless %} + {% endif %} + {% endfor %} + {% endfor %} + +
+
+ +
+ +
+
+ < 10 mins +
+
+ 10-30 mins +
+
+ 30-60 mins +
+
+ 1-2 hours +
+
+ > 2 hours +
+
+
+
+
+ +
+ + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb/_certificates_info_column.html.liquid b/Custom_Templates/customer_templates/Chubb/_certificates_info_column.html.liquid new file mode 100644 index 00000000..61adfaba --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_certificates_info_column.html.liquid @@ -0,0 +1,4 @@ +
+ {% include "certificates_verification" %} + {% include "certificates_metadata" %} +
diff --git a/Custom_Templates/customer_templates/Chubb/_certificates_metadata.html.liquid b/Custom_Templates/customer_templates/Chubb/_certificates_metadata.html.liquid new file mode 100644 index 00000000..9f4a1dba --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_certificates_metadata.html.liquid @@ -0,0 +1,59 @@ +
+
+ +
+ + {% if certificate.issuer_name_enabled? %} + +
+ {% endif %} + + +
+ +
+
diff --git a/Custom_Templates/customer_templates/Chubb/_certificates_preview.html.liquid b/Custom_Templates/customer_templates/Chubb/_certificates_preview.html.liquid new file mode 100644 index 00000000..6357b621 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_certificates_preview.html.liquid @@ -0,0 +1,35 @@ + + +
+
+
+ +
+
+
diff --git a/Custom_Templates/customer_templates/Chubb/_certificates_top_bar.html.liquid b/Custom_Templates/customer_templates/Chubb/_certificates_top_bar.html.liquid new file mode 100644 index 00000000..74a7ae41 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_certificates_verification.html.liquid b/Custom_Templates/customer_templates/Chubb/_certificates_verification.html.liquid new file mode 100644 index 00000000..4fc19415 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_certificates_verification.html.liquid @@ -0,0 +1,15 @@ +
+
+
+ +
+
+

+ {{certificate.verification_title}} +

+

+ {{certificate.verification_description}} +

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

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

+
+ {{ course.full_description }} +
diff --git a/Custom_Templates/customer_templates/Chubb/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Chubb/_course_desktop_view.html.liquid new file mode 100644 index 00000000..e16fee16 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_course_events.html.liquid b/Custom_Templates/customer_templates/Chubb/_course_events.html.liquid new file mode 100644 index 00000000..5fa80eef --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_course_header.html.liquid b/Custom_Templates/customer_templates/Chubb/_course_header.html.liquid new file mode 100644 index 00000000..84820ec4 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_course_header.html.liquid @@ -0,0 +1,16 @@ +
+ {{ current_school.course_vocabulary }} + + +
+
+ + + + {{ course.name }} +
+{{ course.name }} diff --git a/Custom_Templates/customer_templates/Chubb/_course_instructors.html.liquid b/Custom_Templates/customer_templates/Chubb/_course_instructors.html.liquid new file mode 100644 index 00000000..8b608928 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/Chubb/_course_mobile_view.html.liquid new file mode 100644 index 00000000..7f31ff35 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_course_outline.html.liquid b/Custom_Templates/customer_templates/Chubb/_course_outline.html.liquid new file mode 100644 index 00000000..72f97e79 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Chubb/_course_progress_and_cta.html.liquid new file mode 100644 index 00000000..e826315e --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_course_progress_and_cta.html.liquid @@ -0,0 +1,46 @@ +
+
+ {% t .header %} +
+
+
+
+
+ +
+ {% t shared.progress, count: course.progress %} +
+
+ +{% if course.learner_can_retake? %} +
+ {% form_authenticity_token %} + +
+{% else %} + + {% if course.enrolled? == false %} + {% t shared.enroll %} + {% elsif course.started? == false %} + Launch Course + {% elsif course.completed? %} + {% t shared.course.view, key: current_school.course_vocabulary %} + {% else %} + {% t shared.continue %} + {% endif %} + +{% endif %} + diff --git a/Custom_Templates/customer_templates/Chubb/_course_version_outdated_alert.html.liquid b/Custom_Templates/customer_templates/Chubb/_course_version_outdated_alert.html.liquid new file mode 100644 index 00000000..03e245ab --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_course_version_outdated_alert.html.liquid @@ -0,0 +1,7 @@ +{% if courses.include_courses_to_restart? %} + +{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/Chubb/_course_version_outdated_popup.html.liquid new file mode 100644 index 00000000..71795884 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_course_version_outdated_popup.html.liquid @@ -0,0 +1,33 @@ +
+
+ + +
+
diff --git a/Custom_Templates/customer_templates/Chubb/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Chubb/_courses_catalog.html.liquid new file mode 100644 index 00000000..81663cec --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_courses_catalog.html.liquid @@ -0,0 +1,14 @@ + +
+ {% for course in courses.in_catalog %} +
+ {% include "cards_course" with course %} +
+ {% endfor %} + {% for learning_path in learning_paths.available %} +
+ {% include "cards_learning_path" with learning_path %} +
+ {% endfor %} +
+ diff --git a/Custom_Templates/customer_templates/Chubb/_courses_index.html.liquid b/Custom_Templates/customer_templates/Chubb/_courses_index.html.liquid new file mode 100644 index 00000000..ea457669 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_courses_index.html.liquid @@ -0,0 +1,11 @@ +{% if courses.enrolled.any? %} +
+ {% for course in courses.enrolled %} + {% unless course.name contains 'Feedback'%} +
+ {% include "cards_course" with course %} +
+ {% endunless %} + {% endfor %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/Chubb/_courses_zero_state.html.liquid new file mode 100644 index 00000000..26e371f7 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_courses_zero_state.html.liquid @@ -0,0 +1,6 @@ +
+
+ {{ message }} +
+ {{ message }} +
diff --git a/Custom_Templates/customer_templates/Chubb/_feature_carousel.html.liquid b/Custom_Templates/customer_templates/Chubb/_feature_carousel.html.liquid new file mode 100644 index 00000000..8f02a735 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_feature_carousel.html.liquid @@ -0,0 +1,55 @@ + + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb/_featured_cards_course.html.liquid b/Custom_Templates/customer_templates/Chubb/_featured_cards_course.html.liquid new file mode 100644 index 00000000..4803233f --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_featured_cards_course.html.liquid @@ -0,0 +1,58 @@ +
+
+
+
CONVENIENT, CONNECTED LEARNING
+

+ Welcome +

+
+ Our Online Learning Center offers a variety of + interactive, on-demand programs across multiple categories to help you expand your knowledge + and increase your revenue. +
+ +
+
+ woman +
+
+
+
+
+
+
GETTING STARTED WITH CHUBB
+

+ Agent Onboarding +

+
+ Our onboarding learning paths provide an introduction to Chubb’s coverages, services, and available resources, so you can give your clients the protection they deserve — and help your business succeed. +
+
Note: These learning paths are designed for agents onboarding to Chubb; however, all agents can access the included courses. Specific quoting workflows and access may vary by appointment, please confirm with your Chubb representative. +
+
+ +
+
+ rocket +
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb/_filter_checkbox.html.liquid b/Custom_Templates/customer_templates/Chubb/_filter_checkbox.html.liquid new file mode 100644 index 00000000..5cbcbd07 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_filter_checkbox.html.liquid @@ -0,0 +1,10 @@ + + diff --git a/Custom_Templates/customer_templates/Chubb/_filter_dropdown.html.liquid b/Custom_Templates/customer_templates/Chubb/_filter_dropdown.html.liquid new file mode 100644 index 00000000..e7a954bb --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_filter_dropdown.html.liquid @@ -0,0 +1,33 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/Chubb/_filter_select.html.liquid b/Custom_Templates/customer_templates/Chubb/_filter_select.html.liquid new file mode 100644 index 00000000..d006c0df --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_filter_select.html.liquid @@ -0,0 +1,22 @@ +{% if params.q %} + +{% endif %} + + + + diff --git a/Custom_Templates/customer_templates/Chubb/_footer.html.liquid b/Custom_Templates/customer_templates/Chubb/_footer.html.liquid new file mode 100644 index 00000000..346142cf --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_footer.html.liquid @@ -0,0 +1,63 @@ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb/_head.html.liquid b/Custom_Templates/customer_templates/Chubb/_head.html.liquid new file mode 100644 index 00000000..8520c521 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_head.html.liquid @@ -0,0 +1,114 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb/_header.html.liquid b/Custom_Templates/customer_templates/Chubb/_header.html.liquid new file mode 100644 index 00000000..b612729a --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_header.html.liquid @@ -0,0 +1,269 @@ +
+
+
+ {% if current_person.signed_in? %} + + + {% endif %} +
+ {% if current_school.logo_url %} +

+ + {{ current_school.name }} + +

+
Online Learning Center
+ {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +
+ + {% if current_person.signed_in? %} + +
+ + + +
+ {% else %} + + {% endif %} +
+
+ +
+ + +
+ +
+
+ {% if current_person.signed_in? %} + {{ current_person.name }} +
+ {{ current_person.name }} +
+ {% endif %} +
+ + {% for website_navigation in navigations.header_navigations %} + + {{ website_navigation.name }} + + {% endfor %} +
+ {% unless current_school.sso_active? %} + + {% t .profile_settings %} + + {% endunless %} + + {% t .sign_out %} + +
+
+
+ +{% include "messages" %} + + + + diff --git a/Custom_Templates/customer_templates/Chubb/_header_minimal.html.liquid b/Custom_Templates/customer_templates/Chubb/_header_minimal.html.liquid new file mode 100644 index 00000000..6b72cdb2 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_homepage-filters.html.liquid b/Custom_Templates/customer_templates/Chubb/_homepage-filters.html.liquid new file mode 100644 index 00000000..7c95db1f --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_homepage-filters.html.liquid @@ -0,0 +1,110 @@ +{% assign categories = "$Commercial Lines,$Gen. Ins. & Risk Mgmt.,$Leadership & Prof. Dev.,Onboarding,$Personal Lines,$Sales & Service" | split: ","%} + +
+ + + + + + + +
+ + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb/_in_progress_carousel.html.liquid b/Custom_Templates/customer_templates/Chubb/_in_progress_carousel.html.liquid new file mode 100644 index 00000000..6b7d8f71 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_in_progress_carousel.html.liquid @@ -0,0 +1,91 @@ +{% assign content_counter = 0 %} + +{% for course in courses.in_catalog %} + {% for category in course.categories %} + {% if course.enrolled? and course.progress < 100 %} + {% assign content_counter = content_counter | plus: 1 %} + {% endif %} + {% endfor %} +{% endfor %} + + + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb/_learning_path_banners.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_banners.html.liquid new file mode 100644 index 00000000..11a1810c --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_learning_path_certificate.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_certificate.html.liquid new file mode 100644 index 00000000..3a282c5e --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_learning_path_certificate_content.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_certificate_content.html.liquid new file mode 100644 index 00000000..3feafd59 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_learning_path_completed_banner.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_completed_banner.html.liquid new file mode 100644 index 00000000..1c146f6e --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_course.html.liquid new file mode 100644 index 00000000..0d8cbcca --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_learning_path_course.html.liquid @@ -0,0 +1,46 @@ +{% if learning_path.enrolled? and course.unlocked? %} +
+ +
+ {{ course.name }} +
+
+ {{ course.name }} +
+ {% if course.instructors %} +
+ {{ course.instructors }} +
+ {% endif %} +
+ {% t shared.progress, count: course.progress %} +
+
+ +
+
+{% else %} +
+
+ {{ course.name }} +
+
+ {{ course.name }} +
+
+
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb/_learning_path_description.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_description.html.liquid new file mode 100644 index 00000000..6b1fb3a0 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_learning_path_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .about %} +

+
+ {{ learning_path.description }} +
diff --git a/Custom_Templates/customer_templates/Chubb/_learning_path_desktop_content.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_desktop_content.html.liquid new file mode 100644 index 00000000..e9ca85d9 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_learning_path_desktop_header.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_desktop_header.html.liquid new file mode 100644 index 00000000..6f4c112c --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_learning_path_desktop_view.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_desktop_view.html.liquid new file mode 100644 index 00000000..8447443e --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_learning_path_instructors.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_instructors.html.liquid new file mode 100644 index 00000000..a8342301 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_learning_path_mobile_content.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_mobile_content.html.liquid new file mode 100644 index 00000000..92ffd4c8 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_learning_path_mobile_header.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_mobile_header.html.liquid new file mode 100644 index 00000000..2bf66a5a --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_learning_path_mobile_view.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_mobile_view.html.liquid new file mode 100644 index 00000000..0e22feb9 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_learning_path_new_content_banner.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_new_content_banner.html.liquid new file mode 100644 index 00000000..2bc02d46 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_learning_path_outline.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_outline.html.liquid new file mode 100644 index 00000000..22ddd573 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_learning_path_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_progress_and_cta.html.liquid new file mode 100644 index 00000000..1d90a2a7 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_learning_path_summary_desktop_view.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_summary_desktop_view.html.liquid new file mode 100644 index 00000000..05961c52 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_learning_path_summary_mobile_view.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_summary_mobile_view.html.liquid new file mode 100644 index 00000000..f30a09eb --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_learning_path_training_session.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_training_session.html.liquid new file mode 100644 index 00000000..f0338931 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_learning_path_training_session.html.liquid @@ -0,0 +1,43 @@ +{% if learning_path.enrolled? and training_session.unlocked? %} +
+ +
+ +
+
{{ training_session.name }}
+
{{ training_session.instructors }}
+
+ {{ training_session.time }} {{ training_session.time_zone }} +
+
+ +
+
+{% else %} +
+
+ +
+
{{ training_session.name }}
+
{{ training_session.caption }}
+
+
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb/_learning_path_zero_state.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_path_zero_state.html.liquid new file mode 100644 index 00000000..b0544760 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_learning_path_zero_state.html.liquid @@ -0,0 +1,12 @@ + + +
+
+ Nothing here?
+ Keep Exploring! +
+
+ + + + diff --git a/Custom_Templates/customer_templates/Chubb/_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/Chubb/_learning_paths_index.html.liquid new file mode 100644 index 00000000..57013f08 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_learning_paths_index.html.liquid @@ -0,0 +1,33 @@ +{% assign learning_paths_counter = 0 %} + +{% if items.any? %} + {% for learning_path in items %} + {% assign learning_paths_counter = learning_paths_counter | plus: 1 %} + {% endfor %} +{% endif %} + +
+ {% if items.any? %} + {% for learning_path in items %} +
+ {% include "cards_learning_path" with learning_path %} +
+ {% endfor %} + {% if learning_paths_counter < 3 %} +
+ {% include "learning_path_zero_state" %} +
+ {% endif %} + {% else %} +
+ {% include "learning_path_zero_state" %} +
+ {% endif %} +
+ + diff --git a/Custom_Templates/customer_templates/Chubb/_messages.html.liquid b/Custom_Templates/customer_templates/Chubb/_messages.html.liquid new file mode 100644 index 00000000..059fc568 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_onboarding_learning_paths_carousel.html.liquid b/Custom_Templates/customer_templates/Chubb/_onboarding_learning_paths_carousel.html.liquid new file mode 100644 index 00000000..91c6b639 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_onboarding_learning_paths_carousel.html.liquid @@ -0,0 +1,77 @@ + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb/_recommended_carousel.html.liquid b/Custom_Templates/customer_templates/Chubb/_recommended_carousel.html.liquid new file mode 100644 index 00000000..24a19892 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_recommended_carousel.html.liquid @@ -0,0 +1,103 @@ +{% assign content_counter = 0 %} + +{% for course in courses.in_catalog %} + {% for category in course.categories %} + {% if category.name == 'Recommended' %} + {% assign content_counter = content_counter | plus: 1 %} + {% endif %} + {% endfor %} +{% endfor %} +{% for learning_path in learning_paths.available %} + {% for category in learning_path.categories %} + {% if category.name == 'Recommended' %} + {% assign content_counter = content_counter | plus: 1 %} + {% endif %} + {% endfor %} +{% endfor %} + + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb/_search_result.html.liquid b/Custom_Templates/customer_templates/Chubb/_search_result.html.liquid new file mode 100644 index 00000000..66c60848 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_search_result.html.liquid @@ -0,0 +1,21 @@ +{% if result.type == 'course' %} +
+
+
+ {{ result.name }} +
+ +
{{ result.description }}
+
+
+
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb/_search_zero_state.html.liquid b/Custom_Templates/customer_templates/Chubb/_search_zero_state.html.liquid new file mode 100644 index 00000000..4e52c6fb --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_search_zero_state.html.liquid @@ -0,0 +1,13 @@ +
+
+
+

+ {% t .nothing_found %} +

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

+ {% t .header %} +

+
+ {{ training_event.description }} +
diff --git a/Custom_Templates/customer_templates/Chubb/_training_session_desktop_view.html.liquid b/Custom_Templates/customer_templates/Chubb/_training_session_desktop_view.html.liquid new file mode 100644 index 00000000..5c1abfec --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_training_session_details.html.liquid b/Custom_Templates/customer_templates/Chubb/_training_session_details.html.liquid new file mode 100644 index 00000000..ae23b7ac --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_training_session_header.html.liquid b/Custom_Templates/customer_templates/Chubb/_training_session_header.html.liquid new file mode 100644 index 00000000..10434cfa --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_training_session_mobile_view.html.liquid b/Custom_Templates/customer_templates/Chubb/_training_session_mobile_view.html.liquid new file mode 100644 index 00000000..00455d4e --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_training_session_more_sessions.html.liquid b/Custom_Templates/customer_templates/Chubb/_training_session_more_sessions.html.liquid new file mode 100644 index 00000000..6cfafa87 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/_training_session_tile.html.liquid b/Custom_Templates/customer_templates/Chubb/_training_session_tile.html.liquid new file mode 100644 index 00000000..e5ad8714 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/_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/Chubb/account.html.liquid b/Custom_Templates/customer_templates/Chubb/account.html.liquid new file mode 100644 index 00000000..2ad5d917 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/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/Chubb/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Chubb/auth_url_email.html.liquid new file mode 100644 index 00000000..a413959c --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/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/Chubb/auth_url_employee.html.liquid b/Custom_Templates/customer_templates/Chubb/auth_url_employee.html.liquid new file mode 100644 index 00000000..c8d8adf7 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/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/Chubb/auth_url_phone_number.html.liquid b/Custom_Templates/customer_templates/Chubb/auth_url_phone_number.html.liquid new file mode 100644 index 00000000..aafae119 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/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/Chubb/auth_url_terms.html.liquid b/Custom_Templates/customer_templates/Chubb/auth_url_terms.html.liquid new file mode 100644 index 00000000..a7087db2 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/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/Chubb/catalog.html.liquid b/Custom_Templates/customer_templates/Chubb/catalog.html.liquid new file mode 100644 index 00000000..eafe7a52 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/catalog.html.liquid @@ -0,0 +1,54 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} + +
+
+
+ Home / Course Catalog +
+
+ Search and filter courses, learning paths and other materials using the menu on the left side of the screen. +
+
+
+
+ {% include 'catalog_filters' %} +
+
+ {% include "courses_catalog" %} +
+
+
+{% include "footer" %} + + + diff --git a/Custom_Templates/customer_templates/Chubb/course.html.liquid b/Custom_Templates/customer_templates/Chubb/course.html.liquid new file mode 100644 index 00000000..f414a6dc --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/course.html.liquid @@ -0,0 +1,13 @@ +{% include "header" %} +
+
+ Home / Course +
+
+ {% include "course_desktop_view" %} +
+
+ {% include "course_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Chubb/courses.html.liquid b/Custom_Templates/customer_templates/Chubb/courses.html.liquid new file mode 100644 index 00000000..7334cdab --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/courses.html.liquid @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb/dashboard.html.liquid b/Custom_Templates/customer_templates/Chubb/dashboard.html.liquid new file mode 100644 index 00000000..104bf393 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/dashboard.html.liquid @@ -0,0 +1,31 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} + +
+
+ Home / Dashboard +
+
+
+ {% 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-md-6 col-lg-4 np-stretch-content" %} +
+ {% if features.training_events? %} +
+
+ {% t .upcoming_events %} +
+ {% include "training_events_dashboard" %} +
+ {% endif %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Chubb/forgot_password.html.liquid b/Custom_Templates/customer_templates/Chubb/forgot_password.html.liquid new file mode 100644 index 00000000..3d65513f --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/forgot_password.html.liquid @@ -0,0 +1,25 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Chubb/homepage.html.liquid b/Custom_Templates/customer_templates/Chubb/homepage.html.liquid new file mode 100644 index 00000000..1e79b945 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/homepage.html.liquid @@ -0,0 +1,24 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.featured %} +
+ {% include 'feature_carousel' %} + +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Chubb/learning_path.html.liquid b/Custom_Templates/customer_templates/Chubb/learning_path.html.liquid new file mode 100644 index 00000000..5e65d583 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/learning_path.html.liquid @@ -0,0 +1,13 @@ +{% include "header" %} +
+
+ Home / Learning Path +
+
+ {% include "learning_path_desktop_view" %} +
+
+ {% include "learning_path_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Chubb/learning_path_summary.html.liquid b/Custom_Templates/customer_templates/Chubb/learning_path_summary.html.liquid new file mode 100644 index 00000000..99ae32ed --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/learning_path_summary.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
+
+ {% include "learning_path_summary_desktop_view" %} +
+
+ {% include "learning_path_summary_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Chubb/learning_paths.html.liquid b/Custom_Templates/customer_templates/Chubb/learning_paths.html.liquid new file mode 100644 index 00000000..e6e10cba --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/learning_paths.html.liquid @@ -0,0 +1,14 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+ {% t shared.learning_paths %} +
+
+ {% t .subtitle %} +
+ {% include "learning_paths_index", items: learning_paths.available %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Chubb/login.html.liquid b/Custom_Templates/customer_templates/Chubb/login.html.liquid new file mode 100644 index 00000000..bde185dd --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/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/Chubb/master.html.liquid b/Custom_Templates/customer_templates/Chubb/master.html.liquid new file mode 100644 index 00000000..63345068 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/master.html.liquid @@ -0,0 +1 @@ +{% body %} diff --git a/Custom_Templates/customer_templates/Chubb/not_found.html.liquid b/Custom_Templates/customer_templates/Chubb/not_found.html.liquid new file mode 100644 index 00000000..91c76e4b --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/not_found.html.liquid @@ -0,0 +1,10 @@ +
+ + +
diff --git a/Custom_Templates/customer_templates/Chubb/private_certificate.html.liquid b/Custom_Templates/customer_templates/Chubb/private_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/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/Chubb/public_certificate.html.liquid b/Custom_Templates/customer_templates/Chubb/public_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/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/Chubb/reset_password.html.liquid b/Custom_Templates/customer_templates/Chubb/reset_password.html.liquid new file mode 100644 index 00000000..281c6eaa --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/reset_password.html.liquid @@ -0,0 +1,43 @@ +
+
+ {% include "header_minimal" %} +
+
+ + + {% form_authenticity_token %} +
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Chubb/search.html.liquid b/Custom_Templates/customer_templates/Chubb/search.html.liquid new file mode 100644 index 00000000..5bf9fc7c --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/search.html.liquid @@ -0,0 +1,22 @@ +{% include "header" %} +
+
+ {% t .title %} +
+
+
+ {% t .showing %} + {{ results.count }} + {% t .results_for %} + "{{ results.term }}" +
+ Results shown below are courses. View learning paths in the Catalog. +
+
+ {% 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/Chubb/sign_up.html.liquid b/Custom_Templates/customer_templates/Chubb/sign_up.html.liquid new file mode 100644 index 00000000..7a903da4 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/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/Chubb/styles.css.liquid b/Custom_Templates/customer_templates/Chubb/styles.css.liquid new file mode 100644 index 00000000..e9c66fdd --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/styles.css.liquid @@ -0,0 +1,357 @@ + /* + 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 }} +*/ + + +@font-face { + font-family: "Chubb"; + src: url("https://s3.amazonaws.com/static.northpass.com/Chubb/Chubb+Publico+App+Fonts/ChubbPublicoApp-Light.ttf"); + font-weight: 400; +} +@font-face { + font-family: "Chubb"; + src: url("https://s3.amazonaws.com/static.northpass.com/Chubb/Chubb+Publico+App+Fonts/ChubbPublicoApp-Medium.ttf"); + font-weight: 500; +} +@font-face { + font-family: "Chubb"; + src: url("https://s3.amazonaws.com/static.northpass.com/Chubb/Chubb+Publico+App+Fonts/ChubbPublicoApp-Bold.ttf"); + font-weight: 700; +} +@font-face { + font-family: "Chubb"; + src: url("https://s3.amazonaws.com/static.northpass.com/pipedrive/fonts/Haffer/HafferSQ-SemiBold.woff2"); + font-weight: 600; +} + + +body { + background: #fff; + font-family: 'Lato', sans-serif; +} + +.chubb { + font-family: 'Chubb', sans-serif; +} +.np-header-logo-image { + height: 15px; +} +.header-text { + font-weight: 500; + margin-left: 20px; + font-size: 1.5rem; + color: #000; +} +.np-header-search-icon { + position: absolute; + top: 30%; + left: 0; + color: #000; + opacity: 0.5; + font-size: 1rem; + padding-left: 10px; +} +.header-search-input { + position: relative; + max-width: 180px; + padding: 0.5rem 0 0.5rem 2rem; +} +.header-avatar-image { + font-size: 1.5rem; + +} +.np-header-avatar-tooltip { + background: #fff; + border-radius: 4px; + box-shadow: 0 0 8px rgba(72,103,118,.5); + position: absolute; + right: -15px; + top: 45px; + white-space: nowrap; + z-index: 50; +} + +.np-header-color { + background: #ffffff; + border-bottom: 4px rgba(0,0,0,0.8) solid; +} + +.card-content-container { + padding: 1rem; + display: flex; + flex-direction: column; + flex: 1; + justify-content: space-between; +} +.card-category { + background: #e7e6e6; + padding: 5px 10px; + border-radius: 12px; + margin: 0 8px 8px 0; + font-size: 0.8rem; + } + + .card-category-wrapper { + display: flex; + flex-wrap: wrap; + } + .card-content-title { + font-size: 1.5rem; + font-weight: 500; + margin-bottom: 8px; + color: #000; + } + .card-description { + font-weight: 400; + margin-bottom: 20px; + color: #000; + } + .card { + margin-right: 20px; + margin-bottom: 20px; + display: flex; + flex-direction: column; + height: 100%; + } + .card-course-btn-wrapper { + display: flex; + justify-content: flex-end; + } + .card-time { + margin: 10px 0; + font-weight: 500; + font-size: 1rem; + color: #000;s + } + + .feature-card-container { + display: flex; +} +.feature-content { + flex-basis: 50%; +} +.feature-card-content { + padding: 2rem; + display: flex; + flex-direction: column; + justify-content: center; +} +.feature-card-content-title { + margin-bottom: 2rem; + font-size: 4vw; + color: #000; + font-weight: 500; +} +.feature-card-btn-container { + display: flex; + gap: 10px; +} +.feature-card-description { + margin-bottom: 2rem; + color: #000; + font-weight: 400; +} +.feature-card-image { + display: flex; + width: 100%; + object-fit: cover; +} +.feature-course-btn { + font-weight: 700; + padding: 15px 40px; + text-decoration: none; +} +.purple { + background: #6e27c5; + color: #fff; +} +.header-catalog { + font-weight: 500; + font-size: 1.5rem; + color: #000; + } +.note-desc { + font-size: 1rem; +} +.purple-link { + color: #6e27c5; + } + .home-link { + text-decoration: none; + } +.yellow { + background: #ffb619; + color: #000; +} +.row { + margin-left: 0; + margin-right: 0; +} +.section-headline { + font-size: 1.5rem; + font-weight: 900; + color: #000; + margin: 1rem 0; + } + +.np-footer { + background: #e7e6e6; +} +.course-categories-container { + flex-wrap: wrap; +} +.np-content-categories-content-item { + margin-bottom: 10px; +} + +.slick-track { + margin-left: 0 !important; + margin-right: 0 !important; +} + +.section { + margin: 0 20px; +} + +.hamburger-menu { + font-size: 1.5rem; + margin-left: 1.5rem; + cursor: pointer; +} +.np-card-container { + z-index: 10; +} + +.np-dashboard { + background: #fff; +} +.np-resource-title, .np-input-label { + color: #000; +} +.zero-state-lp { + width: 100%; + border: 3px solid rgba(0,0,0, 0.35); + display: flex; + justify-content: center; + align-items: center; +} + +.zero-state-message { + font-size: 1.25rem; + font-weight: 600; + color: #000; + opacity: 0.35; +} +.terms-of-service { + display: flex; + gap: 10px; + } +.np-alert { + display: none; +} +.dashboard-content-wrapper { + width: 100%; +} + +.text-underline { + text-decoration: underline; +} + +.np-top-title, .np-card-heading, .np-course-outline-content-section-name { + color: #000; +} + +.recommended-carousel .slick-track { + display: flex; +} +.progress-carousel .slick-track { + display: flex; +} +.carousel-card-container { + height: auto !important; +} +.slick-list { + padding-bottom: 20px !important; +} +.bold-text { + font-weight: 700; +} + +.mb-20 { + margin-bottom: 20px; +} +@media only screen and (max-width: 768px) { + .feature-card-container { + flex-direction: column-reverse; + } + .filter-container { + flex-direction: column; + } + .dropdown { + margin-bottom: 10px; + margin-right: 0px !important; + } + .card { + margin-right: 0px; + } + .footer-wrapper { + flex-direction: column; + } + .footer-content { + margin: 20px 0; + } + .np-header-content { + justify-content: space-between; + } + } + + .np-powered-by { + display: none !important; + } + + .np-color-success, .np-certificate-metadata-title, .np-certificate-metadata-value { + color: #000; + } + + .np-learning-path-completed-banner, .np-learning-path-certificate-content { + background: #fff; + } + + .np-learning-path-banner-action--primary { + background: #000; + } + + .np-certificate-title { + color: #000; + } + .np-certificate-button-secondary { + color: #000 !important; + } + + + @media only screen and (max-width: 1028px) { + .row-catalog { + flex-direction: column; + } + .filter-container, .catalog-container { + width: 100% !important; + } + .filter-container { + padding: 0 !important; + } + +} +@media only screen and (min-width: 1300px) { + .feature-card-description { + font-size: 1.2vw; + } + +} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb/training_events.html.liquid b/Custom_Templates/customer_templates/Chubb/training_events.html.liquid new file mode 100644 index 00000000..139717ee --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/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/Chubb/training_session.html.liquid b/Custom_Templates/customer_templates/Chubb/training_session.html.liquid new file mode 100644 index 00000000..5b78b834 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/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/Chubb/training_session_attendance.html.liquid b/Custom_Templates/customer_templates/Chubb/training_session_attendance.html.liquid new file mode 100644 index 00000000..71bb6119 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/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/Chubb/unsubscribe.html.liquid b/Custom_Templates/customer_templates/Chubb/unsubscribe.html.liquid new file mode 100644 index 00000000..69a54028 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb/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/Cin7 Customers/_badges_cards.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_badges_cards.html.liquid new file mode 100644 index 00000000..27d9efc8 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Customers/_badges_cards.html.liquid @@ -0,0 +1,243 @@ + +{% assign completed_courses = 0 %} +{% for course in courses.enrolled %} + {% if course.progress == 100 %} + {% assign completed_courses = completed_courses | plus: 1 %} + {% endif %} +{% endfor %} + + +{% if omni %} + {% if completed_courses > 0%} +
+
+ +
+
+ {% endif %} + {% if completed_courses > 4 %} +
+
+ +
+
+ {% endif %} + {% if completed_courses > 9 %} +
+
+ +
+
+ {% endif %} + {% if completed_courses > 14 %} +
+
+ +
+
+ {% endif %} + {% if completed_courses > 19 %} +
+
+ +
+
+ {% endif %} +{% endif %} +{% if core %} + {% if completed_courses > 0%} +
+
+ +
+
+ {% endif %} + {% if completed_courses > 4%} +
+
+ +
+
+ {% endif %} + {% if completed_courses > 9%} +
+
+ +
+
+ {% endif %} + {% if completed_courses > 14%} +
+
+ +
+
+ {% endif %} + {% if completed_courses > 19%} +
+
+ +
+
+ {% endif %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_cards_course.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_cards_course.html.liquid index 366e26a9..f830a1b8 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_cards_course.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_cards_course.html.liquid @@ -1,4 +1,4 @@ -
+ diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_category_cards.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_category_cards.html.liquid index 821a2f7f..5e7dad39 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_category_cards.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_category_cards.html.liquid @@ -1,7 +1,11 @@ - + + +
+ +

{{category.name}}

-
See all courses related to managing products in Cin7 Omni.
+
Browse all courses for {{category.name}}.
diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_category_carousel.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_category_carousel.html.liquid index ef9b967f..ec7cc6f0 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_category_carousel.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_category_carousel.html.liquid @@ -1,12 +1,19 @@ {% assign unique_category = "" %} +{% assign category_images = 'https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images/Category+Icon+1.png,https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images/Category+Icon+2.png,https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images/Category+Icon+3.png,https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images/Category+Icon+4.png' | split: ',' %} +{% assign category_counter = 0 %} +