diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_account_avatar.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_account_avatar.html.liquid new file mode 100644 index 00000000..d952af93 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_account_avatar.html.liquid @@ -0,0 +1,66 @@ +
+

{% t .description %}

+

{% t .requirements %}

+
+ + + + +
+
+ +
+ +
+ +
+
+ +
+
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_account_desktop_view.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_account_desktop_view.html.liquid new file mode 100644 index 00000000..8ae8599d --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_account_desktop_view.html.liquid @@ -0,0 +1,19 @@ +
+ + {% form_authenticity_token %} +
+
+
+ + +
+
+
+
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_account_form.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_account_form.html.liquid new file mode 100644 index 00000000..ddd264c2 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_account_mobile_view.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_account_mobile_view.html.liquid new file mode 100644 index 00000000..6ac8c007 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_account_mobile_view.html.liquid @@ -0,0 +1,17 @@ +
+ + {% form_authenticity_token %} +
+
+ {% render "account_form", form: form, version: "mobile" %} +
+
+
+
+ {% include "account_avatar", version: "mobile" %} +
+
+ +
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_cards_course.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_cards_course.html.liquid new file mode 100644 index 00000000..2e80204e --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_cards_course.html.liquid @@ -0,0 +1,54 @@ +{% capture course_path %} + {% route course, id: course.id %} +{% endcapture %} +
+
+
+
+
+
+
+
{{ course.properties.course_level }}
+ {% unless course.properties.course_length == 0 %} +
{{ course.properties.course_length }} minutes
+ {% endunless %} +
+
+ {{ course.name }} +
+ + {{ course.name }} + +
+ {{ course.short_description }} +
+ +
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_cards_learning_path.html.liquid new file mode 100644 index 00000000..424a81ab --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_cards_training_event.html.liquid new file mode 100644 index 00000000..d0e37234 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_cards_training_event.html.liquid @@ -0,0 +1,29 @@ +
+
+
+
+
{{ training_event.sessions.first.day }} {{ training_event.sessions.first.month | date: "%b" }}
+
{{ training_event.sessions.first.starts }}
+
+ {{ training_event.sessions.first.year }} + {{ training_event.sessions.first.time_zone }} +
+
+ {% if training_event.sessions.first.registered? %}
Registered
{% endif %} +
+
+ + {{ training_event.title }} + +
+ {{ training_event.description | strip_html }} +
+
+
+
{{ training_event.sessions.first.instructor }}
+ + {% t shared.view %} event + +
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_certificates_info_column.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_certificates_info_column.html.liquid new file mode 100644 index 00000000..61adfaba --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_certificates_info_column.html.liquid @@ -0,0 +1,4 @@ +
+ {% include "certificates_verification" %} + {% include "certificates_metadata" %} +
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_certificates_metadata.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_certificates_metadata.html.liquid new file mode 100644 index 00000000..9f4a1dba --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_certificates_metadata.html.liquid @@ -0,0 +1,59 @@ +
+
+ +
+ + {% if certificate.issuer_name_enabled? %} + +
+ {% endif %} + + +
+ +
+
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_certificates_preview.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_certificates_preview.html.liquid new file mode 100644 index 00000000..6357b621 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_certificates_preview.html.liquid @@ -0,0 +1,35 @@ + + +
+
+
+ +
+
+
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_certificates_top_bar.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_certificates_top_bar.html.liquid new file mode 100644 index 00000000..74a7ae41 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_certificates_verification.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_certificates_verification.html.liquid new file mode 100644 index 00000000..4fc19415 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_certificates_verification.html.liquid @@ -0,0 +1,15 @@ +
+
+
+ +
+
+

+ {{certificate.verification_title}} +

+

+ {{certificate.verification_description}} +

+
+
+
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_course_activity_locked.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_course_activity_locked.html.liquid new file mode 100644 index 00000000..386393d5 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_course_activity_locked.html.liquid @@ -0,0 +1,4 @@ + + + {{ activity.title }} + diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_course_activity_unlocked.html.liquid new file mode 100644 index 00000000..30c03305 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_course_categories.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_course_categories.html.liquid new file mode 100644 index 00000000..6cfe9010 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_course_description.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_course_description.html.liquid new file mode 100644 index 00000000..269f9216 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_course_desktop_view.html.liquid new file mode 100644 index 00000000..bfe5409a --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_course_desktop_view.html.liquid @@ -0,0 +1,38 @@ +
+
+ {% include "course_header" %} +
+
+
+
+ {{ course.name }} + {% include "course_outline" %} + {% 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" %} +
+
+
+
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_course_events.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_course_events.html.liquid new file mode 100644 index 00000000..5fa80eef --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_course_header.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_course_header.html.liquid new file mode 100644 index 00000000..fc4e1eb3 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_course_header.html.liquid @@ -0,0 +1,15 @@ +
+ {{ current_school.course_vocabulary }} + + +
+
+ + + +
+{{ course.name }} diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_course_instructors.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_course_instructors.html.liquid new file mode 100644 index 00000000..8b608928 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_course_mobile_view.html.liquid new file mode 100644 index 00000000..7f31ff35 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_course_outline.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_course_outline.html.liquid new file mode 100644 index 00000000..72f97e79 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_course_progress_and_cta.html.liquid new file mode 100644 index 00000000..8636843b --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_course_progress_and_cta.html.liquid @@ -0,0 +1,52 @@ +
+
+
+
{{ course.properties.course_level }}
+ {% unless course.properties.course_length == 0 %} +
{{ course.properties.course_length }} minutes
+ {% endunless %} +
+
+
+ {{ course.name }} +
+
+
+
+
+
{{course.progress}}%
+
+
+ +
+ {{ course.full_description }} +
+ +{% 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/DataSnipper Internal/_course_version_outdated_alert.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_course_version_outdated_alert.html.liquid new file mode 100644 index 00000000..03e245ab --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_course_version_outdated_alert.html.liquid @@ -0,0 +1,7 @@ +{% if courses.include_courses_to_restart? %} + +{% endif %} diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_course_version_outdated_popup.html.liquid new file mode 100644 index 00000000..71795884 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_course_version_outdated_popup.html.liquid @@ -0,0 +1,33 @@ +
+
+ + +
+
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_courses_catalog.html.liquid new file mode 100644 index 00000000..091f9a7c --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_courses_catalog.html.liquid @@ -0,0 +1,15 @@ +{% 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 %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_courses_index.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_courses_index.html.liquid new file mode 100644 index 00000000..a620c642 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_courses_index.html.liquid @@ -0,0 +1,20 @@ +{% if courses.enrolled.any? %} +
+ {% for course in courses.enrolled %} + {% assign course_categories = "" %} + {% for cat in course.categories %} + {% assign cat_name = cat.name | replace: " ", "-" | downcase %} + {% assign course_categories = course_categories | append: cat_name %} + {% endfor %} +
+ {% 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 %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_courses_zero_state.html.liquid new file mode 100644 index 00000000..26e371f7 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_courses_zero_state.html.liquid @@ -0,0 +1,6 @@ +
+
+ {{ message }} +
+ {{ message }} +
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_filter_checkbox.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_filter_checkbox.html.liquid new file mode 100644 index 00000000..5cbcbd07 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_filter_checkbox.html.liquid @@ -0,0 +1,10 @@ + + diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_filter_dropdown.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_filter_dropdown.html.liquid new file mode 100644 index 00000000..e7a954bb --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_filter_dropdown.html.liquid @@ -0,0 +1,33 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_filter_select.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_filter_select.html.liquid new file mode 100644 index 00000000..d006c0df --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_filter_select.html.liquid @@ -0,0 +1,22 @@ +{% if params.q %} + +{% endif %} + + + + diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_filter_sidebar_courses.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_filter_sidebar_courses.html.liquid new file mode 100644 index 00000000..07133f75 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_filter_sidebar_courses.html.liquid @@ -0,0 +1,133 @@ +{% assign enrolled_categories = categories.enrolled %} + +
+
+
What are you looking for?
+
+ {% for category in enrolled_categories %} +
+ +
+ {% endfor %} +
+
+
+
What is your learning style?
+
+
+
Reset all Filters
+
+ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_footer.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_footer.html.liquid new file mode 100644 index 00000000..d6463b38 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_footer.html.liquid @@ -0,0 +1,289 @@ + + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_function_update_event_timezone.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_function_update_event_timezone.html.liquid new file mode 100644 index 00000000..7513a9e1 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_function_update_event_timezone.html.liquid @@ -0,0 +1,40 @@ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_generic_tns_carousel.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_generic_tns_carousel.html.liquid new file mode 100644 index 00000000..b5d3e1ce --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_generic_tns_carousel.html.liquid @@ -0,0 +1,146 @@ + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_head.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_head.html.liquid new file mode 100644 index 00000000..91aeb073 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_head.html.liquid @@ -0,0 +1,15 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + + + + + + + +{% include 'generic_tns_carousel' %} +{% include 'function_update_event_timezone' %} diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_header.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_header.html.liquid new file mode 100644 index 00000000..330d513b --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_header.html.liquid @@ -0,0 +1,258 @@ + + +
+
+
+ {% 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 %} + +
+ +
+
+
+
+ +{% include "messages" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_header_minimal.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_header_minimal.html.liquid new file mode 100644 index 00000000..6b72cdb2 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_homepage_courses_carousel.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_homepage_courses_carousel.html.liquid new file mode 100644 index 00000000..f633546c --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_homepage_courses_carousel.html.liquid @@ -0,0 +1,47 @@ + + + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_homepage_section_my_courses.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_homepage_section_my_courses.html.liquid new file mode 100644 index 00000000..8bb60211 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_homepage_section_my_courses.html.liquid @@ -0,0 +1,76 @@ +
+
+
+
+
+ My Courses +
+
+ +
+ +
+ {% if courses.enrolled.any? %} + {% assign enrolled_courses = courses.enrolled | sort: "progress" %} + {% for course in enrolled_courses limit: 4 %} +
+ {% 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 %} +
+
+ +
+
+
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_homepage_section_upcoming_events.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_homepage_section_upcoming_events.html.liquid new file mode 100644 index 00000000..b13bc861 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_homepage_section_upcoming_events.html.liquid @@ -0,0 +1,99 @@ +{% assign events_to_hide = "Introduction to DataSnipper, Introduction to the Financial Statement Suite, Automation with DataSnipper, Welcome to the Financial Statement Suite, DataSnipper Tips & Tricks, DataSnipper Q&A, Financial Statement Suite Tips & Tricks" | split: ", " %} + +
+
+
+
+
+ Upcoming Events +
+
+ +
+ + +
+ +
+
+
+ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_homepage_section_welcome.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_homepage_section_welcome.html.liquid new file mode 100644 index 00000000..031388ed --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_homepage_section_welcome.html.liquid @@ -0,0 +1,48 @@ +
+
+
+
+
Welcome back, {{ current_person.first_name }}
+
{{ homepage.subheadline }}
+
+
+ + {% include "homepage_widgets" %} + +
+ +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_homepage_widgets.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_homepage_widgets.html.liquid new file mode 100644 index 00000000..35aff1fc --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_homepage_widgets.html.liquid @@ -0,0 +1,151 @@ +{% assign count_complete = 0 %} +{% assign count_in_progress = 0 %} +{% assign percent_in_progress = 0 %} +{% assign percent_completed = 0 %} +{% assign total_enrolled_courses = 0 %} + + +{% if courses.enrolled.any? %} + {% assign total_enrolled_courses = courses.enrolled | size | times: 1 %} + + {% for course in courses.enrolled %} + {% if course.completed? %} + {% assign count_complete = count_complete | plus: 1 %} + {% elsif course.started? %} + {% assign count_in_progress = count_in_progress | plus: 1 %} + {% endif %} + {% endfor %} + + {% assign percent_in_progress = count_in_progress | times: 100 | divided_by: total_enrolled_courses %} + {% assign percent_completed = count_complete | times: 100 | divided_by: total_enrolled_courses %} +{% endif %} + +
+
+
+
+
Courses in progress
+
+
+
+
+ {{ count_in_progress }}/{{ total_enrolled_courses }}
+
+
+
+
+
Courses completed
+
+
+
+
+ {{ count_complete }}/{{ total_enrolled_courses }}
+
+
+
+
+
Your Badges
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_learning_path_banners.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_learning_path_banners.html.liquid new file mode 100644 index 00000000..11a1810c --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_learning_path_certificate.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_learning_path_certificate.html.liquid new file mode 100644 index 00000000..3a282c5e --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_learning_path_certificate_content.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_learning_path_certificate_content.html.liquid new file mode 100644 index 00000000..3feafd59 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_learning_path_completed_banner.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_learning_path_completed_banner.html.liquid new file mode 100644 index 00000000..1c146f6e --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_learning_path_course.html.liquid new file mode 100644 index 00000000..5f7aff84 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_learning_path_description.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_learning_path_description.html.liquid new file mode 100644 index 00000000..6b1fb3a0 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_learning_path_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .about %} +

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

+ {% t .nothing_found %} +

+
+ {% t .empty %} +
+
+
+
+
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_section_datasnipper_expert.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_section_datasnipper_expert.html.liquid new file mode 100644 index 00000000..78b6ab32 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_section_datasnipper_expert.html.liquid @@ -0,0 +1,138 @@ +
+
+
+
+
Become a DataSnipper Expert
+
+
+
+
+
+
+ Knowledge Base +
+
+ Learn how to perform audit and finance use cases +
+ + Learn more + + +
+
+
+
+
+ Resources +
+
What's next on Intelligent Automation
+ + Learn more + + +
+
+
+
+
+ + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_sub_navigation.html.liquid new file mode 100644 index 00000000..b432c10b --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_sub_navigation.html.liquid @@ -0,0 +1,13 @@ + diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_training_events_dashboard.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_training_events_dashboard.html.liquid new file mode 100644 index 00000000..7aeb19ce --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_training_events_filter.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_training_events_filter.html.liquid new file mode 100644 index 00000000..d4892278 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_training_events_filter.html.liquid @@ -0,0 +1,53 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_training_events_index.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_training_events_index.html.liquid new file mode 100644 index 00000000..68c7b5c0 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_training_events_index.html.liquid @@ -0,0 +1,17 @@ +{% assign events_to_hide = "Introduction to DataSnipper, Introduction to the Financial Statement Suite, Automation with DataSnipper, Welcome to the Financial Statement Suite, DataSnipper Tips & Tricks, DataSnipper Q&A, Financial Statement Suite Tips & Tricks" | split: ", " %} + +
+ {% if training_events.available.any? %} +
+ {% for training_event in training_events.available %} + {% unless events_to_hide contains training_event.title %} +
+ {% include "cards_training_event" with training_event %} +
+ {% endunless %} + {% endfor %} +
+ {% else %} + {% include "training_events_zero_state" %} + {% endif %} +
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_training_events_zero_state.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_training_events_zero_state.html.liquid new file mode 100644 index 00000000..076b789e --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_training_events_zero_state.html.liquid @@ -0,0 +1,9 @@ +
+
+ {% t .empty %} +
+ {% t .empty %} +
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_calendars.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_calendars.html.liquid new file mode 100644 index 00000000..6c758b73 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_calendars.html.liquid @@ -0,0 +1,52 @@ + diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_cta.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_cta.html.liquid new file mode 100644 index 00000000..ce40348d --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_cta.html.liquid @@ -0,0 +1,49 @@ +{% if training_session.approved? or training_session.pending? %} +
+ + {% t .registered %} +
+{% 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/DataSnipper Internal/_training_session_date.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_date.html.liquid new file mode 100644 index 00000000..48694035 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_training_session_description.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_description.html.liquid new file mode 100644 index 00000000..73be4cf4 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .header %} +

+
+ {{ training_event.description }} +
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_desktop_view.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_desktop_view.html.liquid new file mode 100644 index 00000000..5c1abfec --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_training_session_details.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_details.html.liquid new file mode 100644 index 00000000..fdf567fe --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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 %} +
+ + + {{ training_session.session_url }} + +
+ {% endif %} +
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_header.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_header.html.liquid new file mode 100644 index 00000000..294db20e --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_header.html.liquid @@ -0,0 +1,29 @@ +
+ {% t shared.event_types + , key: training_event.event_type %} + +
+
+ + + + {{ training_event.title }} +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_mobile_view.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_mobile_view.html.liquid new file mode 100644 index 00000000..00455d4e --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_training_session_more_sessions.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_more_sessions.html.liquid new file mode 100644 index 00000000..6cfafa87 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/_training_session_tile.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/_training_session_tile.html.liquid new file mode 100644 index 00000000..e5ad8714 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/_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/DataSnipper Internal/account.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/account.html.liquid new file mode 100644 index 00000000..2ad5d917 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/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/DataSnipper Internal/auth_url_email.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/auth_url_email.html.liquid new file mode 100644 index 00000000..90e802f4 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/auth_url_email.html.liquid @@ -0,0 +1,91 @@ +
+
+ {% 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/DataSnipper Internal/auth_url_employee.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/auth_url_employee.html.liquid new file mode 100644 index 00000000..c8d8adf7 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/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/DataSnipper Internal/auth_url_phone_number.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/auth_url_phone_number.html.liquid new file mode 100644 index 00000000..aafae119 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/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/DataSnipper Internal/auth_url_terms.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/auth_url_terms.html.liquid new file mode 100644 index 00000000..a7087db2 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/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/DataSnipper Internal/catalog.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/catalog.html.liquid new file mode 100644 index 00000000..6917a2c2 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/catalog.html.liquid @@ -0,0 +1,23 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} +
+
+
+
{{ catalog.headline }}
+
{{ catalog.subheadline }}
+
+ {% capture label %} + {% t shared.filters.by_category %}{% endcapture %} + + {% comment %} {% if courses.in_catalog.any? %} + {% + include "filter_dropdown", + filters: courses.filters, + key: "category_uuid", + label: label + %} + {% endif %} {% endcomment %} +
+ {% include "courses_catalog" %} +
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/course.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/course.html.liquid new file mode 100644 index 00000000..f589974a --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/course.html.liquid @@ -0,0 +1,132 @@ +{% if course.enrolled? %} + +{% else %} + +{% endif %} + +{% include "header" %} +
+
+ {% include "course_desktop_view" %} +
+
+ {% include "course_mobile_view" %} +
+
+{% include "section_datasnipper_expert" %} +{% include "footer" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/courses.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/courses.html.liquid new file mode 100644 index 00000000..c273a11c --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/courses.html.liquid @@ -0,0 +1,72 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} +{% include "sub_navigation" %} +
+
+ My courses +
+ +
+
+ {% include "courses_index", class: "col-xs-12 col-md-6" %} +
+
+ {% include "filter_sidebar_courses" %} +
+ +
+ + + +
+{% include "section_datasnipper_expert" %} +{% include "footer" %} + + + +{% comment %} {% endcomment %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/dashboard.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/dashboard.html.liquid new file mode 100644 index 00000000..af72a4f8 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/dashboard.html.liquid @@ -0,0 +1,115 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} +{% include "sub_navigation" %} +
+ +
+
+
+ My Courses +
+ {% include "courses_index", class: "col-xs-12 col-md-6 col-lg-4 np-stretch-content" %} + +
+ Available Courses +
+ {% if courses.in_catalog.any? %} +
+ {% for course in courses.in_catalog %} + {% unless course.enrolled? %} +
+ {% include "cards_course" with course %} +
+ {% endunless %} + {% endfor %} +
+ {% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog + , key: current_school.course_vocabulary %} + {% endcapture %} + {% include "courses_zero_state", message: message %} + {% endif %} +
+ + {% if features.training_events? %} +
+
+
+ {% t .upcoming_events %} +
+ {% include "training_events_dashboard" %} +
+
+ {% endif %} +
+
+{% include "section_datasnipper_expert" %} +{% include "footer" %} + + + +{% comment %} {% endcomment %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/forgot_password.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/forgot_password.html.liquid new file mode 100644 index 00000000..3d65513f --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/forgot_password.html.liquid @@ -0,0 +1,25 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/homepage.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/homepage.html.liquid new file mode 100644 index 00000000..039459ba --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/homepage.html.liquid @@ -0,0 +1,11 @@ +{% include "header" %} +
+ {% include "homepage_section_welcome" %} + + {% include "homepage_section_upcoming_events" %} + {% include "homepage_section_my_courses" %} + + {% include "section_datasnipper_expert" %} + +
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/learning_path.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/learning_path.html.liquid new file mode 100644 index 00000000..5cbb5a93 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/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/DataSnipper Internal/learning_path_summary.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/learning_path_summary.html.liquid new file mode 100644 index 00000000..99ae32ed --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/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/DataSnipper Internal/learning_paths.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/learning_paths.html.liquid new file mode 100644 index 00000000..e6e10cba --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/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/DataSnipper Internal/login.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/login.html.liquid new file mode 100644 index 00000000..bde185dd --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/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/DataSnipper Internal/master.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/master.html.liquid new file mode 100644 index 00000000..63345068 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/master.html.liquid @@ -0,0 +1 @@ +{% body %} diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/not_found.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/not_found.html.liquid new file mode 100644 index 00000000..91c76e4b --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/not_found.html.liquid @@ -0,0 +1,10 @@ +
+ + +
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/private_certificate.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/private_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/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/DataSnipper Internal/public_certificate.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/public_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/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/DataSnipper Internal/reset_password.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/reset_password.html.liquid new file mode 100644 index 00000000..281c6eaa --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/reset_password.html.liquid @@ -0,0 +1,43 @@ +
+
+ {% include "header_minimal" %} +
+
+ + + {% form_authenticity_token %} +
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/search.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/search.html.liquid new file mode 100644 index 00000000..01684399 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/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/DataSnipper Internal/sign_up.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/sign_up.html.liquid new file mode 100644 index 00000000..7a903da4 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/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/DataSnipper Internal/styles.css.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/styles.css.liquid new file mode 100644 index 00000000..f7ed0831 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/styles.css.liquid @@ -0,0 +1,313 @@ +/* + 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 }} +*/ + +body { + font-family: "Jost", Arial, sans-serif; + color: #011638; +} + +.np-sub-navigation { + display: none; +} + +body, +.np-dashboard, +.np-learning-paths { + background-color: #011638; +} + +.np-button { + transition: all 0.2s; + border-radius: 6px; + padding: 10px 14px; + font-size: 16px; + font-weight: 600; + line-height: 24px; +} + +.np-button.np-button-white { + background-color: #fff; + color: #011638; +} + +.np-card-ribbon { + background-color: #01bfb2; +} + +.np-homepage { + margin-bottom: 0; +} + +.np-subpage-container { + padding-left: 16px; + padding-right: 16px; +} + +.np-card-container { + box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.12); + border-radius: 0; +} + +.np-card-image { + border-radius: 0; +} + +.np-resource-title, +.np-resource-subtitle { + color: #fff; +} + +.np-resource-title { + font-size: 32px; + font-weight: 600; + line-height: 40px; + letter-spacing: -0.4px; +} + +@media(min-width:768px) { + .np-subpage-container { + padding-left: 0; + padding-right: 0; + } + + .np-resource-title { + font-size: 40px; + line-height: 48px; + } +} + +/* INSTRUCTORS */ +.np-content-instructors-content-item { + display: flex; + align-items: center; + margin-bottom:12px; +} + +.np-content-instructors-content-image { + border-radius: 50% +} + +.np-content-instructors-content-description { + font-size: 14px; + font-weight: 600; + line-height: 20px; +} + +.np-card .np-content-instructors-content-image { + width: 40px; + height: 40px; +} + +/* COURSE CARDS */ +.np-card .np-card-container { + border-radius: 12px; + padding: 24px; + box-shadow: none; +} + +.course-card .np-progress-bar-container { + margin-bottom: 24px; + margin-top: 0; + height: 12px; + background-color: #E6E8EB; +} + +.course-card .np-progress-bar-container .np-card-progress-bar { + min-width: 12px; + height: 12px; + background-color: #0D21A1; +} + +.course-card .np-card-content-title { + margin: 16px 0 12px; + color: #011638; + font-size: 24px; + font-weight: 600; + line-height: 32px; + text-decoration: none; +} + +.course-card a.np-card-content-title:hover { + text-decoration: underline; +} + +.course-card .np-card-content-desc { + font-size: 16px; + font-weight: 400; + line-height: 24px; + color: #505C72; +} + +.course-info-wrapper, +.event-info-wrapper { + display: flex; + align-items: center; + margin-bottom: 16px; + justify-content:space-between; +} + +.course-info, +.event-info { + background-color: #E7E9F5; + color: #0D21A1; + border-radius: 8px; + padding: 4px; + font-size: 12px; + font-weight: 600; + line-height: 18px; + text-align: center; + display: flex; + align-items: center; +} + +.course-info-wrapper .course-level, +.event-info-wrapper .event-date { + border-radius: 6px; + background-color: #fff; + padding: 2px 8px; +} + +.course-info-wrapper .course-length, +.event-info-wrapper .event-time { + margin: 0 6px; +} + +.course-card .np-button { + margin-left: auto; +} + +@media(min-width:768px) { + .np-card { + height: 100%; + } + + .course-card .np-card-content-title { + font-size: 26px; + line-height: 34px; + } + + .np-content-instructors-content-item { + margin-right: 12px; + } + + .np-content-instructors-content-description { + margin-left: 8px; + } +} + +/* EVENTS CARDS */ +.training-event-card .np-card-content-training-event { + padding: 0; + height: 100%; + display: flex; + flex-direction: column; + justify-content: space-between; +} + +.training-event-card .np-card-content-title { + margin: 0 0 12px; + color: #011638; + font-size: 24px; + font-weight: 600; + line-height: 32px; + text-decoration:none; +} + +.training-event-card a.np-card-content-title:hover { + text-decoration: underline; +} + +.training-event-card .np-card-content-subtitle { + font-size: 16px; + font-style: normal; + font-weight: 400; + line-height: 24px; + color: #505C72; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 4; + overflow: hidden; + text-overflow: ellipsis; +} + +.training-event-card .np-card-content { + margin-top: 24px; + align-items: flex-end; + justify-content: space-between; +} + +.training-event-card .session-status-label { + font-size: 14px; + color: #01bfb2; + font-weight: 600; +} + +@media(min-width:768px) { + .training-event-card { + min-height:350px; + } + + .training-event-card .np-card-content-title { + font-size: 30px; + line-height: 38px; + } +} + +/* LEARNING PATH CARDS */ +.np-learning-path .np-card-content-title { + font-size: 24px; + font-weight: 600; + color: #011638; +} + +.np-learning-path .np-card-progress-bar-container, +.np-learning-path .np-card-progress-bar { + height:12px; +} + +/* SEARCH PAGE STYLES */ + +.np-resource-subtitle-number, +.np-resource-subtitle span.np-button-color { + color: #01bfb2 !important; + font-weight: 600 +} + +/* LEARNING PATH PAGE */ +.np-learning-path-outline-item, +#learning-path-desktop .np-resource-header-card, +#learning-path-desktop .np-top-cta, +#learning-path-mobile .np-top-cta, +#learning-path-mobile .np-card-container, +#learning-path-desktop .np-card-container { + border-radius:12px; +} + +#learning-path-mobile .np-resource-header .np-top-title, +#learning-path-mobile .np-resource-header .np-text-title { + color:#fff; +} + +.np-learning-path-outline-item { + background-color:#fff; + border:none; +} + +.np-learning-path-outline-name .np-top-title, +.np-top-cta-progress-title.np-text-title { + color:#011638; + font-weight:600; +} + +.np-learning-path-outline-icon { + color:#0d21a1; +} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/training_events.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/training_events.html.liquid new file mode 100644 index 00000000..fd04372c --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/training_events.html.liquid @@ -0,0 +1,25 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+
+ {% t.title %} +
+
+ {% t.subtitle %} +
+
+
+ {% include "training_events_filter" %} +
+
+ {% include "training_events_index" %} +
+{% include "footer" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/DataSnipper Internal/training_session.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/training_session.html.liquid new file mode 100644 index 00000000..c14efe42 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/training_session.html.liquid @@ -0,0 +1,114 @@ +{% 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/DataSnipper Internal/training_session_attendance.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/training_session_attendance.html.liquid new file mode 100644 index 00000000..71bb6119 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/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/DataSnipper Internal/unsubscribe.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/unsubscribe.html.liquid new file mode 100644 index 00000000..69a54028 --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/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/DataSnipper Internal/upcoming-trainings.html.liquid b/Custom_Templates/customer_templates/DataSnipper Internal/upcoming-trainings.html.liquid new file mode 100644 index 00000000..6b9f886e --- /dev/null +++ b/Custom_Templates/customer_templates/DataSnipper Internal/upcoming-trainings.html.liquid @@ -0,0 +1,163 @@ +{% assign events_to_show = "Introduction to DataSnipper, Introduction to the Financial Statement Suite, Automation with DataSnipper, Welcome to the Financial Statement Suite, DataSnipper Tips & Tricks, DataSnipper Q&A, Financial Statement Suite Tips & Tricks" | split: ", " %} + +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+
+ {{ custom_page.headline }} +
+
+ {{ custom_page.subheadline }} +
+
+
+
+
All
+
DataSnipper
+
Financial Statement Suite
+
Interactive Learning
+
+
+ {% if training_events.available.any? %} +
+ {% for training_event in training_events.available %} + {% if events_to_show contains training_event.title %} + + {% for session in training_event.sessions %} + {% assign session_date = session.year | append: "-" | append: session.month | append: "-" | append: session.day %} +
+
+
+
+
+
{{ session.day }} {{ session.month | date: "%b" }}
+
{{ session.starts }}
+
+ {{ session.year }} + {{ session.time_zone }} +
+
+ {% if session.registered? %} +
Registered + +
+ {% endif %} +
+
+ {{ training_event.title | strip }} +
+ {{ training_event.description | strip_html }} +
+
+
+
{{ session.instructor }}
+ + {% t shared.view %} event + +
+
+
+
+ {% endfor %} + {% endif %} + {% endfor %} +
+ {% else %} + {% include "training_events_zero_state" %} + {% endif %} +
+ +
+{% include "footer" %} + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Mizuno Golf/_sign-up-follow-up-dropdown.html.liquid b/Custom_Templates/customer_templates/Mizuno Golf/_sign-up-follow-up-dropdown.html.liquid index 1d015f1e..205dc175 100644 --- a/Custom_Templates/customer_templates/Mizuno Golf/_sign-up-follow-up-dropdown.html.liquid +++ b/Custom_Templates/customer_templates/Mizuno Golf/_sign-up-follow-up-dropdown.html.liquid @@ -19,14 +19,12 @@ - - @@ -36,8 +34,12 @@ - + + + + + diff --git a/Custom_Templates/customer_templates/Mizuno Golf/sign-up-follow-up-dropdown.html.liquid b/Custom_Templates/customer_templates/Mizuno Golf/sign-up-follow-up-dropdown.html.liquid index 70e4b942..6475d2d7 100644 --- a/Custom_Templates/customer_templates/Mizuno Golf/sign-up-follow-up-dropdown.html.liquid +++ b/Custom_Templates/customer_templates/Mizuno Golf/sign-up-follow-up-dropdown.html.liquid @@ -18,13 +18,11 @@ - - @@ -36,8 +34,14 @@ - + + + + + + + diff --git a/Scripts/GAS_GS/AnthologyCSV-Parse-Prod/MasterCSV_Parser.js b/Scripts/GAS_GS/AnthologyCSV-Parse-Prod/MasterCSV_Parser.js index fdc1e90b..5c245d3d 100644 --- a/Scripts/GAS_GS/AnthologyCSV-Parse-Prod/MasterCSV_Parser.js +++ b/Scripts/GAS_GS/AnthologyCSV-Parse-Prod/MasterCSV_Parser.js @@ -11,7 +11,6 @@ function newTrigger() { async function prepareSheet() { var ss = SpreadsheetApp.openByUrl('https://docs.google.com/spreadsheets/d/1Kck1UUOkVIU4kbBC8b_bl77fNaCTSFStiv0I5Gg-kIc/'); sheet = ss.getActiveSheet(); - sheet = ss.getActiveSheet(); lastRow = sheet.getLastRow(); sheet.clear() sheet.getRange(1,1).setValue("domain"); @@ -21,7 +20,7 @@ async function prepareSheet() { } function readLog() { - //var previousLast = 0 + var previousLast = 0 var folder = DriveApp.getFolderById("1nAkWPYFNpRx-UZECMJN4C3N--i0Clcho") var files = folder.getFiles() while (files.hasNext()) { @@ -80,7 +79,8 @@ function main(previousLast) { var updated_blob = updated_file.getDataAsString(); var updated_data = Utilities.parseCsv(updated_blob, ','); //var updated_data = updated_data.slice(previousLast); - var full_data = Utilities.parseCsv(updated_data, ','); + var full_data = Utilities.parseCsv(updated_blob, ','); + fullParse(full_data, previousLast); //var full_data = full_data.slice(previousLast) } else if (date != fileDateFormatted) { var outdated_file = file.getBlob() @@ -89,8 +89,7 @@ function main(previousLast) { //var outdated_data = outdated_data.slice(previousLast); } } - austinComparseData(outdated_data, updated_data); - fullParse(full_data); + //austinComparseData(outdated_data, updated_data); moveOldFiles(); } @@ -186,14 +185,35 @@ function updatedDomainsOnly(domains_to_update) { } } } + replaceOnSheet(array); const dom = array.shift(); const groups = array; sendWebhook({domain_to_update : { domain: dom, group_ids: groups }}) } } -function fullParse(full_data) { - for (var x = 1; x < full_data.length; x++) { +function replaceOnSheet(array) { + Logger.log("Replace On Sheet with this array: "+array) + var ss = SpreadsheetApp.openByUrl('https://docs.google.com/spreadsheets/d/1Kck1UUOkVIU4kbBC8b_bl77fNaCTSFStiv0I5Gg-kIc/'); + var sheet = ss.getActiveSheet() + var dataRow = Math.max(sheet.getLastRow(),1); + var column = 0; //column Index + var columnValues = sheet.getRange(2, column, dataRow).getValues(); //1st is header row + + const dom = array.shift(); + const groups = array; + var searchResult = columnValues.findIndex(dom); //Row Index - 2 + Logger.log(searchResult) + + if(searchResult != -1) + { + //searchResult + 2 is row index. + //SpreadsheetApp.getActiveSpreadsheet().setActiveRange(sheet.getRange(searchResult + 2, 1)) + } +} + +function fullParse(full_data, previousLast) { + for (var x = 2220; x < full_data.length; x++) { var array = full_data[x]; for (var i = 1; i < array.length; i++) { var item = array[i] @@ -222,7 +242,7 @@ function fullParse(full_data) { const dom = array.shift(); const groups = array; previousLast++ - Logger.log(previousLast) + Logger.log("PrevLast: "+previousLast) updateLog(previousLast) writeDataToSheet(dom, groups) } @@ -230,12 +250,15 @@ function fullParse(full_data) { //Inserts a new sheet and writes a 2D array of data in it function writeDataToSheet(dom, groups) { + Logger.log("Domain: "+dom+"and groups: "+groups) var ss = SpreadsheetApp.openByUrl('https://docs.google.com/spreadsheets/d/1Kck1UUOkVIU4kbBC8b_bl77fNaCTSFStiv0I5Gg-kIc/'); + var sheet = ss.getActiveSheet() var dataRow = Math.max(sheet.getLastRow(),1); - sheet.insertRowAfter(dataRow); - sheet.getRange(dataRow + 1, 1).setValue(dom); - for (var g = 1; g < groups.length; g++) { - sheet.getRange(dataRow + 1, g+1).setValue(groups[g]); + Logger.log(dataRow); + sheet.insertRowAfter(dataRow+1); + sheet.getRange(dataRow+1, 1).setValue(dom); + for (var g = 0; g < groups.length; g++) { + sheet.getRange(dataRow+1, g+2).setValue(groups[g]); } } diff --git a/Scripts/GAS_NP/WCA_Webhook/Code.js b/Scripts/GAS_NP/WCA_Webhook/Code.js index 0383c57a..c8979f1b 100644 --- a/Scripts/GAS_NP/WCA_Webhook/Code.js +++ b/Scripts/GAS_NP/WCA_Webhook/Code.js @@ -28,7 +28,7 @@ function doPost(e) { var dateCompleted = params.substring(params.indexOf('"updated_at":"') + 4, params.lastIndexOf('"activated_at"')); dateCompleted = dateCompleted.slice(dateCompleted.indexOf('"') + 3, dateCompleted.lastIndexOf('"'),); //Logger.log("Completed on = " + dateCompleted); - + var sheet = SpreadsheetApp.getActiveSheet(); var lastRow = Math.max(sheet.getLastRow(),1);