From 3490b97063baf00107b06ced4702a9b1c91ae433 Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Thu, 7 Mar 2024 16:15:01 -0500 Subject: [PATCH] TripleSeat templates, along with Futuri (both for header and transcript updates). Create SCORM course node script. Added some todos as well. --- .../_account_avatar.html.liquid | 66 +++ .../_account_desktop_view.html.liquid | 19 + .../Futuri Academy/_account_form.html.liquid | 139 ++++++ .../_account_mobile_view.html.liquid | 17 + .../Futuri Academy/_cards_course.html.liquid | 52 +++ .../_cards_learning_path.html.liquid | 90 ++++ .../_cards_training_event.html.liquid | 45 ++ .../_category_gallery.html.liquid | 76 ++++ .../_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_details_review.html.liquid | 58 +++ .../Futuri Academy/_course_events.html.liquid | 28 ++ .../Futuri Academy/_course_header.html.liquid | 16 + .../_course_instructors.html.liquid | 22 + .../_course_mobile_view.html.liquid | 40 ++ .../_course_outline.html.liquid | 40 ++ .../_course_progress_and_cta.html.liquid | 46 ++ ..._course_version_outdated_alert.html.liquid | 7 + ..._course_version_outdated_popup.html.liquid | 33 ++ .../_courses_catalog.html.liquid | 55 +++ .../Futuri Academy/_courses_index.html.liquid | 16 + .../_courses_zero_state.html.liquid | 6 + .../_filter_checkbox.html.liquid | 10 + .../_filter_dropdown.html.liquid | 33 ++ .../Futuri Academy/_filter_select.html.liquid | 21 + .../Futuri Academy/_fixed_header.html.liquid | 54 +++ .../Futuri Academy/_footer.html.liquid | 78 ++++ .../Futuri Academy/_head.html.liquid | 7 + .../Futuri Academy/_header.html.liquid | 198 +++++++++ .../_header_minimal.html.liquid | 23 + .../_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 + .../Futuri Academy/_messages.html.liquid | 19 + .../_progress_circle.html.liquid | 80 ++++ .../Futuri Academy/_search_result.html.liquid | 19 + .../_search_zero_state.html.liquid | 13 + .../_sub_navigation.html.liquid | 23 + .../_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 + .../_widget_course_progress.html.liquid | 97 +++++ .../Futuri Academy/account.html.liquid | 15 + .../Futuri Academy/auth_url_email.html.liquid | 59 +++ .../auth_url_employee.html.liquid | 59 +++ .../auth_url_phone_number.html.liquid | 40 ++ .../Futuri Academy/auth_url_terms.html.liquid | 74 ++++ .../Futuri Academy/catalog.html.liquid | 39 ++ .../Futuri Academy/course.html.liquid | 24 + .../Futuri Academy/courses.html.liquid | 11 + .../Futuri Academy/dashboard.html.liquid | 114 +++++ .../forgot_password.html.liquid | 25 ++ .../Futuri Academy/homepage.html.liquid | 100 +++++ .../Futuri Academy/learning_path.html.liquid | 10 + .../learning_path_summary.html.liquid | 10 + .../Futuri Academy/learning_paths.html.liquid | 13 + .../Futuri Academy/login.html.liquid | 53 +++ .../Futuri Academy/master.html.liquid | 1 + .../Futuri Academy/not_found.html.liquid | 10 + .../private_certificate.html.liquid | 10 + .../public_certificate.html.liquid | 10 + .../Futuri Academy/reset_password.html.liquid | 43 ++ .../Futuri Academy/search.html.liquid | 27 ++ .../Futuri Academy/sign_up.html.liquid | 72 +++ .../Futuri Academy/styles.css.liquid | 410 ++++++++++++++++++ .../training_events.html.liquid | 33 ++ .../training_session.html.liquid | 59 +++ .../training_session_attendance.html.liquid | 43 ++ .../Futuri Academy/unsubscribe.html.liquid | 30 ++ .../TripleSeat/_account_avatar.html.liquid | 66 +++ .../_account_desktop_view.html.liquid | 19 + .../TripleSeat/_account_form.html.liquid | 139 ++++++ .../_account_mobile_view.html.liquid | 17 + .../TripleSeat/_cards_course.html.liquid | 34 ++ .../_cards_learning_path.html.liquid | 70 +++ .../_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 + .../TripleSeat/_course_categories.html.liquid | 10 + .../_course_description.html.liquid | 6 + .../_course_desktop_view.html.liquid | 40 ++ .../TripleSeat/_course_events.html.liquid | 28 ++ .../TripleSeat/_course_header.html.liquid | 16 + .../_course_instructors.html.liquid | 22 + .../_course_mobile_view.html.liquid | 40 ++ .../TripleSeat/_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 ++ .../TripleSeat/_courses_catalog.html.liquid | 16 + .../TripleSeat/_courses_index.html.liquid | 16 + .../_courses_zero_state.html.liquid | 6 + .../TripleSeat/_filter_checkbox.html.liquid | 10 + .../TripleSeat/_filter_dropdown.html.liquid | 33 ++ .../TripleSeat/_filter_select.html.liquid | 22 + .../TripleSeat/_footer.html.liquid | 78 ++++ .../TripleSeat/_header.html.liquid | 188 ++++++++ .../TripleSeat/_header_minimal.html.liquid | 17 + .../_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 +++ .../TripleSeat/_messages.html.liquid | 19 + .../TripleSeat/_search_result.html.liquid | 19 + .../TripleSeat/_search_zero_state.html.liquid | 13 + .../TripleSeat/_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 + .../TripleSeat/account.html.liquid | 14 + .../TripleSeat/auth_url_email.html.liquid | 59 +++ .../TripleSeat/auth_url_employee.html.liquid | 59 +++ .../auth_url_phone_number.html.liquid | 40 ++ .../TripleSeat/catalog.html.liquid | 23 + .../TripleSeat/course.html.liquid | 10 + .../TripleSeat/courses.html.liquid | 11 + .../TripleSeat/dashboard.html.liquid | 28 ++ .../TripleSeat/forgot_password.html.liquid | 25 ++ .../TripleSeat/homepage.html.liquid | 52 +++ .../TripleSeat/learning_path.html.liquid | 10 + .../learning_path_summary.html.liquid | 10 + .../TripleSeat/learning_paths.html.liquid | 14 + .../TripleSeat/login.html.liquid | 53 +++ .../TripleSeat/master.html.liquid | 1 + .../TripleSeat/not_found.html.liquid | 10 + .../private_certificate.html.liquid | 10 + .../TripleSeat/public_certificate.html.liquid | 10 + .../TripleSeat/reset_password.html.liquid | 43 ++ .../TripleSeat/search.html.liquid | 27 ++ .../TripleSeat/sign_up.html.liquid | 72 +++ .../TripleSeat/styles.css.liquid | 11 + .../TripleSeat/training_events.html.liquid | 19 + .../TripleSeat/training_session.html.liquid | 10 + .../training_session_attendance.html.liquid | 43 ++ .../TripleSeat/unsubscribe.html.liquid | 30 ++ Scripts/API_Tests/medialib_csv.py | 18 +- Scripts/API_Tests/temp.md | 0 Scripts/clone_courses.js | 157 +------ Scripts/create_scorm_course.js | 82 ++++ Scripts/temp.py | 5 + Todos.md | 10 +- 208 files changed, 6578 insertions(+), 164 deletions(-) create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_account_avatar.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_account_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_account_form.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_account_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_cards_course.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_cards_learning_path.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_cards_training_event.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_category_gallery.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_certificates_info_column.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_certificates_metadata.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_certificates_preview.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_certificates_top_bar.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_certificates_verification.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_course_activity_locked.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_course_activity_unlocked.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_course_categories.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_course_description.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_course_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_course_details_review.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_course_events.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_course_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_course_instructors.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_course_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_course_outline.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_course_progress_and_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_course_version_outdated_alert.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_course_version_outdated_popup.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_courses_catalog.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_courses_index.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_courses_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_filter_checkbox.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_filter_dropdown.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_filter_select.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_fixed_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_footer.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_head.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_header_minimal.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_banners.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_certificate_content.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_completed_banner.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_course.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_description.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_desktop_content.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_desktop_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_instructors.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_mobile_content.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_mobile_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_new_content_banner.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_outline.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_progress_and_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_summary_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_summary_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_path_training_session.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_learning_paths_index.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_messages.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_progress_circle.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_search_result.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_search_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_sub_navigation.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_training_events_dashboard.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_training_events_filter.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_training_events_index.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_training_events_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_training_session_calendars.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_training_session_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_training_session_date.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_training_session_description.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_training_session_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_training_session_details.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_training_session_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_training_session_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_training_session_more_sessions.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_training_session_tile.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/_widget_course_progress.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/account.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/auth_url_email.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/auth_url_employee.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/auth_url_phone_number.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/auth_url_terms.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/catalog.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/course.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/courses.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/dashboard.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/forgot_password.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/homepage.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/learning_path.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/learning_path_summary.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/learning_paths.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/login.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/master.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/not_found.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/private_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/public_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/reset_password.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/search.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/sign_up.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/styles.css.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/training_events.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/training_session.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/training_session_attendance.html.liquid create mode 100644 Custom_Templates/customer_templates/Futuri Academy/unsubscribe.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_account_avatar.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_account_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_account_form.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_account_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_cards_course.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_cards_learning_path.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_cards_training_event.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_certificates_info_column.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_certificates_metadata.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_certificates_preview.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_certificates_top_bar.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_certificates_verification.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_course_activity_locked.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_course_activity_unlocked.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_course_categories.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_course_description.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_course_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_course_events.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_course_header.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_course_instructors.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_course_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_course_outline.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_course_progress_and_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_course_version_outdated_alert.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_course_version_outdated_popup.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_courses_catalog.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_courses_index.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_courses_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_filter_checkbox.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_filter_dropdown.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_filter_select.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_footer.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_header.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_header_minimal.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_banners.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_certificate_content.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_completed_banner.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_course.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_description.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_desktop_content.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_desktop_header.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_instructors.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_mobile_content.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_mobile_header.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_new_content_banner.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_outline.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_progress_and_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_summary_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_summary_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_learning_path_training_session.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_messages.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_search_result.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_search_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_sub_navigation.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_training_events_dashboard.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_training_events_filter.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_training_events_index.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_training_events_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_training_session_calendars.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_training_session_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_training_session_date.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_training_session_description.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_training_session_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_training_session_details.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_training_session_header.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_training_session_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_training_session_more_sessions.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/_training_session_tile.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/account.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/auth_url_email.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/auth_url_employee.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/auth_url_phone_number.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/catalog.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/course.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/courses.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/dashboard.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/forgot_password.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/homepage.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/learning_path.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/learning_path_summary.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/learning_paths.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/login.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/master.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/not_found.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/private_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/public_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/reset_password.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/search.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/sign_up.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/styles.css.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/training_events.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/training_session.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/training_session_attendance.html.liquid create mode 100644 Custom_Templates/customer_templates/TripleSeat/unsubscribe.html.liquid delete mode 100644 Scripts/API_Tests/temp.md create mode 100644 Scripts/create_scorm_course.js create mode 100644 Scripts/temp.py diff --git a/Custom_Templates/customer_templates/Futuri Academy/_account_avatar.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_account_avatar.html.liquid new file mode 100644 index 00000000..d952af93 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_account_avatar.html.liquid @@ -0,0 +1,66 @@ +
+

{% t .description %}

+

{% t .requirements %}

+
+ + + + +
+
+ +
+ +
+ +
+
+ +
+
diff --git a/Custom_Templates/customer_templates/Futuri Academy/_account_desktop_view.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_account_desktop_view.html.liquid new file mode 100644 index 00000000..8ae8599d --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_account_desktop_view.html.liquid @@ -0,0 +1,19 @@ +
+ + {% form_authenticity_token %} +
+
+
+ + +
+
+
+
diff --git a/Custom_Templates/customer_templates/Futuri Academy/_account_form.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_account_form.html.liquid new file mode 100644 index 00000000..ddd264c2 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_account_mobile_view.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_account_mobile_view.html.liquid new file mode 100644 index 00000000..6ac8c007 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_account_mobile_view.html.liquid @@ -0,0 +1,17 @@ +
+ + {% form_authenticity_token %} + + + +
diff --git a/Custom_Templates/customer_templates/Futuri Academy/_cards_course.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_cards_course.html.liquid new file mode 100644 index 00000000..e0107c8b --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_cards_course.html.liquid @@ -0,0 +1,52 @@ +
+
+
+ {% if course.ribbon %} +
+ {{ course.ribbon }} +
+ {% endif %} +
+ {{ course.name }} +
+ +
+ {% include "course_details_review" %} + +
+
+ + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Futuri Academy/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_cards_learning_path.html.liquid new file mode 100644 index 00000000..b5fcc366 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_cards_learning_path.html.liquid @@ -0,0 +1,90 @@ +{% comment %}This section of code will iterate over all courses in a learning path and average out the completion per course compared to the total of the LP {% endcomment %} +{% assign total_progress = 0 %} +{% assign completed_progress = 0 %} + +{% for item in learning_path.items %} + {% if item.course? %} + {% assign total_progress = total_progress | plus: 100 %} + + {% assign completed_progress = completed_progress | plus: item.progress %} + {% endif %} +{% endfor %} + +{% assign total_progress = total_progress | times: 0.01 %} +{% assign calculated_progress = completed_progress | divided_by: total_progress %} + +
+
+
+ {{ learning_path.name }} +
+
+ +
{% t shared.learning_path.title %}
+
+ {{ learning_path.items.count }} {% t .items %} +
+
+
+
{% t shared.learning_path.title %}
+ +
+ +
+

+ {{ learning_path.name }} +

+ +
+ {{ learning_path.instructor_names }} +
+ +
+ {{ learning_path.description }} +
+ +
+ {% comment %}{% t shared.progress, count: learning_path.progress %}{% endcomment %} + {% if calculated_progress < 1 %} + Not Started + {% else %} + {{calculated_progress | ceil }}% Completed + {% endif %} +
+ +
+
+
+
+ + +
+
+
+
+
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Futuri Academy/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_cards_training_event.html.liquid new file mode 100644 index 00000000..1176157e --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_category_gallery.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_category_gallery.html.liquid new file mode 100644 index 00000000..75038cf7 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_category_gallery.html.liquid @@ -0,0 +1,76 @@ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Futuri Academy/_certificates_info_column.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_certificates_info_column.html.liquid new file mode 100644 index 00000000..61adfaba --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_certificates_info_column.html.liquid @@ -0,0 +1,4 @@ +
+ {% include "certificates_verification" %} + {% include "certificates_metadata" %} +
diff --git a/Custom_Templates/customer_templates/Futuri Academy/_certificates_metadata.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_certificates_metadata.html.liquid new file mode 100644 index 00000000..9f4a1dba --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_certificates_metadata.html.liquid @@ -0,0 +1,59 @@ +
+
+ +
+ + {% if certificate.issuer_name_enabled? %} + +
+ {% endif %} + + +
+ +
+
diff --git a/Custom_Templates/customer_templates/Futuri Academy/_certificates_preview.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_certificates_preview.html.liquid new file mode 100644 index 00000000..6357b621 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_certificates_preview.html.liquid @@ -0,0 +1,35 @@ + + +
+
+
+ +
+
+
diff --git a/Custom_Templates/customer_templates/Futuri Academy/_certificates_top_bar.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_certificates_top_bar.html.liquid new file mode 100644 index 00000000..74a7ae41 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_certificates_verification.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_certificates_verification.html.liquid new file mode 100644 index 00000000..4fc19415 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_certificates_verification.html.liquid @@ -0,0 +1,15 @@ +
+
+
+ +
+
+

+ {{certificate.verification_title}} +

+

+ {{certificate.verification_description}} +

+
+
+
diff --git a/Custom_Templates/customer_templates/Futuri Academy/_course_activity_locked.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_course_activity_locked.html.liquid new file mode 100644 index 00000000..386393d5 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_course_activity_locked.html.liquid @@ -0,0 +1,4 @@ + + + {{ activity.title }} + diff --git a/Custom_Templates/customer_templates/Futuri Academy/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_course_activity_unlocked.html.liquid new file mode 100644 index 00000000..30c03305 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_course_categories.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_course_categories.html.liquid new file mode 100644 index 00000000..6cfe9010 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_course_description.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_course_description.html.liquid new file mode 100644 index 00000000..269f9216 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_course_desktop_view.html.liquid new file mode 100644 index 00000000..e16fee16 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_course_details_review.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_course_details_review.html.liquid new file mode 100644 index 00000000..6278d0f1 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_course_details_review.html.liquid @@ -0,0 +1,58 @@ +{% assign activities_count = 0 %} +{% for course_section in course.sections %} + {% for course_activity in course_section.activities %} + {% assign activities_count = activities_count | plus: 1 %} + {% endfor %} +{% endfor %} + +{%- comment -%}

+ {{ course.name }} +

{%- endcomment -%} + +
+
+ {{ activities_count }} + + {% if activities_count == 1 %}Activity{% else %}Activities{% endif %} + +
+
+ {% if course.properties.course_duration contains 'missing property' %} + missing property: course.properties.course_duration + {% else %} + {% if course.properties.course_duration > 0 %} + {% if course.properties.course_duration > 59 %} + + {% assign course_hours = course.properties.course_duration | divided_by: 60 %} + {% assign course_minutes = course.properties.course_duration | modulo: 60 %} + + {{ course_hours }}{% if course_minutes > 0 %}:{{ course_minutes }}{% endif %} Hr + + {% else %} + + {{ course.properties.course_duration }} Min{% if course.properties.course_duration > 1 %}s{% endif %} + + {% endif %} + Duration + {% endif %} + {% endif %} +
+
+ {{ course.progress }}% + Progress +
+
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Futuri Academy/_course_events.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_course_events.html.liquid new file mode 100644 index 00000000..5fa80eef --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_course_header.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_course_header.html.liquid new file mode 100644 index 00000000..84820ec4 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_course_header.html.liquid @@ -0,0 +1,16 @@ +
+ {{ current_school.course_vocabulary }} + + +
+
+ + + + {{ course.name }} +
+{{ course.name }} diff --git a/Custom_Templates/customer_templates/Futuri Academy/_course_instructors.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_course_instructors.html.liquid new file mode 100644 index 00000000..8b608928 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_course_mobile_view.html.liquid new file mode 100644 index 00000000..7f31ff35 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_course_outline.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_course_outline.html.liquid new file mode 100644 index 00000000..72f97e79 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_course_progress_and_cta.html.liquid new file mode 100644 index 00000000..1c3db9fa --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_course_progress_and_cta.html.liquid @@ -0,0 +1,46 @@ +
+
+ {% t .header %} +
+
+
+
+
+ +
+ {% t shared.progress, count: course.progress %} +
+
+ +{% if course.learner_can_retake? %} +
+ {% form_authenticity_token %} + +
+{% else %} + + {% if course.enrolled? == false %} + {% t shared.enroll %} + {% elsif course.started? == false %} + {% t shared.course.start, key: current_school.course_vocabulary %} + {% elsif course.completed? %} + {% t shared.course.view, key: current_school.course_vocabulary %} + {% else %} + {% t shared.continue %} + {% endif %} + +{% endif %} + diff --git a/Custom_Templates/customer_templates/Futuri Academy/_course_version_outdated_alert.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_course_version_outdated_alert.html.liquid new file mode 100644 index 00000000..03e245ab --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_course_version_outdated_alert.html.liquid @@ -0,0 +1,7 @@ +{% if courses.include_courses_to_restart? %} + +{% endif %} diff --git a/Custom_Templates/customer_templates/Futuri Academy/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_course_version_outdated_popup.html.liquid new file mode 100644 index 00000000..71795884 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_course_version_outdated_popup.html.liquid @@ -0,0 +1,33 @@ +
+
+ + +
+
diff --git a/Custom_Templates/customer_templates/Futuri Academy/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_courses_catalog.html.liquid new file mode 100644 index 00000000..817c5c86 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_courses_catalog.html.liquid @@ -0,0 +1,55 @@ +{% if courses.in_catalog.any? %} + {% if current_school.filterable_categories.any? %} + {% assign categories_by_name = current_school.filterable_categories | sort: "name" %} + + {% for category in categories_by_name %} +
+
+

{{category.name}}

+
+ +
+ {% for course in courses.in_catalog %} + {% for course_category in course.categories %} + {% if course_category.name == category.name %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% endfor %} + {% endfor %} +
+
+ {% endfor %} + + {% endif %} +{% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Futuri Academy/_courses_index.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_courses_index.html.liquid new file mode 100644 index 00000000..a881b3af --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_courses_zero_state.html.liquid new file mode 100644 index 00000000..26e371f7 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_courses_zero_state.html.liquid @@ -0,0 +1,6 @@ +
+
+ {{ message }} +
+ {{ message }} +
diff --git a/Custom_Templates/customer_templates/Futuri Academy/_filter_checkbox.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_filter_checkbox.html.liquid new file mode 100644 index 00000000..5cbcbd07 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_filter_checkbox.html.liquid @@ -0,0 +1,10 @@ + + diff --git a/Custom_Templates/customer_templates/Futuri Academy/_filter_dropdown.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_filter_dropdown.html.liquid new file mode 100644 index 00000000..e7a954bb --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_filter_dropdown.html.liquid @@ -0,0 +1,33 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/Futuri Academy/_filter_select.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_filter_select.html.liquid new file mode 100644 index 00000000..ea24980c --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_filter_select.html.liquid @@ -0,0 +1,21 @@ +{% if params.q %} + +{% endif %} + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Futuri Academy/_fixed_header.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_fixed_header.html.liquid new file mode 100644 index 00000000..8ac34a18 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_fixed_header.html.liquid @@ -0,0 +1,54 @@ +
+ {% include "header" %} +
+ {% include "sub_navigation" %} +
+
+ \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Futuri Academy/_footer.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_footer.html.liquid new file mode 100644 index 00000000..9bf334a4 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_footer.html.liquid @@ -0,0 +1,78 @@ + diff --git a/Custom_Templates/customer_templates/Futuri Academy/_head.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_head.html.liquid new file mode 100644 index 00000000..94d106c7 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_head.html.liquid @@ -0,0 +1,7 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Futuri Academy/_header.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_header.html.liquid new file mode 100644 index 00000000..0bf0c0b6 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_header.html.liquid @@ -0,0 +1,198 @@ +{%- comment -%} Desktop Header {%- endcomment -%} +
+
+ {%- comment -%} Mobile Menu Nav >>> Hidden On Desktop {%- endcomment -%} +
+ {% if current_person.signed_in? %} + {% for website_navigation in navigations.header_navigations_external %} + {% if website_navigation.name == 'My Profile' %} +
  • + + {{ website_navigation.name }} + +
  • + {% endif %} + {% endfor %} + {%- comment -%} + {%- endcomment -%} + {% endif %} +
    + + {%- comment -%} Desktop Nav Links {%- endcomment -%} +
    +
    +
      + {% for website_navigation in navigations.header_navigations_external %} + {% unless website_navigation.name == 'My Profile' %} +
    • + + {{ website_navigation.name }} + +
    • + {% endunless %} + {% endfor %} +
    +
    +
    + + {%- comment -%} School Desktop View Logo {%- endcomment -%} + {% if current_school.logo_url %} +
    +

    + + {{ current_school.name }} + +

    +
    + {% else %} + + {% endif %} + + + {%- comment -%} Desktop Search Box {%- endcomment -%} + {% if current_person.signed_in? %} +
    + + {%- comment -%} Desktop Profile Button {%- endcomment -%} +
    + {% for website_navigation in navigations.header_navigations_external %} + {% if website_navigation.name == 'My Profile' %} +
  • + + {{ website_navigation.name }} + +
  • + {% endif %} + {% endfor %} +
    +
    + {% else %} + {%- comment -%} Desktop Sign In Button {%- endcomment -%} + + {% endif %} +
    +
    + +{%- comment -%} Mobile Header {%- endcomment -%} +
    +
    + {% 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" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Futuri Academy/_header_minimal.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_header_minimal.html.liquid new file mode 100644 index 00000000..190f6efd --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_header_minimal.html.liquid @@ -0,0 +1,23 @@ +
    + + {% if current_school.logo_url %} + + {% else %} + + {{ current_school.name }} + + {% endif %} + +
    + +{% include "messages" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Futuri Academy/_learning_path_banners.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_banners.html.liquid new file mode 100644 index 00000000..11a1810c --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_certificate.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_certificate.html.liquid new file mode 100644 index 00000000..3a282c5e --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_certificate_content.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_certificate_content.html.liquid new file mode 100644 index 00000000..3feafd59 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_completed_banner.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_completed_banner.html.liquid new file mode 100644 index 00000000..1c146f6e --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_course.html.liquid new file mode 100644 index 00000000..5f7aff84 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_description.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_description.html.liquid new file mode 100644 index 00000000..6b1fb3a0 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_description.html.liquid @@ -0,0 +1,6 @@ +

    + {% t .about %} +

    +
    + {{ learning_path.description }} +
    diff --git a/Custom_Templates/customer_templates/Futuri Academy/_learning_path_desktop_content.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_desktop_content.html.liquid new file mode 100644 index 00000000..e9ca85d9 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_desktop_header.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_desktop_header.html.liquid new file mode 100644 index 00000000..6f4c112c --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_desktop_view.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_desktop_view.html.liquid new file mode 100644 index 00000000..8447443e --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_instructors.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_instructors.html.liquid new file mode 100644 index 00000000..a8342301 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_mobile_content.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_mobile_content.html.liquid new file mode 100644 index 00000000..92ffd4c8 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_mobile_header.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_mobile_header.html.liquid new file mode 100644 index 00000000..2bf66a5a --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_mobile_view.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_mobile_view.html.liquid new file mode 100644 index 00000000..0e22feb9 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_new_content_banner.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_new_content_banner.html.liquid new file mode 100644 index 00000000..2bc02d46 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_outline.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_outline.html.liquid new file mode 100644 index 00000000..22ddd573 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_progress_and_cta.html.liquid new file mode 100644 index 00000000..1d90a2a7 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_summary_desktop_view.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_summary_desktop_view.html.liquid new file mode 100644 index 00000000..05961c52 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_summary_mobile_view.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_summary_mobile_view.html.liquid new file mode 100644 index 00000000..f30a09eb --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_path_training_session.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_path_training_session.html.liquid new file mode 100644 index 00000000..f796cdf4 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_learning_paths_index.html.liquid new file mode 100644 index 00000000..a4681210 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_messages.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_messages.html.liquid new file mode 100644 index 00000000..059fc568 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_progress_circle.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_progress_circle.html.liquid new file mode 100644 index 00000000..2d27e545 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_progress_circle.html.liquid @@ -0,0 +1,80 @@ +
    + + + + {{count}} + +

    + {{name}} +

    +
    + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Futuri Academy/_search_result.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_search_result.html.liquid new file mode 100644 index 00000000..5c2a4991 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_search_result.html.liquid @@ -0,0 +1,19 @@ +
    +
    +
    + {{ result.name }} +
    + +
    {{ result.description }}
    +
    +
    +
    +
    diff --git a/Custom_Templates/customer_templates/Futuri Academy/_search_zero_state.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_search_zero_state.html.liquid new file mode 100644 index 00000000..4e52c6fb --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_search_zero_state.html.liquid @@ -0,0 +1,13 @@ +
    +
    +
    +

    + {% t .nothing_found %} +

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

    + {% t .header %} +

    +
    + {{ training_event.description }} +
    diff --git a/Custom_Templates/customer_templates/Futuri Academy/_training_session_desktop_view.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_training_session_desktop_view.html.liquid new file mode 100644 index 00000000..5c1abfec --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_training_session_details.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_training_session_details.html.liquid new file mode 100644 index 00000000..ae23b7ac --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_training_session_header.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_training_session_header.html.liquid new file mode 100644 index 00000000..10434cfa --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_training_session_mobile_view.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_training_session_mobile_view.html.liquid new file mode 100644 index 00000000..00455d4e --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_training_session_more_sessions.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_training_session_more_sessions.html.liquid new file mode 100644 index 00000000..6cfafa87 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_training_session_tile.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_training_session_tile.html.liquid new file mode 100644 index 00000000..e5ad8714 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_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/Futuri Academy/_widget_course_progress.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/_widget_course_progress.html.liquid new file mode 100644 index 00000000..9f4b7343 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/_widget_course_progress.html.liquid @@ -0,0 +1,97 @@ +
    +
    +
    + {% if courses.enrolled.any? %} + {% assign countComplete = 0 %} + {% assign countInProgress = 0 %} + {% assign countNotStarted = 0 %} + {% assign countTotal = 0 | times: 1.0 %} + {% for course in courses.enrolled %} + {% assign countTotal = countTotal | plus: 1 %} + {% if course.progress == 100 %} + {% assign countComplete = countComplete | plus: 1 %} + {% endif %} + {% if course.progress > 0 and course.progress < 100 %} + {% assign countInProgress = countInProgress | plus: 1 %} + {% endif %} + {% if course.progress == 0 %} + {% assign countNotStarted = countNotStarted | plus: 1 %} + {% endif %} + {% endfor %} +
      +
    • + {% + include "progress_circle", + name:'Completed' , + count: countComplete , + total: countTotal, + size: "120", + stroke_color: "rgba(65, 192, 192)", + stroke_color_bg: "rgb(229, 233, 235, 0.25)" + %} +
    • +
    • + {% + include "progress_circle", + name:'In Progress' , + count: countInProgress , + total: countTotal, + size: "120", + stroke_color: "rgba(65, 192, 192)", + stroke_color_bg: "rgb(229, 233, 235, 0.25)" + %} +
    • +
    + {% else %} + {% capture message %} + {% t shared.zero_state.courses.index, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} + {% endif %} +
    +
    +
    + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Futuri Academy/account.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/account.html.liquid new file mode 100644 index 00000000..df96f9b6 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/account.html.liquid @@ -0,0 +1,15 @@ +{% include "header" %} +{% include "account_tabs" %} + +
    +
    + {% include "account_mobile_view", form: form %} +
    + +
    + {% include "account_desktop_view", form: form %} +
    +
    + +{% include "footer" %} + diff --git a/Custom_Templates/customer_templates/Futuri Academy/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/auth_url_email.html.liquid new file mode 100644 index 00000000..a413959c --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/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/Futuri Academy/auth_url_employee.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/auth_url_employee.html.liquid new file mode 100644 index 00000000..c8d8adf7 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/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/Futuri Academy/auth_url_phone_number.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/auth_url_phone_number.html.liquid new file mode 100644 index 00000000..aafae119 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/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/Futuri Academy/auth_url_terms.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/auth_url_terms.html.liquid new file mode 100644 index 00000000..a7087db2 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/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/Futuri Academy/catalog.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/catalog.html.liquid new file mode 100644 index 00000000..670bdf67 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/catalog.html.liquid @@ -0,0 +1,39 @@ +{% include "fixed_header" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} +
    +
    +
    +
    {{ 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" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Futuri Academy/course.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/course.html.liquid new file mode 100644 index 00000000..2403c3da --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/course.html.liquid @@ -0,0 +1,24 @@ + + {% if course.enrolled? %} + + + {% else %} + + + {% endif %} + +{% comment %} {% include "header" %} +
    +
    + {% include "course_desktop_view" %} +
    +
    + {% include "course_mobile_view" %} +
    +
    +{% include "footer" %} {% endcomment %} diff --git a/Custom_Templates/customer_templates/Futuri Academy/courses.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/courses.html.liquid new file mode 100644 index 00000000..ef34b59a --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/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/Futuri Academy/dashboard.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/dashboard.html.liquid new file mode 100644 index 00000000..d5d6f509 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/dashboard.html.liquid @@ -0,0 +1,114 @@ +{% include "fixed_header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} +
    +
    +
    + {% 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 %} +
    + + + {%- comment -%} {% include "courses_index", class: "col-xs-12 col-sm-6 np-stretch-content" %} {%- endcomment -%} + + + {% if courses.enrolled.any? %} + {% if current_school.filterable_categories.any? %} + {% assign categories_by_name = current_school.filterable_categories | sort: "name" %} + + + {% for category in categories_by_name %} + {% assign renderFlag = false %} + + {% for course in courses.enrolled %} + {% for course_category in course.categories %} + {% if course_category.name == category.name %} + {% assign renderFlag = true %} + {% endif %} + {% endfor %} + {% endfor %} + + {% if renderFlag == true %} +
    +
    +

    {{category.name}} Courses

    +
    + +
    + {% for course in courses.enrolled %} + {% for course_category in course.categories %} + {% if course_category.name == category.name %} +
    + {% include "cards_course" with course %} +
    + {% endif %} + {% endfor %} + {% endfor %} +
    +
    + {% endif %} + {% endfor %} + + {% endif %} + {% else %} + {% capture message %} + {% t shared.zero_state.courses.index, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} + {% endif %} + +
    +
    +
    + Course Progress +
    + {% include "widget_course_progress" %} + + {% if features.training_events? %} +
    + {% t .upcoming_events %} +
    + {% include "training_events_dashboard" %} + {% endif %} +
    +
    +
    +{% include "footer" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Futuri Academy/forgot_password.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/forgot_password.html.liquid new file mode 100644 index 00000000..3d65513f --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/forgot_password.html.liquid @@ -0,0 +1,25 @@ +
    +
    + {% include "header_minimal" %} +
    +
    + {% form_authenticity_token %} +
    + + +
    + +
    +
    +
    +
    diff --git a/Custom_Templates/customer_templates/Futuri Academy/homepage.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/homepage.html.liquid new file mode 100644 index 00000000..2e18acce --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/homepage.html.liquid @@ -0,0 +1,100 @@ +{% include "fixed_header" %} +{% include "course_version_outdated_alert", courses: courses.featured %} +
    +
    + {%- comment -%} {% if homepage.artwork_url == '//cdn.northpass.com/assets/defaults/learning_experience/homepage-a66cc08ba532656b9ef3d215fd04aea68f324b48a70dc13a51c0c4eede0e562f.jpg' %} + + {% else %} + {{ homepage.headline }} + {% endif %} {%- endcomment -%} + {{ homepage.headline }} + {%- comment -%}
    +
    + {{ homepage.headline }} +
    +
    + {{ homepage.subheadline }} +
    + + Explore the Courses + +
    {%- endcomment -%} +
    + +
    +{% include "footer" %} + + diff --git a/Custom_Templates/customer_templates/Futuri Academy/learning_path.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/learning_path.html.liquid new file mode 100644 index 00000000..5cbb5a93 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/learning_path.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
    +
    + {% include "learning_path_desktop_view" %} +
    +
    + {% include "learning_path_mobile_view" %} +
    +
    +{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Futuri Academy/learning_path_summary.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/learning_path_summary.html.liquid new file mode 100644 index 00000000..99ae32ed --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/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/Futuri Academy/learning_paths.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/learning_paths.html.liquid new file mode 100644 index 00000000..ea9fefb4 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/learning_paths.html.liquid @@ -0,0 +1,13 @@ +{% include "fixed_header" %} +
    +
    +
    + {% t shared.learning_paths %} +
    +
    + {% t .subtitle %} +
    + {% include "learning_paths_index", items: learning_paths.available %} +
    +
    +{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Futuri Academy/login.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/login.html.liquid new file mode 100644 index 00000000..bde185dd --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/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/Futuri Academy/master.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/master.html.liquid new file mode 100644 index 00000000..63345068 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/master.html.liquid @@ -0,0 +1 @@ +{% body %} diff --git a/Custom_Templates/customer_templates/Futuri Academy/not_found.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/not_found.html.liquid new file mode 100644 index 00000000..91c76e4b --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/not_found.html.liquid @@ -0,0 +1,10 @@ +
    + + +
    diff --git a/Custom_Templates/customer_templates/Futuri Academy/private_certificate.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/private_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/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/Futuri Academy/public_certificate.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/public_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/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/Futuri Academy/reset_password.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/reset_password.html.liquid new file mode 100644 index 00000000..281c6eaa --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/reset_password.html.liquid @@ -0,0 +1,43 @@ +
    +
    + {% include "header_minimal" %} +
    +
    + + + {% form_authenticity_token %} +
    + + +
    +
    + + +
    + +
    +
    +
    +
    diff --git a/Custom_Templates/customer_templates/Futuri Academy/search.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/search.html.liquid new file mode 100644 index 00000000..01684399 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/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/Futuri Academy/sign_up.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/sign_up.html.liquid new file mode 100644 index 00000000..7a903da4 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/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/Futuri Academy/styles.css.liquid b/Custom_Templates/customer_templates/Futuri Academy/styles.css.liquid new file mode 100644 index 00000000..55786eb7 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/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 }} +*/ + +/* Global Styles */ + +body, +main, +.np-main{ + background: #EBEFF0; +} + +.np-dashboard, +.np-catalog, +.np-training-events{ + margin-top: 80px; +} + +.np-homepage{ + margin-top: 130px; +} + +.np-button{ + background: linear-gradient(90deg, #103F50 0%, #2D9EAF 100%); + border-radius: 8px; + color: #FFFFFF; +} + +@media screen and (min-width: 768px){ + .np-homepage{ + margin-top: 120px; + } +} + +/* Header Styles */ +.np-header{ + height: 70px; + padding: 0; +} + +.np-header-desktop-nav-list{ + flex-wrap: inherit; + padding: 0; +} + +.np-header-desktop-nav{ + justify-content: flex-end; +} + +.np-header-desktop-nav-link{ + font-size: 13px; + font-weight: 700; +} + +.np-header-desktop-nav-link:hover{ + color: #7D388E; +} + +.centered-logo{ + justify-content: center; +} + +.np-header-avatar-button{ + display: none; +} + +@media screen and (min-width: 1050px){ + .np-header{ + padding: 0 10px; + } +} + +@media screen and (min-width: 1100px){ + .np-header{ + padding: 0 35px; + } +} + +@media screen and (min-width: 1150px){ + .np-header{ + padding: 0 50px; + } +} + +/* Subnav Styles */ +.np-sub-navigation{ + background: #EBEFF0; + height: 50px; + margin-bottom: 0; + padding: 0; + width: 100vw; +} + +.np-sub-navigation-content{ + height: 100%; +} + +.np-sub-navigation-content-item{ + width: 6.75%; +} + +.np-sub-navigation-content-item-active{ + /* background: #DEDFE0; */ + background: #D2E0DC; +} + +.np-sub-navigation-content-item-link{ + color: #000000; + font-family: 'DM Sans', sans-serif; + font-size: 16px; + font-weight: 700; + height: 50px; + justify-content: center; +} + +/* Homepage Specific Styles*/ +/* Hero Elements */ +.np-homepage-hero{ + border-bottom: 1px solid #000000; +} + +.hero-headline{ + color: #FFFFFF; + font-size: 40px; + font-weight: 600; + letter-spacing: -1px; + line-height: 44px; + margin-bottom: 30px; + max-width: 1000px; + text-align: center; +} + +.hero-subheadline{ + color: #FFFFFF; + font-size: 20px; + line-height: 30px; + margin:0 auto; + margin-bottom: 12px; + max-width: 650px; + text-align: center; +} + +.np-homepage-hero-cta{ + animation: caption-top 1.2s 1 ease-out; + font-size: 18px; + font-weight: 700; + height: 63px; + padding: 20px 30px; + text-transform: uppercase; +} + +@media screen and (min-width: 768px){ + .hero-headline{ + font-size: 70px; + line-height: 77px; + } +} + +/* Heading Texts */ +.homepage-headline{ + font-size: 55px; + font-weight: 600; + color: #000000; + letter-spacing: -1px; + line-height: 60.5px; + text-align: center; +} + +.homepage-subheadline{ + font-size: 19px; + font-weight: 300; + line-height: 31.35px; + margin: 16px 0; + text-align: center; +} + +/* Category Gallery and Cards */ +.homepage-max-width{ + max-width: initial; +} + +.category-gallery{ + align-items: center; + display: flex; + flex-direction: row; + justify-content: space-evenly; + margin-left: 0; + max-width: 100%; + padding: 0px 20px; +} + +.topic-button-wrapper{ + aspect-ratio: 1; + margin: 15px 0; +} + +.topic-button{ + color: #FFFFFF; + font-size: 1.25rem; + font-weight: 700; + height: 100%; + line-height: 52.5px; + max-height: 640px; + max-width: 640px; + padding: 0 20px; + width: 100%; +} + +.col-sm-3-6{ + box-sizing: border-box; + flex: 0 0 auto; + flex-basis: 100%; + max-height: 640px; + max-width: 640px; +} + +@media screen and (min-width: 600px) { + .topic-button{ + font-size: 12px; + } + + .col-sm-3-6{ + flex-basis: 40%; + } +} + +@media screen and (min-width: 768px) { + .category-gallery{ + flex-direction: row; + padding: initial; + } + + .col-sm-3-6{ + flex-basis: 30%; + } +} + +@media screen and (min-width: 870px) { + .topic-button{ + font-size: 16px; + } +} + +@media screen and (min-width: 1200px) { + .topic-button{ + font-size: 18px; + } +} + +@media screen and (min-width: 1440px) { + .topic-button{ + font-size: 24px; + } +} + +@media screen and (min-width: 1600px) { + .topic-button{ + font-size: 30px; + } +} + + +/* Course Cards */ + + .np-card-container{ + border: 1px solid #BAC4CA; + border-radius: 9px 9px 0 0; + box-shadow: none; + height: auto; + position: relative; + } + + .np-card-image{ + border-radius: 8px 8px 0 0; + height: 50%; + max-height: 50%; + } + + .np-card-content-vertical{ + justify-content: space-evenly; + } + + .np-card-container-training-session{ + border-radius: 0; + } + + .np-card-padding, + .np-card-padding-dynamic { + padding: 1.5rem; + } + + .np-card-image-overlay { + position: absolute; + width: 100%; + height: 100%; + opacity: 0.9; + } + + .np-card-image-content-top, + .np-card-image-content-bottom { + position: absolute; + left: 1.5rem; + z-index: 1; + } + + .np-card-image-content-top { + top: 1.5rem; + } + + .np-card-image-content-bottom { + bottom: 1.5rem; + display: flex; + justify-content: space-between; + align-items: center; + } + + .np-course-details { + display: flex; + text-align: center; + } + + .np-course-details .np-card-content-progress { + margin-top: 0; + } + + .np-course-detail { + font-size: 1.125rem; + flex: 0 1 calc(33.33%); + } + + .np-details-label { + text-transform: uppercase; + opacity: 0.5; + font-size: 0.75rem; + display: block; + font-weight: bold; + margin-top: 2px; + } + + .np-card-content { + border: 1px solid #000000; + border-top: 0 + } + + .np-card-content-footer { + margin-top: 1.2rem; + } + + .np-card-content-footer .np-button { + width: 100%; + } + + @media screen and (min-width: 768px) { + .np-card-content-title { + font-size: 1.1rem; + flex: 1; + } + + .np-card-content .np-card-content-title{ + margin-top: 0; + } + + .np-card-image-content-top, + .np-card-image-content-bottom { + left: 1.5rem; + right: 1.5rem; + } + + .np-card-image-content-top { + top: 1.5rem; + } + .np-card-image-content-bottom { + bottom: 1.5rem; + } + .np-card-padding, + .np-card-padding-dynamic { + padding: 1.5rem; + } + } + + @media screen and (min-width: 1024px) { + .np-card-content-title { + font-size: 1.5rem; + } + + .np-card-image-content-top, + .np-card-image-content-bottom { + left: 2rem; + right: 2rem; + } + + .np-card-image-content-top { + top: 2rem; + } + .np-card-image-content-bottom { + bottom: 2rem; + } + .np-card-padding, + .np-card-padding-dynamic { + padding: 2rem; + } + } \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Futuri Academy/training_events.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/training_events.html.liquid new file mode 100644 index 00000000..f01f4356 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/training_events.html.liquid @@ -0,0 +1,33 @@ +{% include "fixed_header" %} +
    +
    +
    +
    + {% t .title %} +
    +
    + Live webinars with Futuri experts to maximize your learning +
    +
    +
    + {% include "training_events_filter" %} +
    +
    + {% include "training_events_index" %} +
    +{% include "footer" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Futuri Academy/training_session.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/training_session.html.liquid new file mode 100644 index 00000000..6847d88c --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/training_session.html.liquid @@ -0,0 +1,59 @@ +{% include "header" %} +
    +
    + {% include "training_session_desktop_view" %} +
    +
    + {% include "training_session_mobile_view" %} +
    +
    +{% include "footer" %} + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Futuri Academy/training_session_attendance.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/training_session_attendance.html.liquid new file mode 100644 index 00000000..71bb6119 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/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/Futuri Academy/unsubscribe.html.liquid b/Custom_Templates/customer_templates/Futuri Academy/unsubscribe.html.liquid new file mode 100644 index 00000000..69a54028 --- /dev/null +++ b/Custom_Templates/customer_templates/Futuri Academy/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/_account_avatar.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_account_avatar.html.liquid new file mode 100644 index 00000000..d952af93 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_account_avatar.html.liquid @@ -0,0 +1,66 @@ +
    +

    {% t .description %}

    +

    {% t .requirements %}

    +
    + + + + +
    +
    + +
    + +
    + +
    +
    + +
    +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/_account_desktop_view.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_account_desktop_view.html.liquid new file mode 100644 index 00000000..8ae8599d --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_account_desktop_view.html.liquid @@ -0,0 +1,19 @@ +
    + + {% form_authenticity_token %} +
    +
    +
    + + +
    +
    +
    +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/_account_form.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_account_form.html.liquid new file mode 100644 index 00000000..ddd264c2 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_account_mobile_view.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_account_mobile_view.html.liquid new file mode 100644 index 00000000..6ac8c007 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_account_mobile_view.html.liquid @@ -0,0 +1,17 @@ +
    + + {% form_authenticity_token %} + + + +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/_cards_course.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_cards_course.html.liquid new file mode 100644 index 00000000..5402ed64 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_cards_course.html.liquid @@ -0,0 +1,34 @@ +
    +
    + {% if course.ribbon %} +
    + {{ course.ribbon }} +
    + {% endif %} + {{ course.name }} +
    +

    + {{ course.name }} +

    +
    + {{ course.instructor_names }} +
    + +
    +
    +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_cards_learning_path.html.liquid new file mode 100644 index 00000000..424a81ab --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_cards_learning_path.html.liquid @@ -0,0 +1,70 @@ +
    +
    +
    + {{ learning_path.name }} +
    +
    + +
    {% t shared.learning_path.title %}
    +
    + {{ learning_path.items.count }} {% t .items %} +
    +
    +
    +
    {% t shared.learning_path.title %}
    + +
    + +
    +

    + {{ learning_path.name }} +

    + +
    + {{ learning_path.instructor_names }} +
    + +
    + {{ learning_path.description }} +
    + +
    + {% t shared.progress, count: learning_path.progress %} +
    + +
    +
    +
    +
    + + +
    +
    +
    +
    +
    +
    +
    +
    +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_cards_training_event.html.liquid new file mode 100644 index 00000000..1176157e --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_certificates_info_column.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_certificates_info_column.html.liquid new file mode 100644 index 00000000..61adfaba --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_certificates_info_column.html.liquid @@ -0,0 +1,4 @@ +
    + {% include "certificates_verification" %} + {% include "certificates_metadata" %} +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/_certificates_metadata.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_certificates_metadata.html.liquid new file mode 100644 index 00000000..9f4a1dba --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_certificates_metadata.html.liquid @@ -0,0 +1,59 @@ +
    +
    + +
    + + {% if certificate.issuer_name_enabled? %} + +
    + {% endif %} + + +
    + +
    +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/_certificates_preview.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_certificates_preview.html.liquid new file mode 100644 index 00000000..6357b621 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_certificates_preview.html.liquid @@ -0,0 +1,35 @@ + + +
    +
    +
    + +
    +
    +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/_certificates_top_bar.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_certificates_top_bar.html.liquid new file mode 100644 index 00000000..74a7ae41 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_certificates_verification.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_certificates_verification.html.liquid new file mode 100644 index 00000000..4fc19415 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_certificates_verification.html.liquid @@ -0,0 +1,15 @@ +
    +
    +
    + +
    +
    +

    + {{certificate.verification_title}} +

    +

    + {{certificate.verification_description}} +

    +
    +
    +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/_course_activity_locked.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_course_activity_locked.html.liquid new file mode 100644 index 00000000..386393d5 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_course_activity_locked.html.liquid @@ -0,0 +1,4 @@ + + + {{ activity.title }} + diff --git a/Custom_Templates/customer_templates/TripleSeat/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_course_activity_unlocked.html.liquid new file mode 100644 index 00000000..30c03305 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_course_categories.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_course_categories.html.liquid new file mode 100644 index 00000000..6cfe9010 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_course_description.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_course_description.html.liquid new file mode 100644 index 00000000..269f9216 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_course_desktop_view.html.liquid new file mode 100644 index 00000000..e16fee16 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_course_events.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_course_events.html.liquid new file mode 100644 index 00000000..5fa80eef --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_course_header.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_course_header.html.liquid new file mode 100644 index 00000000..84820ec4 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_course_header.html.liquid @@ -0,0 +1,16 @@ +
    + {{ current_school.course_vocabulary }} + + +
    +
    + + + + {{ course.name }} +
    +{{ course.name }} diff --git a/Custom_Templates/customer_templates/TripleSeat/_course_instructors.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_course_instructors.html.liquid new file mode 100644 index 00000000..8b608928 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_course_mobile_view.html.liquid new file mode 100644 index 00000000..7f31ff35 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_course_outline.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_course_outline.html.liquid new file mode 100644 index 00000000..72f97e79 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_course_progress_and_cta.html.liquid new file mode 100644 index 00000000..1c3db9fa --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_course_progress_and_cta.html.liquid @@ -0,0 +1,46 @@ +
    +
    + {% t .header %} +
    +
    +
    +
    +
    + +
    + {% t shared.progress, count: course.progress %} +
    +
    + +{% if course.learner_can_retake? %} +
    + {% form_authenticity_token %} + +
    +{% else %} + + {% if course.enrolled? == false %} + {% t shared.enroll %} + {% elsif course.started? == false %} + {% t shared.course.start, key: current_school.course_vocabulary %} + {% elsif course.completed? %} + {% t shared.course.view, key: current_school.course_vocabulary %} + {% else %} + {% t shared.continue %} + {% endif %} + +{% endif %} + diff --git a/Custom_Templates/customer_templates/TripleSeat/_course_version_outdated_alert.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_course_version_outdated_alert.html.liquid new file mode 100644 index 00000000..03e245ab --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_course_version_outdated_alert.html.liquid @@ -0,0 +1,7 @@ +{% if courses.include_courses_to_restart? %} + +{% endif %} diff --git a/Custom_Templates/customer_templates/TripleSeat/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_course_version_outdated_popup.html.liquid new file mode 100644 index 00000000..71795884 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_course_version_outdated_popup.html.liquid @@ -0,0 +1,33 @@ +
    +
    + + +
    +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_courses_catalog.html.liquid new file mode 100644 index 00000000..ea1e9ea4 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_courses_index.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_courses_index.html.liquid new file mode 100644 index 00000000..19e7671b --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_courses_zero_state.html.liquid new file mode 100644 index 00000000..26e371f7 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_courses_zero_state.html.liquid @@ -0,0 +1,6 @@ +
    +
    + {{ message }} +
    + {{ message }} +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/_filter_checkbox.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_filter_checkbox.html.liquid new file mode 100644 index 00000000..5cbcbd07 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_filter_checkbox.html.liquid @@ -0,0 +1,10 @@ + + diff --git a/Custom_Templates/customer_templates/TripleSeat/_filter_dropdown.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_filter_dropdown.html.liquid new file mode 100644 index 00000000..e7a954bb --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_filter_dropdown.html.liquid @@ -0,0 +1,33 @@ +
    + +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/_filter_select.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_filter_select.html.liquid new file mode 100644 index 00000000..d006c0df --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_filter_select.html.liquid @@ -0,0 +1,22 @@ +{% if params.q %} + +{% endif %} + + + + diff --git a/Custom_Templates/customer_templates/TripleSeat/_footer.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_footer.html.liquid new file mode 100644 index 00000000..c1a5ab83 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_footer.html.liquid @@ -0,0 +1,78 @@ + diff --git a/Custom_Templates/customer_templates/TripleSeat/_header.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_header.html.liquid new file mode 100644 index 00000000..8cdaf8fe --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_header.html.liquid @@ -0,0 +1,188 @@ +
    +
    +
    + {% 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 %} + + {% 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/TripleSeat/_header_minimal.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_header_minimal.html.liquid new file mode 100644 index 00000000..6b72cdb2 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_banners.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_banners.html.liquid new file mode 100644 index 00000000..11a1810c --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_certificate.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_certificate.html.liquid new file mode 100644 index 00000000..3a282c5e --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_certificate_content.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_certificate_content.html.liquid new file mode 100644 index 00000000..3feafd59 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_completed_banner.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_completed_banner.html.liquid new file mode 100644 index 00000000..1c146f6e --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_course.html.liquid new file mode 100644 index 00000000..5f7aff84 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_description.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_description.html.liquid new file mode 100644 index 00000000..6b1fb3a0 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_learning_path_description.html.liquid @@ -0,0 +1,6 @@ +

    + {% t .about %} +

    +
    + {{ learning_path.description }} +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/_learning_path_desktop_content.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_desktop_content.html.liquid new file mode 100644 index 00000000..e9ca85d9 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_desktop_header.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_desktop_header.html.liquid new file mode 100644 index 00000000..6f4c112c --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_desktop_view.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_desktop_view.html.liquid new file mode 100644 index 00000000..8447443e --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_instructors.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_instructors.html.liquid new file mode 100644 index 00000000..a8342301 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_mobile_content.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_mobile_content.html.liquid new file mode 100644 index 00000000..92ffd4c8 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_mobile_header.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_mobile_header.html.liquid new file mode 100644 index 00000000..2bf66a5a --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_mobile_view.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_mobile_view.html.liquid new file mode 100644 index 00000000..0e22feb9 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_new_content_banner.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_new_content_banner.html.liquid new file mode 100644 index 00000000..2bc02d46 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_outline.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_outline.html.liquid new file mode 100644 index 00000000..22ddd573 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_progress_and_cta.html.liquid new file mode 100644 index 00000000..1d90a2a7 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_summary_desktop_view.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_summary_desktop_view.html.liquid new file mode 100644 index 00000000..05961c52 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_summary_mobile_view.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_summary_mobile_view.html.liquid new file mode 100644 index 00000000..f30a09eb --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_learning_path_training_session.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_learning_path_training_session.html.liquid new file mode 100644 index 00000000..f796cdf4 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_messages.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_messages.html.liquid new file mode 100644 index 00000000..059fc568 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_search_result.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_search_result.html.liquid new file mode 100644 index 00000000..5c2a4991 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_search_result.html.liquid @@ -0,0 +1,19 @@ +
    +
    +
    + {{ result.name }} +
    + +
    {{ result.description }}
    +
    +
    +
    +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/_search_zero_state.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_search_zero_state.html.liquid new file mode 100644 index 00000000..4e52c6fb --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_search_zero_state.html.liquid @@ -0,0 +1,13 @@ +
    +
    +
    +

    + {% t .nothing_found %} +

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

    + {% t .header %} +

    +
    + {{ training_event.description }} +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/_training_session_desktop_view.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_training_session_desktop_view.html.liquid new file mode 100644 index 00000000..5c1abfec --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_training_session_details.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_training_session_details.html.liquid new file mode 100644 index 00000000..ae23b7ac --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_training_session_header.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_training_session_header.html.liquid new file mode 100644 index 00000000..10434cfa --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_training_session_mobile_view.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_training_session_mobile_view.html.liquid new file mode 100644 index 00000000..00455d4e --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_training_session_more_sessions.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_training_session_more_sessions.html.liquid new file mode 100644 index 00000000..6cfafa87 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/_training_session_tile.html.liquid b/Custom_Templates/customer_templates/TripleSeat/_training_session_tile.html.liquid new file mode 100644 index 00000000..e5ad8714 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/_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/TripleSeat/account.html.liquid b/Custom_Templates/customer_templates/TripleSeat/account.html.liquid new file mode 100644 index 00000000..2ad5d917 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/TripleSeat/auth_url_email.html.liquid b/Custom_Templates/customer_templates/TripleSeat/auth_url_email.html.liquid new file mode 100644 index 00000000..a413959c --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/TripleSeat/auth_url_employee.html.liquid b/Custom_Templates/customer_templates/TripleSeat/auth_url_employee.html.liquid new file mode 100644 index 00000000..c8d8adf7 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/TripleSeat/auth_url_phone_number.html.liquid b/Custom_Templates/customer_templates/TripleSeat/auth_url_phone_number.html.liquid new file mode 100644 index 00000000..aafae119 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/TripleSeat/catalog.html.liquid b/Custom_Templates/customer_templates/TripleSeat/catalog.html.liquid new file mode 100644 index 00000000..d7b380b8 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/TripleSeat/course.html.liquid b/Custom_Templates/customer_templates/TripleSeat/course.html.liquid new file mode 100644 index 00000000..d77e09ba --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/course.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
    +
    + {% include "course_desktop_view" %} +
    +
    + {% include "course_mobile_view" %} +
    +
    +{% include "footer" %} diff --git a/Custom_Templates/customer_templates/TripleSeat/courses.html.liquid b/Custom_Templates/customer_templates/TripleSeat/courses.html.liquid new file mode 100644 index 00000000..ef34b59a --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/TripleSeat/dashboard.html.liquid b/Custom_Templates/customer_templates/TripleSeat/dashboard.html.liquid new file mode 100644 index 00000000..f5c8e7df --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/dashboard.html.liquid @@ -0,0 +1,28 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} +{% include "sub_navigation" %} +
    +
    +
    + {% if features.learning_paths? %} +
    + {% t shared.learning_paths %} +
    + {% include "learning_paths_index", items: learning_paths.enrolled %} + {% endif %} +
    + {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %} +
    + {% include "courses_index", class: "col-xs-12 col-sm-6 np-stretch-content" %} +
    + {% if features.training_events? %} +
    +
    + {% t .upcoming_events %} +
    + {% include "training_events_dashboard" %} +
    + {% endif %} +
    +
    +{% include "footer" %} diff --git a/Custom_Templates/customer_templates/TripleSeat/forgot_password.html.liquid b/Custom_Templates/customer_templates/TripleSeat/forgot_password.html.liquid new file mode 100644 index 00000000..3d65513f --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/forgot_password.html.liquid @@ -0,0 +1,25 @@ +
    +
    + {% include "header_minimal" %} +
    +
    + {% form_authenticity_token %} +
    + + +
    + +
    +
    +
    +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/homepage.html.liquid b/Custom_Templates/customer_templates/TripleSeat/homepage.html.liquid new file mode 100644 index 00000000..77559cc9 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/homepage.html.liquid @@ -0,0 +1,52 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.featured %} +
    +
    + {{ homepage.headline }} +
    +
    + {{ homepage.headline }} +
    +
    + {{ homepage.subheadline }} +
    + + {% t .discover %} + +
    +
    + {% include "sub_navigation" %} + +
    +{% include "footer" %} diff --git a/Custom_Templates/customer_templates/TripleSeat/learning_path.html.liquid b/Custom_Templates/customer_templates/TripleSeat/learning_path.html.liquid new file mode 100644 index 00000000..5cbb5a93 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/learning_path.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
    +
    + {% include "learning_path_desktop_view" %} +
    +
    + {% include "learning_path_mobile_view" %} +
    +
    +{% include "footer" %} diff --git a/Custom_Templates/customer_templates/TripleSeat/learning_path_summary.html.liquid b/Custom_Templates/customer_templates/TripleSeat/learning_path_summary.html.liquid new file mode 100644 index 00000000..99ae32ed --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/TripleSeat/learning_paths.html.liquid b/Custom_Templates/customer_templates/TripleSeat/learning_paths.html.liquid new file mode 100644 index 00000000..e6e10cba --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/TripleSeat/login.html.liquid b/Custom_Templates/customer_templates/TripleSeat/login.html.liquid new file mode 100644 index 00000000..bde185dd --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/TripleSeat/master.html.liquid b/Custom_Templates/customer_templates/TripleSeat/master.html.liquid new file mode 100644 index 00000000..63345068 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/master.html.liquid @@ -0,0 +1 @@ +{% body %} diff --git a/Custom_Templates/customer_templates/TripleSeat/not_found.html.liquid b/Custom_Templates/customer_templates/TripleSeat/not_found.html.liquid new file mode 100644 index 00000000..91c76e4b --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/not_found.html.liquid @@ -0,0 +1,10 @@ +
    + + +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/private_certificate.html.liquid b/Custom_Templates/customer_templates/TripleSeat/private_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/TripleSeat/public_certificate.html.liquid b/Custom_Templates/customer_templates/TripleSeat/public_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/TripleSeat/reset_password.html.liquid b/Custom_Templates/customer_templates/TripleSeat/reset_password.html.liquid new file mode 100644 index 00000000..281c6eaa --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/reset_password.html.liquid @@ -0,0 +1,43 @@ +
    +
    + {% include "header_minimal" %} +
    +
    + + + {% form_authenticity_token %} +
    + + +
    +
    + + +
    + +
    +
    +
    +
    diff --git a/Custom_Templates/customer_templates/TripleSeat/search.html.liquid b/Custom_Templates/customer_templates/TripleSeat/search.html.liquid new file mode 100644 index 00000000..01684399 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/TripleSeat/sign_up.html.liquid b/Custom_Templates/customer_templates/TripleSeat/sign_up.html.liquid new file mode 100644 index 00000000..7a903da4 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/TripleSeat/styles.css.liquid b/Custom_Templates/customer_templates/TripleSeat/styles.css.liquid new file mode 100644 index 00000000..7386f452 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/styles.css.liquid @@ -0,0 +1,11 @@ + /* + 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 }} +*/ diff --git a/Custom_Templates/customer_templates/TripleSeat/training_events.html.liquid b/Custom_Templates/customer_templates/TripleSeat/training_events.html.liquid new file mode 100644 index 00000000..139717ee --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/TripleSeat/training_session.html.liquid b/Custom_Templates/customer_templates/TripleSeat/training_session.html.liquid new file mode 100644 index 00000000..5b78b834 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/TripleSeat/training_session_attendance.html.liquid b/Custom_Templates/customer_templates/TripleSeat/training_session_attendance.html.liquid new file mode 100644 index 00000000..71bb6119 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/TripleSeat/unsubscribe.html.liquid b/Custom_Templates/customer_templates/TripleSeat/unsubscribe.html.liquid new file mode 100644 index 00000000..69a54028 --- /dev/null +++ b/Custom_Templates/customer_templates/TripleSeat/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/Scripts/API_Tests/medialib_csv.py b/Scripts/API_Tests/medialib_csv.py index 3d100f68..5a2107a6 100644 --- a/Scripts/API_Tests/medialib_csv.py +++ b/Scripts/API_Tests/medialib_csv.py @@ -9,20 +9,26 @@ pp = pprint.PrettyPrinter(indent=4) def getMedia(APIKEY, URL): list_data = [] + scorm_ids = [] headers = {"accept": "application/json", "X-Api-Key": APIKEY} URL = f"{URL}?limit=100" response = requests.get(URL, headers=headers) datas = response.json() + # pp.pprint(datas) for data in datas["data"]: file_type = data["attributes"]["file_type"] + file_name = data["attributes"]["file_name"] + created_date = data["attributes"]["created_at"] id_val = data["id"] - create_link = data["links"]["create_course_from_file"] - if "scorm" in file_type: - data_tuple = (id_val, file_type, create_link) - list_data.append(data_tuple) - pp.pprint(list_data) - print(len(list_data)) + if "2024-03" in created_date: + if "scorm" in file_type: + data_tuple = (id_val, created_date, file_name) + scorm_ids.append(id_val) + list_data.append(data_tuple) + # pp.pprint(list_data) + # print(len(list_data)) + print(scorm_ids) # def toCsv(json): # js = pd.json_normalize(json, "data", ["data"]) diff --git a/Scripts/API_Tests/temp.md b/Scripts/API_Tests/temp.md deleted file mode 100644 index e69de29b..00000000 diff --git a/Scripts/clone_courses.js b/Scripts/clone_courses.js index 0cf9f721..62b141e5 100644 --- a/Scripts/clone_courses.js +++ b/Scripts/clone_courses.js @@ -8,163 +8,9 @@ const rl = }) var userEmail= 'nrasmussen@northpass.com'; var userPassword= 'ecx5pmy!MAN2vgh2knc'; -var otp = '229118'; +var otp = '143266'; var schoolUUID = '5692537e-4921-40e8-9c8d-1218b0ffa2da' var courseUUIDs = [ -' dd8547a8-b3fd-402c-845b-8ced68de7d90', -'a79b23c6-9287-40cb-9f18-73ced757a145', -'19f228d8-707b-4899-a612-f779e0582ca3', -'b91e68f2-b493-4a80-b8fb-0f08471145e4', -'3a46d179-e833-411d-9fc9-65f99193e74e', -'a0d1f033-20da-4e1c-ba46-dad71b4420af', -'98fdcc99-985c-4deb-8a2a-074f80027ef6', -'a2d18a42-a961-45ae-b75d-5e9011a0458e', -'efdd20d5-0f7c-4cf2-9922-c207021ac902', -'6c4ed66c-d240-49ab-963b-c7096854eca4', -'d885aaa3-d845-4116-b2cd-6ce4c03ffc7b', -'429c8a3e-e4b7-4557-9969-862d7e2261e6', -'a754a767-56c0-4a99-98f2-8e9594312bbd', -'9d23662c-4855-4b19-892c-f101ef2ab39c', -'a48f746e-7ec1-4f77-8350-ba75b1144222', -'fe43a7ac-f06a-47f5-aecb-d46f07e285d5', -'cd105354-ff0a-4ad2-8425-e99e2326f3bd', -'87d6dfed-b0e4-4c7f-b025-f80b2d90d251', -'e63675bd-db65-402c-aa2f-7109f8e8cc6f', -'98ab2040-4646-4a89-a23f-e4ef7d6f4e2e', -'2ab52b30-3fa5-491a-80a9-a48e9a5f122c', -'7a95dbd2-7cfa-4bf7-8151-b97154014d00', -'2a58b9fb-6c63-4d1d-90ff-bff744f36794', -'31915ca1-b445-4086-bac3-65f74f36d4de', -'a818c30b-1846-4996-a746-3c74a38a9de4', -'00163e87-bf1d-40ce-97a9-1fba4494168d', -'9f93cab8-0058-4f24-a2c7-ca8b9e3473e2', -'bd3ee6c2-01ef-4a4f-a410-2350251d83d0', -'68e0b4f7-512a-4424-96c5-5445351ce4ea', -'00f08787-e6f1-4ef8-8999-cd6f56f84b84', -'ae861af4-3635-453c-93ed-5f8621789608', -'e5669b77-5cd0-41ac-99b0-d0ebe4de0228', -'3f02f4d9-666b-4cd7-9282-e1d292d57e99', -'eab65a65-b150-4335-a2c0-4c853de2c734', -'58282cb8-c177-4273-8219-f14b8051c694', -'5f22a592-4045-42fd-8b88-8f68700fc17e', -'b707e716-8cac-434b-a851-962f18f4d84f', -'02732eea-a545-4616-ac94-d4b1b08380b0', -'a69a5762-b59f-4d4b-801f-64edc4ae2953', -'99f72da4-2e1f-4153-a4a9-71169f80ba65', -'57d90048-c798-4958-af2c-7b4b9c565b70', -'7b0ba52d-9ae2-4c3c-9646-067fe5650681', -'8b4cec51-56b4-4aca-aa6c-03199f997962', -'4329cf31-ceaf-45a2-87a8-8fedf0e77ff6', -'88dda481-bf64-4f8f-b32a-35141a6df121', -'3c3293f4-666b-48f5-9870-f053c766bb8e', -'e353e8eb-ad53-4eaf-b889-51858b69e543', -'3c8ad087-16f8-48e4-8568-d644e79ad176', -'0a576996-4387-4e69-b849-4ce886d35a74', -'fa3387b7-9dec-4539-a98d-f6975f427754', -'2465ab2a-9928-47ce-b533-2db316311cf6', -'13b4ce9b-62f5-43d9-8159-0134c48326c3', -'a4010ef1-45a1-46c2-9e69-ad262e48b570', -'03fa9c71-d6d2-4600-b301-420c3a0aa39c', -'bf173b8e-d7ce-4f95-9258-e35641033eda', -'9c168f49-ae54-44e2-bbc2-54d899e1a18c', -'68287a12-2632-4d20-ae83-91ba291bdbed', -'e88033c4-10aa-4297-9603-07d572125a98', -'c2e80fcd-e315-4f46-ad4f-5fdefd85f32a', -'c4e94895-2adf-4196-9aac-3fa830d039c3', -'db1849a4-f850-4d14-873b-264c7a8f7148', -'f35ff483-f8a6-49ed-a053-2beba1b629c1', -'289ca66a-19ea-49e1-aa28-199e53b740ea', -'9cea7037-9f00-4d12-88b8-59e15b79b7d4', -'baa8adc3-5c88-4ef3-bca5-98467f22f779', -'a220e92f-c437-48b4-b19d-665f60a23cf6', -'c1a15bdb-c67f-4bab-9cf4-21fe43c29ba1', -'ee5bae86-6c5b-4389-bfe1-61fe988e70d5', -'fa8d1ec3-14c9-4968-851f-9ab8cce162c2', -'9b8cd23d-0b70-4fe3-afd6-96f54c159aa5', -'7060e51d-c5cb-4569-a6f5-e444b3acfece', -'20e2e746-4abb-4b7d-8723-fa028865efc5', -'6d398ea6-2727-4aba-9583-6aeedcf0d648', -'5253d85e-0915-4595-bcc9-9aa37f69e0ab', -'6b7604eb-7c0c-47a2-aeed-34cc97cb08e2', -'3845e89f-373b-4a49-b86d-b5fbe77aa678', -'493811b2-73c8-41cb-9d82-8c0003d112c6', -'ca0abc2d-d275-4a01-9973-1a43d39fd76d', -'440320b2-3e67-4965-a70f-f137267b5778', -'0e23ecf0-416a-40be-a63c-4b498a7bc5e9', -'06c8e5a5-26d9-4214-9f35-dbf3ea8da931', -'7fd0c3d8-0805-4deb-8e53-bf6b8ab4b0c9', -'9dd07d16-9687-461b-9d0e-e02a14e86249', -'b95a1912-863b-47f8-aedb-45b8ef02cff5', -'72583d21-ff2c-4a1e-a3c4-abe3e366c4a3', -'adbcfdd4-a11d-40fb-9499-79a4d13d22ff', -'046bfa23-f625-45f4-aa30-715f8b6f37a5', -'283807fc-82ec-4509-8873-dec932177e33', -'7d038271-b131-44bf-8d1e-75502ca18be8', -'021e5ac2-cf44-4f1f-a1cb-0c010327e552', -'c6f739c4-2970-4b98-a8a2-36dcfb52c4ca', -'70f626e5-46e6-47e5-b9ca-a31446ad014c', -'aaef1298-4b3b-4f72-a575-a130d49b1d11', -'2a4c8c5e-bc85-4a8a-967b-375815c2fed8', -'b222f236-6435-4483-a258-0c51cac9b65a', -'0b401958-853e-45c2-b492-3df2bd1deaa0', -'622d41ff-9643-4a5a-b1eb-a03998e8dc2c', -'85a14c5f-74de-4688-870b-00827787e341', -'345b8c0b-fc98-4134-b935-14965503e9a1', -'edc30c7e-8eee-4f9c-a492-79ad5a38a4c0', -'5c0f53fb-bf4d-4c67-a984-9b9204e8bff3', -'5ddb05fb-4f84-48d6-8da1-4ce0aabca643', -'e365ce57-520c-4e0b-9478-c897b193b7ff', -'08bae3cd-0262-487b-b98f-569d4d90fa96', -'020fab83-8723-49d8-9fb5-becd13d5c1de', -'8039efc8-86a3-44b9-99d2-6ba155690370', -'828603ec-27a2-48ee-8aff-6567ca1bf25f', -'96e0a71e-6e7c-422b-9759-7e5efce88646', -'26ade7bf-5192-4e95-a391-4412f32a2aad', -'94d51532-6547-4756-9d95-f91bf5d2ec8e', -'c1bc93e4-deff-4c53-9197-fae55299e596', -'a018dd13-9419-4176-b707-6ece39d31729', -'dd641db0-4a82-42b8-9477-c013e0a57dff', -'a7e8e682-aadf-4c92-88ab-bae0b912a4d3', -'6efadeb2-d270-461e-8847-6f53752b9fdf', -'c8b5b7b9-0ca8-4b00-a7ef-f70ab67be268', -'0747cc56-55ed-4273-9358-158e97ed177b', -'72a35764-6706-432f-9774-d4c396929929', -'0c970975-c370-41cd-8be3-0a46833a80b6', -'def8a3ec-68d5-498c-922b-a0676eaba124', -'0bbab6c7-4a6a-4583-942c-864a13721f01', -'52e32cfa-ce55-4317-8cb6-8bace841bfde', -'9a52756b-17a9-4129-969c-d96f8df6d671', -'5a19ad83-1e0d-4bff-97fc-777620f2e93f', -'a7c5f4c1-3326-4acc-b4b4-c724eeca1bc7', -'60fced38-854e-4cd5-afbe-bd5a7b97b935', -'048dd3ba-cd88-477a-916a-529ee936a5ff', -'96a9b7f5-ff0e-4260-a1bb-3fd31a263854', -'d9b18523-f0be-4d50-b070-e4f08366c709', -'472a99ba-05ad-4bd6-aa8c-789e61a66081', -'5eec0176-6e0e-453f-a50f-94059b2dd5c7', -'f0f2a959-4b53-4092-b354-b8371f8b7647', -'8a2ee08e-ad39-4fb7-8bc2-cbbd51b0f7f9', -'1d85460a-cfa5-4422-9c9b-0e73c07d719b', -'47efd48c-2e47-418a-9ed2-0b071f0e7843', -'d8f33a5d-6dc9-4aba-a04f-42791532e246', -'2a4aa380-f8ff-4823-bd58-36a3093beed0', -'a3f84bf1-ea6d-4500-bdda-10a25547eb3b', -'5538633b-1d78-4252-9836-85dcd4b67930', -'8805dfc7-50b8-4251-8334-0da3a2eaa6b2', -'a8520656-acb0-4868-badd-da1a3aa6719a', -'8422ea8e-64a8-405b-bed4-afcd5a841b95', -'69b538bb-8004-422d-ada5-a1a9eb9e7829', -'8c1d6c3c-ae7e-47fd-8089-d72cbbaca070', -'6f45495d-cbd7-42d7-8a4f-617bdeba392c', -'4d22e68a-2adf-4894-9f60-cc6a52fc978b', -'e8a97349-fa4d-42a7-9850-1c0486fafa3c', -'973b4eb7-7782-450f-9a59-786e6d353b88', -'9ead872c-629d-4dcd-921c-f2af91537218', -'08e0d1d4-666b-445c-b6f8-0a7e9ba23350', -'40fd2666-4b33-4d47-a331-9c4c60ebca7e', -'5c08cd9a-058f-4289-93b7-266aa51da1c1', -'9040176d-72d9-439c-a92b-1b265319d00b', -'e6fb1775-9a4c-4a73-a7ee-8098a520b924', '024882c6-2e2a-474b-8b6c-6496f94311c3', '0395d381-e772-483f-9579-bd8669d40887', '58d8d732-0458-48a8-bdcb-287a4811c1d2', @@ -259,6 +105,7 @@ pt.launch({ headless: false }).then(async browser => { await p.keyboard.press('Enter'); await wait(100) await p.click('input.button'); + console.log('-- Index: '+i+' -- Cloned course: '+courseUUIDs[i]+' -- ') await wait(1000) } await wait(2000) diff --git a/Scripts/create_scorm_course.js b/Scripts/create_scorm_course.js new file mode 100644 index 00000000..3124d479 --- /dev/null +++ b/Scripts/create_scorm_course.js @@ -0,0 +1,82 @@ +const axios = require('axios'); +var scormUuids = [ +'abdeec44-ae48-44ce-8972-f9270475e033', +'f6c73457-0a82-48bf-9e77-124493679974', +'0d128b5b-642c-419e-88eb-19a15b8cb9ec', +'5743f94b-812b-4793-95e9-b762fbd8fb78', +'4c0afaa1-5c61-4e4c-b0d2-778e21a6c65c', +'ca6a790d-3214-4cc5-8dfe-38d8ade997e2', +'c3c34514-aed2-422d-bbba-f37bb92431cf', +'ac3364ec-d950-4782-929a-d7d448db5ddf', +'4e9a6ab4-15b5-41af-b774-a0a4b80bdf2e', +'34e8db4a-6f7a-4182-b542-876855485159', +'7dd11a47-8ed6-4906-a32d-1c4437b77e29', +'c15b8048-f90a-4291-b706-488f3b60633d', +'b5c3b76d-c8a2-40ee-9d16-c60b361700cd', +'3a326df3-0c4b-44df-b4ab-5be3bc6d9f33', +'bea6e368-2f6d-4703-aaaf-12cafc61780d', +'998c98e9-f922-4f8c-bf46-733fd36b1a51', +'96302633-cabf-4803-a494-46853bd12a63', +'ea3922ef-2635-4b00-b029-148a81c38274', +'a2a7b498-cf09-4f14-a5a2-230699594620', +'fb87e028-d024-470b-862d-f26b5190c935', +'b4d5692b-6655-411d-a3d2-e9c0b55a4666', +'60cd9d37-e494-4d5a-8e43-f6ae56de4a8b', +'e7196e18-85b8-4a33-b1ed-55e12647d8ee', +'08a3801e-3a07-469a-9402-a16f549e5504', +'de5cb9fe-f3d1-4574-b158-481467039f73', +'034b8ea7-932f-4300-8a79-6ab230520303', +'625acd03-4724-4364-ae7f-80d01ad9a010', +'f91d9009-9752-4bfa-a7a1-5dd5140ea7e4', +'e1639545-7007-4480-9eb7-9dc9275b08c0', +'9fc359d6-96cc-41c3-9b15-e39075a80773', +'844283bd-4405-4960-bcfd-60787943ebb2', +'83441cec-b978-4c86-8f38-4990a6f801fa' +]; + +var cookie = 'eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiZGlyIn0..g_quklaTBObV8t_7.qBxGfwZJCSYacRTAgEjT5tew7Wu4TLfi--eMF3RMcQ6YNX4t4WvmAaMNzYZsM-1rxk_1d8MiToX5o28ze1PbYYzvpEFmHbq3moDYciAtBtAX4XYWpeRXcxEodNQPkEHobTxu2HlTdZ9PRIkoG0GQsHKlh1c7mVNNGiV9mh6uaC4khuww0E1XT95CJ1IbABesGJVMLKbxpfJZrVVIcB_d33G2tSdmgOI9hOIMLzxDd7a-rw_xof5pSO2IRKY7BR7deLvR7vnna0E1p7swr8rn0-Z7Oju6mEHVaiQFKhc5qSJ0bbyepaJK_423xbpebhPK3sha5cHcDQ.ZAJahhq0jywXXtsQJdIwAA' + // `hubspotutk=16a1a87aa2619d05a3b243465398afe2; __hssrc=1; __hs_opt_out=no; _gcl_au=1.1.257646006.1699627332; _mkto_trk=id:231-EAT-840&token:_mch-northpass.com-1699627331781-46572; _hjSessionUser_2417418=eyJpZCI6IjRkMzZhOWU5LWQxZTgtNTI3Zi1iMDZiLTk3YWJmODg4Y2U5NSIsImNyZWF0ZWQiOjE2ODk4Nzk2MTIwOTksImV4aXN0aW5nIjp0cnVlfQ==; _ga_GLWTVTSBVN=GS1.1.1704399186.8.0.1704399186.0.0.0; _ga_CVC1QXBD6E=GS1.1.1704473280.3.1.1704473575.0.0.0; _uetvid=a71a7b20272f11ee93daafc842aae189; _gid=GA1.2.172851114.1705960963; _session_id=038fdf4715fcf2d5e411eb2a9fce9a11; _hp2_id.2985201423=%7B%22userId%22%3A%225278871526655447%22%2C%22pageviewId%22%3A%222204775687357553%22%2C%22sessionId%22%3A%222222992091849759%22%2C%22identity%22%3A%2282c6547e-9cb3-45d1-8d83-4de2ce7018b4%22%2C%22trackerVersion%22%3A%224.0%22%2C%22identityField%22%3Anull%2C%22isIdentified%22%3A1%2C%22oldIdentity%22%3Anull%7D; _ga_DH1TXFX4G9=GS1.2.1706114711.39.1.1706114739.0.0.0; _ga_P9B5NN0FGB=GS1.1.1706123834.2.0.1706123836.0.0.0; _ga_330139028=GS1.1.1706129948.23.0.1706129948.0.0.0; _ga=GA1.2.152075138.1689879612; __hstc=14674344.16a1a87aa2619d05a3b243465398afe2.1699627329493.1706117544318.1706129948865.24; _ga_S72BKGGFGS=GS1.1.1706129948.25.1.1706129961.47.0.0` +var data = '_method=post&authenticity_token=AA3GSfHZL6b6oDcWy6tj4iAnwEOT2-w2EecsU4L6Sj_JCGnAbsw8NLHo739-6BRdgPB-q9hkOZR0fTt7iH0k9w' + +// { +// '_method': 'post', +// 'authenticity_token': 'LWBjOpig67H5%2FKaUsjcX2onIW3mYSyPwW3SXZqMlle8xOoR4trYX14pxlSaSoOuQMh4BNu4igpws%2B24B%2Bdd%2BXQ%3D%3D' +// } + +function wait(ms) { + return new Promise(r => setTimeout(r, ms)); +} + +function createScormCourses(scormUuids, num) { + let page = num; + axios({ + method: 'post', + url: 'https://app.northpass.com/media/' + scormUuids[page] + '/courses', + data: data, + headers: { + 'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', + 'content-type': 'application/x-www-form-urlencoded', + 'cookie': cookie + } + }) + .then(res => { + //console.log(res.data.links.next != null); + if (page < scormUuids.length) { + console.log(res.status + ' ' + scormUuids[page]) + page++; + wait(200) + createScormCourses(scormUuids, page) + } else { + + console.log("complete") + + } + //console.log(schoolGroups) + //return schoolGroups; + }) + .catch(err => { + console.log(err); + }); +}; + +createScormCourses(scormUuids, 0) diff --git a/Scripts/temp.py b/Scripts/temp.py new file mode 100644 index 00000000..a83e28c4 --- /dev/null +++ b/Scripts/temp.py @@ -0,0 +1,5 @@ +propslist = '["Anthology 101: Essential", "Anthology Student: Essential", "Power BI: Essential", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""]' +# propslist.split(',') +props = propslist.replace(']','').replace('[','').replace('"",','') +props2 = props.replace('"','') +print(props2) diff --git a/Todos.md b/Todos.md index 1120904c..2fa08641 100644 --- a/Todos.md +++ b/Todos.md @@ -82,7 +82,7 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th ## 03-01-2024 -- [ ] Ask Katie/KC for all the domain > account group mappings. +- [X] Ask Katie/KC for all the domain > account group mappings. - [ ] Look into Looker Reporting for Group Count, at least 1% in progress, etc - [ ] Report with Groups and Group Members Count - [X] Test ILTs without dates for more than 1 session. @@ -90,7 +90,7 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th ## 03-04-2024 - [X] Intro Dirk (DataSnipper) to Allyson -- [ ] Cin7 - End of Quiz Screen for Surveys - Activity: "Feature Course Survey", Message: "Thank you for your feedback." +- [X] Cin7 - End of Quiz Screen for Surveys - Activity: "Feature Course Survey", Message: "Thank you for your feedback." ## 03-05-2024 @@ -101,4 +101,8 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th ## 03-06-2024 - [ ] Begin project plan of moving Spark from Groups to Catalog. -- [ ] Create template of renewal exec check in for team. +- [X] Create template of renewal exec check in for team. + +## 03-07-2024 + +- [X] Intro Lindsey to Zenjob