From b526e92bfc2fad5b8869e4f260d1a9ab83999969 Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Fri, 16 Jun 2023 16:13:44 -0400 Subject: [PATCH] small script changes. Updates to G2's modal popup. --- .../G2/_modal_popup.html.liquid | 15 +- .../G2/homepage.html.liquid | 2 +- .../customer_templates/Skuid/.DS_Store | Bin 0 -> 6148 bytes .../Skuid/_account_desktop_view.html.liquid | 19 + .../Skuid/_account_form.html.liquid | 131 +++ .../Skuid/_account_mobile_view.html.liquid | 17 + .../Skuid/_cards_featured_course.html.liquid | 102 +++ .../Skuid/_cards_training_event.html.liquid | 51 ++ .../Skuid/_carousel_courses.html.liquid | 62 ++ .../Skuid/_carousel_events.html.liquid | 37 + .../Skuid/_carousel_instructors.html.liquid | 136 +++ .../Skuid/_course_activity_locked.html.liquid | 4 + .../Skuid/_course_banner.html.liquid | 21 + .../Skuid/_course_desktop_view.html.liquid | 60 ++ .../Skuid/_course_details.html.liquid | 34 + .../Skuid/_course_details_review.html.liquid | 60 ++ .../Skuid/_course_outline.html.liquid | 38 + .../Skuid/_custom_header.html.liquid | 124 +++ .../Skuid/_filter_by_progress.html.liquid | 112 +++ .../Skuid/_footer.html.liquid | 33 +- .../Skuid/_head.html.liquid | 2 + .../Skuid/_header.html.liquid | 4 +- .../Skuid/_header_minimal.html.liquid | 17 + .../Skuid/_modified_header.html.liquid | 148 +++ .../Skuid/_section_faqs.html.liquid | 106 +++ .../Skuid/_section_popular_topics.html.liquid | 26 + .../Skuid/_section_tips_tricks.html.liquid | 76 ++ .../Skuid/_sub_navigation.html.liquid | 19 +- .../Skuid/_training_session_cta.html.liquid | 61 ++ .../Skuid/_training_session_date.html.liquid | 14 + .../_training_session_description.html.liquid | 6 + .../_training_session_details.html.liquid | 24 + .../_training_session_header.html.liquid | 10 + .../Skuid/account.html.liquid | 41 +- .../Skuid/auth_url_email.html.liquid | 101 ++ .../Skuid/certification.html.liquid | 864 ++++++++++++++++++ .../Skuid/course.html.liquid | 21 +- .../Skuid/homepage.html.liquid | 120 +++ .../Skuid/server_error.html.liquid | 12 + .../Skuid/sign-up-follow-up.html.liquid | 32 +- .../Skuid/sign_up.html.liquid | 69 +- .../Skuid/styles.css.liquid | 4 +- Scripts/API_Tests/accredible-create.py | 4 - 43 files changed, 2796 insertions(+), 43 deletions(-) create mode 100644 Custom_Templates/customer_templates/Skuid/.DS_Store create mode 100644 Custom_Templates/customer_templates/Skuid/_account_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_account_form.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_account_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_cards_featured_course.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_cards_training_event.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_carousel_courses.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_carousel_events.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_carousel_instructors.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_course_activity_locked.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_course_banner.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_course_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_course_details.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_course_details_review.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_course_outline.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_custom_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_filter_by_progress.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_header_minimal.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_modified_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_section_faqs.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_section_popular_topics.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_section_tips_tricks.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_training_session_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_training_session_date.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_training_session_description.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_training_session_details.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/_training_session_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/auth_url_email.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/certification.html.liquid create mode 100644 Custom_Templates/customer_templates/Skuid/server_error.html.liquid diff --git a/Custom_Templates/customer_templates/G2/_modal_popup.html.liquid b/Custom_Templates/customer_templates/G2/_modal_popup.html.liquid index 7767d470..4a9a716a 100644 --- a/Custom_Templates/customer_templates/G2/_modal_popup.html.liquid +++ b/Custom_Templates/customer_templates/G2/_modal_popup.html.liquid @@ -1,9 +1,13 @@ @@ -30,9 +34,9 @@ @@ -62,6 +66,10 @@ + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Skuid/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/Skuid/_cards_training_event.html.liquid new file mode 100644 index 00000000..02a10967 --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_cards_training_event.html.liquid @@ -0,0 +1,51 @@ +{% comment %}
{% endcomment %} +
+
+
+

+ {{ training_event.title }} +

+
+ {% t shared.event_types, key: training_event.event_type %} +
+
+ +
+
+
+ {{ training_event.sessions.first.month }} +
+
+ {{ training_event.sessions.first.year }} +
+
+
+ {% if training_event.sessions.first.day < 10 %}0{% endif %}{{ training_event.sessions.first.day }} +
+
+
+
+
+
+
+ + {% t .sessions, count: training_event.sessions.size %} + + {% comment %}{% endcomment %} + + {% t shared.view %} + +
+
+
+
diff --git a/Custom_Templates/customer_templates/Skuid/_carousel_courses.html.liquid b/Custom_Templates/customer_templates/Skuid/_carousel_courses.html.liquid new file mode 100644 index 00000000..31cde206 --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_carousel_courses.html.liquid @@ -0,0 +1,62 @@ +{% assign topic_classname = topic | split: " " %} + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Skuid/_carousel_events.html.liquid b/Custom_Templates/customer_templates/Skuid/_carousel_events.html.liquid new file mode 100644 index 00000000..ab5b3388 --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_carousel_events.html.liquid @@ -0,0 +1,37 @@ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Skuid/_carousel_instructors.html.liquid b/Custom_Templates/customer_templates/Skuid/_carousel_instructors.html.liquid new file mode 100644 index 00000000..8baf680f --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_carousel_instructors.html.liquid @@ -0,0 +1,136 @@ +{% assign used_instructor_names = "" %} + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Skuid/_course_activity_locked.html.liquid b/Custom_Templates/customer_templates/Skuid/_course_activity_locked.html.liquid new file mode 100644 index 00000000..0e21bb94 --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_course_activity_locked.html.liquid @@ -0,0 +1,4 @@ +{% comment %} {% endcomment %} + + {{ activity.title }} + diff --git a/Custom_Templates/customer_templates/Skuid/_course_banner.html.liquid b/Custom_Templates/customer_templates/Skuid/_course_banner.html.liquid new file mode 100644 index 00000000..c0176227 --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_course_banner.html.liquid @@ -0,0 +1,21 @@ +
+
+ {{ course.name }} +
+
{{ course.name }}
+ {%- comment -%} {% include "course_details_review" %} {%- endcomment -%} +
+
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Skuid/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Skuid/_course_desktop_view.html.liquid new file mode 100644 index 00000000..c17058d7 --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_course_desktop_view.html.liquid @@ -0,0 +1,60 @@ +
+
+ {% include "course_banner" %} +
+ {% include "course_description" %} + + {% comment %} {% if course.categories.any? %} +
+ {% include "course_categories" %} +
+ {% endif %} {% endcomment %} + + {% if course.instructors.any? %} +
+ {% include "course_instructors" %} +
+ {% endif %} + + {% if course.events.any? %} +
+ {% include "course_events" %} +
+ {% endif %} +
+
+
+ {% include "course_progress_and_cta" %} +
+ {% include "course_outline" %} +
+
+
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Skuid/_course_details.html.liquid b/Custom_Templates/customer_templates/Skuid/_course_details.html.liquid new file mode 100644 index 00000000..3d353e17 --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_course_details.html.liquid @@ -0,0 +1,34 @@ +{% 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 %} + +
+
+ {{ activities_count }} + + {% if activities_count == 1 %}Activity{% else %}Activities{% endif %} + +
+
+ {% if course.properties.course_time contains 'missing property' %} + missing property: course.properties.course_time + {% else %} + {% if course.properties.course_time %} + {% if course.properties.course_time > 0 %} + {{course.properties.course_time}} minsDuration + {% else %} +
   
+ {% endif %} + {% endif %} + {% endif %} +
+
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Skuid/_course_details_review.html.liquid b/Custom_Templates/customer_templates/Skuid/_course_details_review.html.liquid new file mode 100644 index 00000000..cbfbea2b --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_course_details_review.html.liquid @@ -0,0 +1,60 @@ +{% 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 %} + +
+
+ {{ activities_count }} + + {% if activities_count == 1 %}Activity{% else %}Activities{% endif %} + +
+
+ {% if course.properties.course_time contains 'missing property' %} + missing property: course.properties.course_time + {% else %} + {% if course.properties.course_time %} + {% if course.properties.course_time > 0 %} + {{course.properties.course_time}} minsDuration + {% else %} +
   
+ {% endif %} + {% endif %} + {% endif %} +
+ {% comment %}
+
+ {% for i in (1..5) %} + {% if course.properties.course_rating >= i %} + + + + {% else %} + + + + {% endif %} + {% endfor %} +
+ + {{course.properties.course_rating}}
({{course.properties.course_rating_count}})
+
+
{% endcomment %} +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Skuid/_course_outline.html.liquid b/Custom_Templates/customer_templates/Skuid/_course_outline.html.liquid new file mode 100644 index 00000000..34361a1d --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_course_outline.html.liquid @@ -0,0 +1,38 @@ +
+
+ {% 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/Skuid/_custom_header.html.liquid b/Custom_Templates/customer_templates/Skuid/_custom_header.html.liquid new file mode 100644 index 00000000..59da4836 --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_custom_header.html.liquid @@ -0,0 +1,124 @@ +
+
+
+ {% 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 %} +
+ \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Skuid/_filter_by_progress.html.liquid b/Custom_Templates/customer_templates/Skuid/_filter_by_progress.html.liquid new file mode 100644 index 00000000..a0426dfa --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_filter_by_progress.html.liquid @@ -0,0 +1,112 @@ +{% assign topic_classname = topic | split: " " %} + +
+ {% if label %} +
{{ label }}
+ {% endif %} +
+ +
+
+ + + diff --git a/Custom_Templates/customer_templates/Skuid/_footer.html.liquid b/Custom_Templates/customer_templates/Skuid/_footer.html.liquid index 3531fbfd..5c4eda6e 100644 --- a/Custom_Templates/customer_templates/Skuid/_footer.html.liquid +++ b/Custom_Templates/customer_templates/Skuid/_footer.html.liquid @@ -3,7 +3,11 @@
Terms of Use | Privacy Policy + Terms of Use | Privacy Policy + + + Can we help you? Contact us at training@skuid.com +
{% endif %} {% endfor %} + {%- comment -%}
+ + + Certification + +
{%- endcomment -%} - \ No newline at end of file + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Skuid/_training_session_cta.html.liquid b/Custom_Templates/customer_templates/Skuid/_training_session_cta.html.liquid new file mode 100644 index 00000000..91cdb885 --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_training_session_cta.html.liquid @@ -0,0 +1,61 @@ +{% 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 %} +
+
+
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Skuid/_training_session_date.html.liquid b/Custom_Templates/customer_templates/Skuid/_training_session_date.html.liquid new file mode 100644 index 00000000..7963ec43 --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_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/Skuid/_training_session_description.html.liquid b/Custom_Templates/customer_templates/Skuid/_training_session_description.html.liquid new file mode 100644 index 00000000..bc95c88c --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_training_session_description.html.liquid @@ -0,0 +1,6 @@ +{%comment%}

+ {% t .header %} +

{%endcomment%} +
+ {{ training_event.description }} +
diff --git a/Custom_Templates/customer_templates/Skuid/_training_session_details.html.liquid b/Custom_Templates/customer_templates/Skuid/_training_session_details.html.liquid new file mode 100644 index 00000000..980a6bbf --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_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/Skuid/_training_session_header.html.liquid b/Custom_Templates/customer_templates/Skuid/_training_session_header.html.liquid new file mode 100644 index 00000000..daee98b5 --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/_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/Skuid/account.html.liquid b/Custom_Templates/customer_templates/Skuid/account.html.liquid index a3a81864..9939b607 100644 --- a/Custom_Templates/customer_templates/Skuid/account.html.liquid +++ b/Custom_Templates/customer_templates/Skuid/account.html.liquid @@ -81,4 +81,43 @@ } } - \ No newline at end of file + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Skuid/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Skuid/auth_url_email.html.liquid new file mode 100644 index 00000000..bd3e99da --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/auth_url_email.html.liquid @@ -0,0 +1,101 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ {% t shared.welcome_to_school, school_name: current_school.name %} +
+
+ {% t .headline, key: current_school.course_vocabulary %} +
+
+ + +
+
+ + +
+
+ + +
+ + +
+
+
+
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Skuid/certification.html.liquid b/Custom_Templates/customer_templates/Skuid/certification.html.liquid new file mode 100644 index 00000000..0e2cfd32 --- /dev/null +++ b/Custom_Templates/customer_templates/Skuid/certification.html.liquid @@ -0,0 +1,864 @@ +{% comment %} skip-auth {% endcomment %} +{% include "header" %} +
+ {% if current_person.signed_in? %} +
+ {% include "sub_navigation" %} +
+ {% endif %} + + {%- comment -%} {% if current_person.email == 'alexa.taylor+1+preview-3hy5ulxxu@skuid.com' %} +
Call Webhook
+ {% endif %} {%- endcomment -%} + + +
+ {% comment %}================================================ REGISTRATION HEADER ============================================={% endcomment %} + + {%- comment -%}
Register Now
{%- endcomment -%} + + {% comment %}=================================================== TEXT HEADER ==================================================={% endcomment %} + + {%- comment -%}
Skuid Certification Registration
{%- endcomment -%} + + {% comment %}================================================= HEADER BUBBLES ==================================================={% endcomment %} + {% if current_person.properties.cert_status == 'Default' %} +
+
Skuid Certification Registration
+
+ {% else %} +
+
GET STARTED
+
EXAM PREP
+
EXAM PENDING
+
+ {% if current_person.properties.cert_status == 'Pass' or current_person.properties.cert_status == 'Fail' %} + {{current_person.properties.cert_status}} + {% else %} + COMPLETION STATUS + {% endif %} +
+
+ {% endif %} + + {% comment %}=========================================== CERTIFICATION REGISTRATION =============================================={% endcomment %} + + {% if current_person.properties.cert_status == 'Default' %} +
+
Ready to be Skuid Certified?
+
+
The Skuid - Certified Builder Exam assumes knowledge in topics from Level 1, Level 2, Deploy and Manage Skuid Apps in Salesforce, and the Explore More learning paths within Skuid Skool.
+
+
Click below to register for your exam.
+ + **Important: Please make sure you use the same email that you are using in Skuid Skool. If you don't, you may not be able to take the exam or get credit for the certification. + +
+ +
+ I have read and understand the Skuid Terms and Agreements* +
+ +
+ + +
+ + exam-registration-image + +
+ {% endif %} + + + {% comment %}================================================ EXAM PREP ==================================================={% endcomment %} + + {% if current_person.properties.cert_status == 'Registered' or current_person.properties.cert_status == 'Exists-qm' %} + + {%- comment -%} {% assign render_practice = true %} + {% if courses.enrolled.any? and courses.in_catalog.any? %} + {% for course in courses.enrolled %} + {% if course.id == '3500821c-4b76-4155-a714-2947dc1b8d0c' or course.id == '10eeed9b-a5b8-446d-8023-2d109766fda6' %} + {% if course.completed? %} + {% assign render_practice = false %} + {% endif %} + {% endif %} + {% endfor %} + + {% for course in courses.in_catalog %} + {% if course.id == '3500821c-4b76-4155-a714-2947dc1b8d0c' or course.id == '10eeed9b-a5b8-446d-8023-2d109766fda6' %} + {% if course.completed? %} + {% assign render_practice = false %} + {% endif %} + {% endif %} + {% endfor %} + {% endif %} {%- endcomment -%} + +
+
Skuid Certification Exam Prep
+
Prep, practice, or schedule you exam.
+ +
+ {%- comment -%} {% if render_practice == true %}{% endif %} {%- endcomment -%} +
+ Prep Guide +
+ View courses, documentation, and other resources to prep for the certification exam. +
+
+
+ Practice Exam +
+ Take a practice exam to test what you've learned. +
+
+ {%- comment -%} {% endif %} {%- endcomment -%} + {% if current_person.properties.cert_status == 'Registered' %} +
+ Exam Not Ready +
+ This button will activate when you've received your exam confirmation email +
+
+ {% elsif current_person.properties.cert_status == 'Exists-qm' %} +
+ Take Exam +
+ Ready? Take your exam to become certified. +
+
+ {% endif %} +
+
+ + {% endif %} + + {% comment %}============================================== PASSED ========================================================{% endcomment %} + + {% if current_person.properties.cert_status == 'Pass' %} +
+ exam-passed-background + + +
+ {% endif %} + + {% comment %}=============================================== FAILED ======================================================{% endcomment %} + + {% if current_person.properties.cert_status == 'Fail' %} +
+
Exam failed.
+
+ If you'd like to try again, certification@skuid.com. +
+ {%- comment -%} Register to retake the exam {%- endcomment -%} +
+ {% endif %} + + {% comment %}============================================= CERTIFIED (UNUSED)======================================================{% endcomment %} + + {%- comment -%}
+ cert-recert-background +
+
Recertification is due on 1/1/2024
+ Download Certificate +
+ +
{%- endcomment -%} + + {%- comment -%}
+
Congratulations you're certified!
+
Recertification is due on 1/1/2024
+ + Download Certificate +
{%- endcomment -%} + + {% comment %}============================================ RECERTIFIED (UNUSED)====================================================={% endcomment %} + + {%- comment -%}
+
Time for your recertification!
+
Recertification is due on 1/1/2024
+ + Get recertified +
{%- endcomment -%} +
+
+{% include "footer" %} + + + + + + + +{%- comment -%} UNUSED ELEMENTS {%- endcomment -%} + +{% comment %}=================================================== IFRAME (REMOVE) =========================================================={% endcomment %} + +{%- comment -%} {%- endcomment -%} + +{% comment %}============================================ EXAM NOT STARTED (UNUSED)=================================================={% endcomment %} + +{%- comment -%}
+
Exam not started
+
See email for instructions or schedule your exam below
+ +
+ Schedule Exam +
+ Ready? Schedule your exam to become certified. +
+
+
{%- endcomment -%} + +{% comment %}============================================ EXAM COMPLETE ===================================================={% endcomment %} + +{%- comment -%}
Exam complete
+
Results are still qm_created. Check back in 10 business days from your exam date.
{%- endcomment -%} + +{%- comment -%}
+ exam-complete-background +
{%- endcomment -%} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Skuid/course.html.liquid b/Custom_Templates/customer_templates/Skuid/course.html.liquid index 1e5c7b2e..85051fee 100644 --- a/Custom_Templates/customer_templates/Skuid/course.html.liquid +++ b/Custom_Templates/customer_templates/Skuid/course.html.liquid @@ -17,6 +17,7 @@ $(document).ready(function () { setLastViewedCourse(); + addTargetBlankToLinksInCourseDescription(); }); function setLastViewedCourse() { @@ -26,7 +27,7 @@ }; $.ajax({ type: 'POST', - url: 'https://www.workato.com/webhooks/rest/bd1a1eb7-7e79-4208-a1db-8e9c7440bcc9/course-viewed', //workato link + url: 'https://www.workato.com/webhooks/rest/bd1a1eb7-7e79-4208-a1db-8e9c7440bcc9/course-viewed', //workato link data: JSON.stringify(data), success: function (data) { console.log(data); @@ -38,10 +39,28 @@ }); } + function addTargetBlankToLinksInCourseDescription() { + let rte = document.getElementsByClassName("np-card-text")[0]; + let links; + + if (rte) { + links = rte.querySelectorAll("a"); + if (links) { + for (i = 0; i < links.length; i++) { + links[i].setAttribute("target", "_blank"); + } + } + } + } \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Skuid/homepage.html.liquid b/Custom_Templates/customer_templates/Skuid/homepage.html.liquid index ae8228ba..631d310e 100644 --- a/Custom_Templates/customer_templates/Skuid/homepage.html.liquid +++ b/Custom_Templates/customer_templates/Skuid/homepage.html.liquid @@ -43,6 +43,34 @@ {% endif %} {% unless current_person.signed_in? %} + +
+ + +
+ + +
+ + + +
+ + +
{% include 'learning_paths_collection' %}
@@ -172,6 +200,98 @@