diff --git a/Custom_Templates/customer_templates/BuilderTrend External/_header.html.liquid b/Custom_Templates/customer_templates/BuilderTrend External/_header.html.liquid index f3a15d3c..2f89ce11 100644 --- a/Custom_Templates/customer_templates/BuilderTrend External/_header.html.liquid +++ b/Custom_Templates/customer_templates/BuilderTrend External/_header.html.liquid @@ -151,7 +151,7 @@ height="0" width="0" style="display:none;visibility:hidden"> } .np-header-font-background-color { background: #ffffff; - + } .fa-search:before { content: "\f002"; @@ -160,4 +160,4 @@ height="0" width="0" style="display:none;visibility:hidden"> .np-header-avatar-button { width: 50px; } - \ No newline at end of file + diff --git a/Custom_Templates/customer_templates/BuilderTrend External/_main_hero_masthead.html.liquid b/Custom_Templates/customer_templates/BuilderTrend External/_main_hero_masthead.html.liquid index 00dc6e1a..a3bef40a 100644 --- a/Custom_Templates/customer_templates/BuilderTrend External/_main_hero_masthead.html.liquid +++ b/Custom_Templates/customer_templates/BuilderTrend External/_main_hero_masthead.html.liquid @@ -8,10 +8,10 @@
{{ homepage.subheadline }} - +
- Take a quiz to help guide your education   + Take a quiz to help guide your education  
@@ -27,7 +27,7 @@
- {% else %} + {% else %}
@@ -40,7 +40,7 @@ \ No newline at end of file + diff --git a/Custom_Templates/customer_templates/BuilderTrend External/_popup_additional_info.html.liquid b/Custom_Templates/customer_templates/BuilderTrend External/_popup_additional_info.html.liquid index 6a5d1da9..ffabf4c4 100644 --- a/Custom_Templates/customer_templates/BuilderTrend External/_popup_additional_info.html.liquid +++ b/Custom_Templates/customer_templates/BuilderTrend External/_popup_additional_info.html.liquid @@ -30,12 +30,12 @@
1. How do you typically interact with Buildertrend?
-
+
-
+
- +
In the office using the desktop version
@@ -43,7 +43,7 @@
- +
In the field using the mobile app
@@ -51,23 +51,23 @@
- +
In the field using the web browser (.net)
- +
I use a combination of mobile app and desktop
- -
+
@@ -85,12 +85,12 @@
2. How do you typically engage with your company's financials?
-
+
- +
I handle accounting integration and bookkeeping
@@ -98,7 +98,7 @@
- +
I create estimates and manage the project budget
@@ -106,24 +106,24 @@
- +
I oversee project expenses
- +
I do not interact with the financials
- -
@@ -142,12 +142,12 @@
3. How do you typically engage with project management?
-
+
- +
I build and manage project schedule and oversee operations
@@ -155,7 +155,7 @@
- +
I collaborate with homeowners on project design and communication
@@ -163,29 +163,29 @@
- +
I work in the field and manage my own time and tasks
- +
I do not engage with project management
- -
- + - + @@ -193,7 +193,7 @@ $(document).ready(function(){ //blinker(); - + }); @@ -215,7 +215,7 @@ $(document).ready(function(){ { console.log(errorElement) $(errorElement).show() - + event.stopImmediatePropagation(); return; } @@ -262,7 +262,7 @@ function submitAnswers() { let userData = { "uuid": '{{current_person.id}}', - "answers": strSelectedAnswers + "answers": strSelectedAnswers } @@ -291,14 +291,10 @@ function submitAnswers() { method: 'POST', success: function (res) { console.log(res) - setTimeout(function () { - document.querySelector(".info-form-trigger").click() - }, 1000) - window.location.reload(); $("body").removeClass("body_overlay"); $("#myloading").remove(); //hitEscapeKey(); - + }, error: function (xhr, status, error) { console.error("Error posting to workato!"); @@ -306,9 +302,12 @@ function submitAnswers() { if (secondaryInfoStored == "true") { console.log("secondary information completed and stored in local storage") - + } - } + }, + complete: function() { + setTimeout( function() {window.location.reload();}, 1000) + } }); } @@ -400,7 +399,7 @@ font-size:14px; opacity: 1; } - + /* Form Syyles */ .close { @@ -415,11 +414,11 @@ font-size:14px; } .errorText { font-size: 18px; - font-family: "GT Walsheim", sans-serif; + font-family: "GT Walsheim", sans-serif; font-weight: bold; - color: red; + color: red; } - + .buttonwrapper { display: flex; flex-direction: row; @@ -435,14 +434,14 @@ font-size:14px; } .form-container { - + display: flex; max-width: 100%; margin: 0 auto; background-color: #ffffff; padding: 20px; border-radius: 8px; - + flex-wrap: wrap; } @@ -482,7 +481,7 @@ font-size:14px; border-radius: 4px; cursor: pointer; margin: 10px; - + } /* Popup Styles */ @@ -569,4 +568,4 @@ font-size:14px; margin-bottom: 22px; } } - \ No newline at end of file + diff --git a/Custom_Templates/customer_templates/BuilderTrend External/_training_session_status.html.liquid b/Custom_Templates/customer_templates/BuilderTrend External/_training_session_status.html.liquid index 75116282..78506672 100644 --- a/Custom_Templates/customer_templates/BuilderTrend External/_training_session_status.html.liquid +++ b/Custom_Templates/customer_templates/BuilderTrend External/_training_session_status.html.liquid @@ -4,3 +4,30 @@ {% endif %} {{ training_session.status.label }} + + diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_account_avatar.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_account_avatar.html.liquid new file mode 100644 index 00000000..d952af93 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_account_avatar.html.liquid @@ -0,0 +1,66 @@ +
+

{% t .description %}

+

{% t .requirements %}

+
+ + + + +
+
+ +
+ +
+ +
+
+ +
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_account_desktop_view.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_account_desktop_view.html.liquid new file mode 100644 index 00000000..f7ede71b --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_account_desktop_view.html.liquid @@ -0,0 +1,28 @@ +
+ + {% form_authenticity_token %} +
+
+
+ +
+
+
+
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_account_form.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_account_form.html.liquid new file mode 100644 index 00000000..f848cb98 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_account_form.html.liquid @@ -0,0 +1,128 @@ +
+ {% t .header %} +
+
+ + +
+
+ + +
+
+ + +
+ +{% unless form.options.invite? %} +
+ + +
+ +
+ + +
+ +
+ + +
+{% endunless %} + +{% if form.options.invite? %} +
+ + +
+ + {% if form.terms_of_service_required? %} +
+ +
+ {% t .terms_of_service %} + + {% t .terms_link %} + +
+
+ {% else %} +
+ + {% t .terms %} + + {% t .terms_link %} + + +
+ {% endif %} + + +{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_account_mobile_view.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_account_mobile_view.html.liquid new file mode 100644 index 00000000..3f82a68d --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_account_mobile_view.html.liquid @@ -0,0 +1,12 @@ +
+ + {% form_authenticity_token %} +
+
+ {% render "account_form", form: form, version: "mobile" %} +
+
+ +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_account_tabs.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_account_tabs.html.liquid new file mode 100644 index 00000000..f4de6c8e --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_account_tabs.html.liquid @@ -0,0 +1,23 @@ +{% capture settings_path %}{% route account %}{% endcapture %} +{% capture transcript_path %}{% route transcript %}{% endcapture %} + +{% if current_person.signed_in? %} +{% unless current_school.sso_active? %} + +{% endunless %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_cards_course.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_cards_course.html.liquid new file mode 100644 index 00000000..47c8b5c3 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_cards_course.html.liquid @@ -0,0 +1,45 @@ +
+
+ {{ course.name }} +
+
+

+ {{ course.name }} +

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

+ {{ learning_path.name }} +

+
+ {% for category in learning_path.categories %} + {% unless category.name == 'Recommended' or category.name == 'Onboarding'%} + {{category.name }} + {% endunless %} + {% endfor %} +
+
+ {{ learning_path.items.count }} {% t .items %} +
+
{{ learning_path.description }}
+ +
+
+ + + + diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_cards_training_event.html.liquid new file mode 100644 index 00000000..1176157e --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_cards_training_event.html.liquid @@ -0,0 +1,45 @@ +
+
+
+

+ {{ training_event.title }} +

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

+ {{certificate.certificate_name}} +

+
+
+ {% if certificate.linkedin_sharing_enabled and current_person.signed_in? and certificate.learner_uuid == current_person.id %} + + + {% t .share %} + + {% endif %} + + {% if certificate.generating_pdf %} +
+ +
+ {% else %} + + {% t .download %} + + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_certificates_verification.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_certificates_verification.html.liquid new file mode 100644 index 00000000..4fc19415 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_certificates_verification.html.liquid @@ -0,0 +1,15 @@ +
+
+
+ +
+
+

+ {{certificate.verification_title}} +

+

+ {{certificate.verification_description}} +

+
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_course_activity_locked.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_activity_locked.html.liquid new file mode 100644 index 00000000..386393d5 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_activity_locked.html.liquid @@ -0,0 +1,4 @@ + + + {{ activity.title }} + diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_activity_unlocked.html.liquid new file mode 100644 index 00000000..30c03305 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_activity_unlocked.html.liquid @@ -0,0 +1,15 @@ +{% if course.enrolled? %} + + {{ activity.title }} + +{% else%} + + {{ activity.title }} + +{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_course_categories.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_categories.html.liquid new file mode 100644 index 00000000..745c0464 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_categories.html.liquid @@ -0,0 +1,10 @@ +

+ {% t .header %} +

+
+ {% for category in course.categories %} +
+ {{ category.name }} +
+ {% endfor %} +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_course_description.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_description.html.liquid new file mode 100644 index 00000000..269f9216 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_description.html.liquid @@ -0,0 +1,6 @@ +

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

+
+ {{ course.full_description }} +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_desktop_view.html.liquid new file mode 100644 index 00000000..e16fee16 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_desktop_view.html.liquid @@ -0,0 +1,40 @@ +
+
+ {% include "course_header" %} +
+
+
+
+ {{ course.name }} + {% include "course_description" %} + + {% if course.categories.any? %} +
+ {% include "course_categories" %} +
+ {% endif %} + + {% if course.instructors.any? %} +
+ {% include "course_instructors" %} +
+ {% endif %} + + {% if course.events.any? %} +
+ {% include "course_events" %} +
+ {% endif %} +
+
+
+ {% include "course_progress_and_cta" %} +
+ {% include "course_outline" %} +
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_course_events.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_events.html.liquid new file mode 100644 index 00000000..5fa80eef --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_events.html.liquid @@ -0,0 +1,28 @@ +

+ {% t .header %} +

+
+ {% for event in course.events %} +
+ +
+
+ {{ event.title }} +
+
+ {% t shared.event_types, key: event.event_type %} +
+
+ {{ event.sessions.first.time_period }} {{ event.sessions.first.time_zone }} +
+
+
+ {% endfor %} +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_course_header.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_header.html.liquid new file mode 100644 index 00000000..84820ec4 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_header.html.liquid @@ -0,0 +1,16 @@ +
+ {{ current_school.course_vocabulary }} + + +
+
+ + + + {{ course.name }} +
+{{ course.name }} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_course_instructors.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_instructors.html.liquid new file mode 100644 index 00000000..8b608928 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_instructors.html.liquid @@ -0,0 +1,22 @@ +

+ {% t .header %} +

+
+ {% for instructor in course.instructors %} +
+ {{ instructor.name }} +
+
+ {{ instructor.name }} +
+ +
+
+ {% endfor %} +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_mobile_view.html.liquid new file mode 100644 index 00000000..7f31ff35 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_mobile_view.html.liquid @@ -0,0 +1,40 @@ +
+ {% include "course_header" %} +
+ {% include "course_progress_and_cta" %} +
+
+ +{% if course.progress == 0 %} +
+ {% include "course_description" %} +
+
+ {% include "course_outline" %} +
+{% else %} +
+ {% include "course_outline" %} +
+
+ {% include "course_description" %} +
+{% endif %} + +{% if course.categories.any? %} +
+ {% include "course_categories" %} +
+{% endif %} + +{% if course.instructors.any? %} +
+ {% include "course_instructors" %} +
+{% endif %} + +{% if course.events.any? %} +
+ {% include "course_events" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_course_outline.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_outline.html.liquid new file mode 100644 index 00000000..72f97e79 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_outline.html.liquid @@ -0,0 +1,40 @@ +
+
+ {% t .header, key: current_school.course_vocabulary %} +
+
+
    + {% for section in course.sections %} +
  1. +
    + {{ section.name }} +
    +
      + {% for activity in section.activities %} + +
    1. + {% if activity.completed? %} + + {% if activity.locked? %} + {% include "course_activity_locked" %} + {% else %} + {% include "course_activity_unlocked", class: "np-course-outline-content-activity-link-completed" %} + {% endif %} +
      + {% else %} + + {% if activity.locked? %} + {% include "course_activity_locked" %} + {% else %} + {% include "course_activity_unlocked", class: "np-course-outline-content-activity-link" %} + {% endif %} +
      + {% endif %} +
    2. + {% endfor %} +
    +
  2. + {% endfor %} +
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_progress_and_cta.html.liquid new file mode 100644 index 00000000..e826315e --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_progress_and_cta.html.liquid @@ -0,0 +1,46 @@ +
+
+ {% t .header %} +
+
+
+
+
+ +
+ {% t shared.progress, count: course.progress %} +
+
+ +{% if course.learner_can_retake? %} +
+ {% form_authenticity_token %} + +
+{% else %} + + {% if course.enrolled? == false %} + {% t shared.enroll %} + {% elsif course.started? == false %} + Launch Course + {% elsif course.completed? %} + {% t shared.course.view, key: current_school.course_vocabulary %} + {% else %} + {% t shared.continue %} + {% endif %} + +{% endif %} + diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_course_version_outdated_alert.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_version_outdated_alert.html.liquid new file mode 100644 index 00000000..03e245ab --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_version_outdated_alert.html.liquid @@ -0,0 +1,7 @@ +{% if courses.include_courses_to_restart? %} + +{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_version_outdated_popup.html.liquid new file mode 100644 index 00000000..71795884 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_course_version_outdated_popup.html.liquid @@ -0,0 +1,33 @@ +
+
+ + +
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_courses_catalog.html.liquid new file mode 100644 index 00000000..81663cec --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_courses_catalog.html.liquid @@ -0,0 +1,14 @@ + +
+ {% for course in courses.in_catalog %} +
+ {% include "cards_course" with course %} +
+ {% endfor %} + {% for learning_path in learning_paths.available %} +
+ {% include "cards_learning_path" with learning_path %} +
+ {% endfor %} +
+ diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_courses_index.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_courses_index.html.liquid new file mode 100644 index 00000000..ea457669 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_courses_index.html.liquid @@ -0,0 +1,11 @@ +{% if courses.enrolled.any? %} +
+ {% for course in courses.enrolled %} + {% unless course.name contains 'Feedback'%} +
+ {% include "cards_course" with course %} +
+ {% endunless %} + {% endfor %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_courses_zero_state.html.liquid new file mode 100644 index 00000000..26e371f7 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_courses_zero_state.html.liquid @@ -0,0 +1,6 @@ +
+
+ {{ message }} +
+ {{ message }} +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_feature_carousel.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_feature_carousel.html.liquid new file mode 100644 index 00000000..8f02a735 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_feature_carousel.html.liquid @@ -0,0 +1,55 @@ + + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_featured_cards_course.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_featured_cards_course.html.liquid new file mode 100644 index 00000000..5c42b6a0 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_featured_cards_course.html.liquid @@ -0,0 +1,86 @@ +
+
+
+
CONVENIENT, CONNECTED LEARNING
+

+ Welcome +

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

+ Agent Onboarding +

+
+ Our onboarding learning paths provide an introduction to Chubb’s coverages, services, and available resources, so you can give your clients the protection they deserve — and help your business succeed. +
+
Note: These learning paths are designed for agents onboarding to Chubb; however, all agents can access the included courses. Specific quoting workflows and access may vary by appointment, please confirm with your Chubb representative. +
+
+ +
+
+ rocket +
+
+
+
+
+
+
NEW Elective Course TEST
+

+ Continue Your Journey +

+
+ Here's a cute message about how awesome our new courses are. check them out and continue your onboarding journey. +
+
this is how you bold text important message using words that create a sentence. +
+
+ +
+
+ rocket +
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_filter_checkbox.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_filter_checkbox.html.liquid new file mode 100644 index 00000000..5cbcbd07 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_filter_checkbox.html.liquid @@ -0,0 +1,10 @@ + + diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_filter_dropdown.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_filter_dropdown.html.liquid new file mode 100644 index 00000000..e7a954bb --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_filter_dropdown.html.liquid @@ -0,0 +1,33 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_filter_select.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_filter_select.html.liquid new file mode 100644 index 00000000..d006c0df --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_filter_select.html.liquid @@ -0,0 +1,22 @@ +{% if params.q %} + +{% endif %} + + + + diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_footer.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_footer.html.liquid new file mode 100644 index 00000000..346142cf --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_footer.html.liquid @@ -0,0 +1,63 @@ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_head.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_head.html.liquid new file mode 100644 index 00000000..8520c521 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_head.html.liquid @@ -0,0 +1,114 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_header.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_header.html.liquid new file mode 100644 index 00000000..87f10693 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_header.html.liquid @@ -0,0 +1,277 @@ +
+
+
+ {% if current_person.signed_in? %} + + + {% endif %} +
+ {% if current_school.logo_url %} +

+ + {{ current_school.name }} + +

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

+ {{ learning_path.certificate_name }} +

+ {% if learning_path.certificate_completed? %} + + {% endif %} +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_completed_banner.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_completed_banner.html.liquid new file mode 100644 index 00000000..1c146f6e --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_completed_banner.html.liquid @@ -0,0 +1,13 @@ +
+ +
+

{% t .headline %}

+

{% t .description %}

+
+ {% if learning_path.certificate_link %} + {% t .actions.certificate %} + {% endif %} + {% t .actions.more_courses %} +
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_course.html.liquid new file mode 100644 index 00000000..0d8cbcca --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_course.html.liquid @@ -0,0 +1,46 @@ +{% if learning_path.enrolled? and course.unlocked? %} +
+ +
+ {{ course.name }} +
+
+ {{ course.name }} +
+ {% if course.instructors %} +
+ {{ course.instructors }} +
+ {% endif %} +
+ {% t shared.progress, count: course.progress %} +
+
+ +
+
+{% else %} +
+
+ {{ course.name }} +
+
+ {{ course.name }} +
+
+
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_description.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_description.html.liquid new file mode 100644 index 00000000..6b1fb3a0 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .about %} +

+
+ {{ learning_path.description }} +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_desktop_content.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_desktop_content.html.liquid new file mode 100644 index 00000000..e9ca85d9 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_desktop_content.html.liquid @@ -0,0 +1,21 @@ +
+
+
+ {{ learning_path.name }} +
+ {% include "learning_path_description" %} + {% include "learning_path_instructors" %} +
+
+
+
+
+ {% include "learning_path_progress_and_cta" %} +
+ {% include "learning_path_outline" %} +
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_desktop_header.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_desktop_header.html.liquid new file mode 100644 index 00000000..6f4c112c --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_desktop_header.html.liquid @@ -0,0 +1,12 @@ +
+
+ {% t shared.learning_path.title %} + +
+
+ + + + {{ learning_path.name }} +
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_desktop_view.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_desktop_view.html.liquid new file mode 100644 index 00000000..8447443e --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_desktop_view.html.liquid @@ -0,0 +1,2 @@ +{% include "learning_path_desktop_header" %} +{% include "learning_path_desktop_content" %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_instructors.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_instructors.html.liquid new file mode 100644 index 00000000..a8342301 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_instructors.html.liquid @@ -0,0 +1,26 @@ +{% if learning_path.instructors.any? %} +
+

+ {% t shared.instructors %} +

+
+ {% for instructor in learning_path.instructors %} +
+ {{ instructor.name }} +
+
+ {{ instructor.name }} +
+ +
+
+ {% endfor %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_mobile_content.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_mobile_content.html.liquid new file mode 100644 index 00000000..92ffd4c8 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_mobile_content.html.liquid @@ -0,0 +1,19 @@ +{% if learning_path.in_progress? %} + {% include "learning_path_outline" %} +
+ {% include "learning_path_description" %} +
+{% else %} +
+ {% include "learning_path_description" %} +
+
+ {% include "learning_path_outline" %} +
+{% endif %} + +{% if learning_path.instructors.any? %} +
+ {% include "learning_path_instructors" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_mobile_header.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_mobile_header.html.liquid new file mode 100644 index 00000000..2bf66a5a --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_mobile_header.html.liquid @@ -0,0 +1,17 @@ +
+
+ {% t shared.learning_path.title %} + +
+
+ {{ learning_path.name }} +
+ {{ learning_path.name }} +
+ {% include "learning_path_progress_and_cta" %} +
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_mobile_view.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_mobile_view.html.liquid new file mode 100644 index 00000000..0e22feb9 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_mobile_view.html.liquid @@ -0,0 +1,2 @@ +{% include "learning_path_mobile_header" %} +{% include "learning_path_mobile_content" %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_new_content_banner.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_new_content_banner.html.liquid new file mode 100644 index 00000000..2bc02d46 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_new_content_banner.html.liquid @@ -0,0 +1,12 @@ +
+
+

{% t .headline %}

+

{% t .description %}

+
+ {% learning_path_next_step_button learning_path, class: "np-learning-path-banner-action np-learning-path-banner-action--primary" %} + {% if learning_path.certificate_link %} + {% t .actions.view_certificate %} + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_outline.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_outline.html.liquid new file mode 100644 index 00000000..22ddd573 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_outline.html.liquid @@ -0,0 +1,10 @@ +
+ {% for item in learning_path.items %} + {% if item.course? %} + {% include "learning_path_course", course: item %} + {% elsif item.training_event? %} + {% include "learning_path_training_session", training_session: item %} + {% endif %} + {% endfor %} + {% include "learning_path_certificate" %} +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_progress_and_cta.html.liquid new file mode 100644 index 00000000..1d90a2a7 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_progress_and_cta.html.liquid @@ -0,0 +1,20 @@ +{% if learning_path.enrolled? %} +
+
+ {% t .progress %} +
+
+
+
+
+
+ {% t shared.progress, count: learning_path.progress %} +
+
+{% endif %} + +{% learning_path_next_step_button learning_path, class: "np-top-button np-button-font-color np-button np-button-big" %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_summary_desktop_view.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_summary_desktop_view.html.liquid new file mode 100644 index 00000000..05961c52 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_summary_desktop_view.html.liquid @@ -0,0 +1,3 @@ +{% include "learning_path_desktop_header" %} +{% include "learning_path_banners" %} +{% include "learning_path_desktop_content" %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_summary_mobile_view.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_summary_mobile_view.html.liquid new file mode 100644 index 00000000..f30a09eb --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_summary_mobile_view.html.liquid @@ -0,0 +1,5 @@ +
+ {% include "learning_path_banners" %} +
+{% include "learning_path_mobile_header" %} +{% include "learning_path_mobile_content" %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_training_session.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_training_session.html.liquid new file mode 100644 index 00000000..f0338931 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_training_session.html.liquid @@ -0,0 +1,43 @@ +{% if learning_path.enrolled? and training_session.unlocked? %} +
+ +
+ +
+
{{ training_session.name }}
+
{{ training_session.instructors }}
+
+ {{ training_session.time }} {{ training_session.time_zone }} +
+
+ +
+
+{% else %} +
+
+ +
+
{{ training_session.name }}
+
{{ training_session.caption }}
+
+
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_zero_state.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_zero_state.html.liquid new file mode 100644 index 00000000..b0544760 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_path_zero_state.html.liquid @@ -0,0 +1,12 @@ + + +
+
+ Nothing here?
+ Keep Exploring! +
+
+ + + + diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_paths_index.html.liquid new file mode 100644 index 00000000..57013f08 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_learning_paths_index.html.liquid @@ -0,0 +1,33 @@ +{% assign learning_paths_counter = 0 %} + +{% if items.any? %} + {% for learning_path in items %} + {% assign learning_paths_counter = learning_paths_counter | plus: 1 %} + {% endfor %} +{% endif %} + +
+ {% if items.any? %} + {% for learning_path in items %} +
+ {% include "cards_learning_path" with learning_path %} +
+ {% endfor %} + {% if learning_paths_counter < 3 %} +
+ {% include "learning_path_zero_state" %} +
+ {% endif %} + {% else %} +
+ {% include "learning_path_zero_state" %} +
+ {% endif %} +
+ + diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_messages.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_messages.html.liquid new file mode 100644 index 00000000..059fc568 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_messages.html.liquid @@ -0,0 +1,19 @@ +{% if messages.alert.size > 0 %} +
+
+ {% for message in messages.alert %} +
{{ message }}
+ {% endfor %} +
+
+{% endif %} + +{% if messages.notice.size > 0 %} +
+
+ {% for message in messages.notice %} +
{{ message }}
+ {% endfor %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_onboarding_learning_paths_carousel.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_onboarding_learning_paths_carousel.html.liquid new file mode 100644 index 00000000..91c6b639 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_onboarding_learning_paths_carousel.html.liquid @@ -0,0 +1,77 @@ + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_recommended_carousel.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_recommended_carousel.html.liquid new file mode 100644 index 00000000..66c7685e --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_recommended_carousel.html.liquid @@ -0,0 +1,103 @@ +{% assign content_counter = 0 %} + +{% for course in courses.in_catalog %} + {% for category in course.categories %} + {% if category.name == 'Recommended' %} + {% assign content_counter = content_counter | plus: 1 %} + {% endif %} + {% endfor %} +{% endfor %} +{% for learning_path in learning_paths.available %} + {% for category in learning_path.categories %} + {% if category.name == 'Recommended' %} + {% assign content_counter = content_counter | plus: 1 %} + {% endif %} + {% endfor %} +{% endfor %} + + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_search_result.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_search_result.html.liquid new file mode 100644 index 00000000..66c60848 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_search_result.html.liquid @@ -0,0 +1,21 @@ +{% if result.type == 'course' %} +
+
+
+ {{ result.name }} +
+
+ + {{ result.name }} + +
+
{{ result.description }}
+
+
+
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_search_zero_state.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_search_zero_state.html.liquid new file mode 100644 index 00000000..4e52c6fb --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_search_zero_state.html.liquid @@ -0,0 +1,13 @@ +
+
+
+

+ {% t .nothing_found %} +

+
+ {% t .empty %} +
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_sub_navigation.html.liquid new file mode 100644 index 00000000..b432c10b --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_sub_navigation.html.liquid @@ -0,0 +1,13 @@ + diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_training_events_dashboard.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_events_dashboard.html.liquid new file mode 100644 index 00000000..7aeb19ce --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_events_dashboard.html.liquid @@ -0,0 +1,9 @@ +
+ {% if training_events.enrolled.any? %} + {% for training_event in training_events.enrolled %} + {% include "cards_training_event" with training_event %} + {% endfor %} + {% else %} + {% include "training_events_zero_state" %} + {% endif %} +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_training_events_filter.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_events_filter.html.liquid new file mode 100644 index 00000000..d4892278 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_events_filter.html.liquid @@ -0,0 +1,53 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_training_events_index.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_events_index.html.liquid new file mode 100644 index 00000000..ff93b1c8 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_events_index.html.liquid @@ -0,0 +1,13 @@ +
+ {% if training_events.available.any? %} +
+ {% for training_event in training_events.available %} +
+ {% include "cards_training_event" with training_event %} +
+ {% endfor %} +
+ {% else %} + {% include "training_events_zero_state" %} + {% endif %} +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_training_events_zero_state.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_events_zero_state.html.liquid new file mode 100644 index 00000000..076b789e --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_events_zero_state.html.liquid @@ -0,0 +1,9 @@ +
+
+ {% t .empty %} +
+ {% t .empty %} +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_calendars.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_calendars.html.liquid new file mode 100644 index 00000000..6c758b73 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_calendars.html.liquid @@ -0,0 +1,52 @@ + diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_cta.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_cta.html.liquid new file mode 100644 index 00000000..d777c5f6 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_cta.html.liquid @@ -0,0 +1,53 @@ +{% if training_session.approved? %} +
+ + {% t .registered %} +
+{% elsif training_session.pending? %} +
+ {% t .pending %} +
+{% elsif training_session.denied? %} +
+ {% t .denied %} +
+{% elsif training_session.too_late? %} +
+ {% t .too_late %} +
+{% elsif training_session.no_seats? %} +
+ {% t .no_seats %} +
+{% endif %} +
+
+
+ {% form_authenticity_token %} + + {% if training_session.internal? and training_session.approved? %} + {% if features.training_events_google_calendar? %} + {% include "training_session_calendars" %} + + {% else %} + + {% endif %} + + + {% endif %} + + {% if training_session.not_registered? %} + + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_date.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_date.html.liquid new file mode 100644 index 00000000..48694035 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_date.html.liquid @@ -0,0 +1,14 @@ +
+
+
+ {{ training_session.day }} +
+
+
+ {{ training_session.month }} +
+
+ {{ training_session.year }} +
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_description.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_description.html.liquid new file mode 100644 index 00000000..73be4cf4 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .header %} +

+
+ {{ training_event.description }} +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_desktop_view.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_desktop_view.html.liquid new file mode 100644 index 00000000..5c1abfec --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_desktop_view.html.liquid @@ -0,0 +1,40 @@ +
+ {% include "training_session_header" %} +
+
+
+
+
+
+ {% include "training_session_details" %} +
+
+ {% include "training_session_cta" %} +
+
+
+
+ {% include "training_session_description" %} +
+
+
+
+
+
+ {% t shared.more_sessions %} +
+ {% if training_event.sessions.size > 1 %} + {% include "training_session_more_sessions" %} + {% else %} +
+ {% t .empty %} +
+ {% t .empty %} +
+
+ {% endif %} +
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_details.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_details.html.liquid new file mode 100644 index 00000000..ae23b7ac --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_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/Chubb-Sandbox/_training_session_header.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_header.html.liquid new file mode 100644 index 00000000..10434cfa --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_header.html.liquid @@ -0,0 +1,10 @@ +
+ {% t shared.event_types, key: training_event.event_type %} + +
+
+ + + + {{ training_event.title }} +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_mobile_view.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_mobile_view.html.liquid new file mode 100644 index 00000000..00455d4e --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_mobile_view.html.liquid @@ -0,0 +1,22 @@ +
+
+ {% include "training_session_header" %} +
+ {% include "training_session_details" %} +
+ {% include "training_session_cta" %} +
+
+ +
+ {% include "training_session_description" %} +
+ +{% if training_event.sessions.size > 1 %} +
+
+ {% t shared.more_sessions %} +
+ {% include "training_session_more_sessions" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_more_sessions.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_more_sessions.html.liquid new file mode 100644 index 00000000..6cfafa87 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_more_sessions.html.liquid @@ -0,0 +1,3 @@ +{% for session in training_event.sessions %} + {% include "training_session_tile", current_session: training_session %} +{% endfor %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_status.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_status.html.liquid new file mode 100644 index 00000000..75116282 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_status.html.liquid @@ -0,0 +1,6 @@ +
+ {% if training_session.approved? %} + + {% endif %} + {{ training_session.status.label }} +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_tile.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_tile.html.liquid new file mode 100644 index 00000000..e5ad8714 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/_training_session_tile.html.liquid @@ -0,0 +1,17 @@ +{% if current_session.id != session.id %} + + +
+
+ {{ session.month }} {{ session.day }}, {{ session.year }} +
+
+ {{ session.time_period }} {{ session.time_zone }} +
+
+ +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/account.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/account.html.liquid new file mode 100644 index 00000000..2ad5d917 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/account.html.liquid @@ -0,0 +1,14 @@ +{% include "header" %} + +
+
+ {% include "account_mobile_view", form: form %} +
+ +
+ {% include "account_desktop_view", form: form %} +
+
+ +{% include "footer" %} + diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/auth_url_email.html.liquid new file mode 100644 index 00000000..a413959c --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/auth_url_email.html.liquid @@ -0,0 +1,59 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ {% t shared.welcome_to_school, school_name: current_school.name %} +
+
+ {% t .headline, key: current_school.course_vocabulary %} +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/auth_url_employee.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/auth_url_employee.html.liquid new file mode 100644 index 00000000..c8d8adf7 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/auth_url_employee.html.liquid @@ -0,0 +1,59 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ {% t shared.welcome_to_school, school_name: current_school.name %} +
+
+ {% t .headline, key: current_school.course_vocabulary %} +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/auth_url_phone_number.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/auth_url_phone_number.html.liquid new file mode 100644 index 00000000..aafae119 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/auth_url_phone_number.html.liquid @@ -0,0 +1,40 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t shared.welcome_to_school, school_name: current_school.name %}
+
{% t .headline, key: current_school.course_vocabulary %}
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/auth_url_terms.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/auth_url_terms.html.liquid new file mode 100644 index 00000000..a7087db2 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/auth_url_terms.html.liquid @@ -0,0 +1,74 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t shared.welcome_to_school, school_name: current_school.name %}
+
{% t .headline, key: current_school.course_vocabulary %}
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/catalog.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/catalog.html.liquid new file mode 100644 index 00000000..eafe7a52 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/catalog.html.liquid @@ -0,0 +1,54 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} + +
+
+
+ Home / Course Catalog +
+
+ Search and filter courses, learning paths and other materials using the menu on the left side of the screen. +
+
+
+
+ {% include 'catalog_filters' %} +
+
+ {% include "courses_catalog" %} +
+
+
+{% include "footer" %} + + + diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/course.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/course.html.liquid new file mode 100644 index 00000000..f414a6dc --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/course.html.liquid @@ -0,0 +1,13 @@ +{% include "header" %} +
+
+ Home / Course +
+
+ {% include "course_desktop_view" %} +
+
+ {% include "course_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/courses.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/courses.html.liquid new file mode 100644 index 00000000..7334cdab --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/courses.html.liquid @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/dashboard.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/dashboard.html.liquid new file mode 100644 index 00000000..104bf393 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/dashboard.html.liquid @@ -0,0 +1,31 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} + +
+
+ Home / Dashboard +
+
+
+ {% if features.learning_paths? %} +
+ {% t shared.learning_paths %} +
+ {% include "learning_paths_index", items: learning_paths.enrolled %} + {% endif %} +
+ {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %} +
+ {% include "courses_index", class: "col-xs-12 col-md-6 col-lg-4 np-stretch-content" %} +
+ {% if features.training_events? %} +
+
+ {% t .upcoming_events %} +
+ {% include "training_events_dashboard" %} +
+ {% endif %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/forgot_password.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/forgot_password.html.liquid new file mode 100644 index 00000000..3d65513f --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/forgot_password.html.liquid @@ -0,0 +1,25 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/homepage.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/homepage.html.liquid new file mode 100644 index 00000000..1e79b945 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/homepage.html.liquid @@ -0,0 +1,24 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.featured %} +
+ {% include 'feature_carousel' %} + +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/learning_path.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/learning_path.html.liquid new file mode 100644 index 00000000..5e65d583 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/learning_path.html.liquid @@ -0,0 +1,13 @@ +{% include "header" %} +
+
+ Home / Learning Path +
+
+ {% include "learning_path_desktop_view" %} +
+
+ {% include "learning_path_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/learning_path_summary.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/learning_path_summary.html.liquid new file mode 100644 index 00000000..99ae32ed --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/learning_path_summary.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
+
+ {% include "learning_path_summary_desktop_view" %} +
+
+ {% include "learning_path_summary_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/learning_paths.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/learning_paths.html.liquid new file mode 100644 index 00000000..e6e10cba --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/learning_paths.html.liquid @@ -0,0 +1,14 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+ {% t shared.learning_paths %} +
+
+ {% t .subtitle %} +
+ {% include "learning_paths_index", items: learning_paths.available %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/login.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/login.html.liquid new file mode 100644 index 00000000..bde185dd --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/login.html.liquid @@ -0,0 +1,53 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+ + + {% t .forgot_password %} + + {% if features.account_creation? %} + + {% t shared.sign_up %} + + {% endif %} + {% if features.request_access? %} + + {{ current_school.request_access_label }} + + {% endif %} +
+
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/master.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/master.html.liquid new file mode 100644 index 00000000..63345068 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/master.html.liquid @@ -0,0 +1 @@ +{% body %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/not_found.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/not_found.html.liquid new file mode 100644 index 00000000..91c76e4b --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/not_found.html.liquid @@ -0,0 +1,10 @@ +
+ + +
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/private_certificate.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/private_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/private_certificate.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +{% include "certificates_top_bar" %} +
+
+
+ {% include "certificates_preview" %} + {% include "certificates_info_column" %} +
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/public_certificate.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/public_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/public_certificate.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +{% include "certificates_top_bar" %} +
+
+
+ {% include "certificates_preview" %} + {% include "certificates_info_column" %} +
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/reset_password.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/reset_password.html.liquid new file mode 100644 index 00000000..281c6eaa --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/reset_password.html.liquid @@ -0,0 +1,43 @@ +
+
+ {% include "header_minimal" %} +
+
+ + + {% form_authenticity_token %} +
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/search.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/search.html.liquid new file mode 100644 index 00000000..5bf9fc7c --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/search.html.liquid @@ -0,0 +1,22 @@ +{% include "header" %} +
+
+ {% t .title %} +
+
+
+ {% t .showing %} + {{ results.count }} + {% t .results_for %} + "{{ results.term }}" +
+ Results shown below are courses. View learning paths in the Catalog. +
+
+ {% if results.items.any? %} + {% render "search_result" for results.items as result %} + {% else %} + {% include "search_zero_state" %} + {% endif %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/sign_up.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/sign_up.html.liquid new file mode 100644 index 00000000..7a903da4 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/sign_up.html.liquid @@ -0,0 +1,72 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t .create_account %}
+ {% form_authenticity_token %} +
+
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+ + + {% t .terms %} + + {% t .terms_link %} + + +
+
+
+
diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/styles.css.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/styles.css.liquid new file mode 100644 index 00000000..e9c66fdd --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/styles.css.liquid @@ -0,0 +1,357 @@ + /* + Put your custom overlay styles in here + You can use your northpass color palette in this file + +{{ color_palette.button_font_color }} +{{ color_palette.button_color }} +{{ color_palette.button_hover_color }} +{{ color_palette.header_font_color }} +{{ color_palette.header_font_hover_color }} +{{ color_palette.header_color }} +*/ + + +@font-face { + font-family: "Chubb"; + src: url("https://s3.amazonaws.com/static.northpass.com/Chubb/Chubb+Publico+App+Fonts/ChubbPublicoApp-Light.ttf"); + font-weight: 400; +} +@font-face { + font-family: "Chubb"; + src: url("https://s3.amazonaws.com/static.northpass.com/Chubb/Chubb+Publico+App+Fonts/ChubbPublicoApp-Medium.ttf"); + font-weight: 500; +} +@font-face { + font-family: "Chubb"; + src: url("https://s3.amazonaws.com/static.northpass.com/Chubb/Chubb+Publico+App+Fonts/ChubbPublicoApp-Bold.ttf"); + font-weight: 700; +} +@font-face { + font-family: "Chubb"; + src: url("https://s3.amazonaws.com/static.northpass.com/pipedrive/fonts/Haffer/HafferSQ-SemiBold.woff2"); + font-weight: 600; +} + + +body { + background: #fff; + font-family: 'Lato', sans-serif; +} + +.chubb { + font-family: 'Chubb', sans-serif; +} +.np-header-logo-image { + height: 15px; +} +.header-text { + font-weight: 500; + margin-left: 20px; + font-size: 1.5rem; + color: #000; +} +.np-header-search-icon { + position: absolute; + top: 30%; + left: 0; + color: #000; + opacity: 0.5; + font-size: 1rem; + padding-left: 10px; +} +.header-search-input { + position: relative; + max-width: 180px; + padding: 0.5rem 0 0.5rem 2rem; +} +.header-avatar-image { + font-size: 1.5rem; + +} +.np-header-avatar-tooltip { + background: #fff; + border-radius: 4px; + box-shadow: 0 0 8px rgba(72,103,118,.5); + position: absolute; + right: -15px; + top: 45px; + white-space: nowrap; + z-index: 50; +} + +.np-header-color { + background: #ffffff; + border-bottom: 4px rgba(0,0,0,0.8) solid; +} + +.card-content-container { + padding: 1rem; + display: flex; + flex-direction: column; + flex: 1; + justify-content: space-between; +} +.card-category { + background: #e7e6e6; + padding: 5px 10px; + border-radius: 12px; + margin: 0 8px 8px 0; + font-size: 0.8rem; + } + + .card-category-wrapper { + display: flex; + flex-wrap: wrap; + } + .card-content-title { + font-size: 1.5rem; + font-weight: 500; + margin-bottom: 8px; + color: #000; + } + .card-description { + font-weight: 400; + margin-bottom: 20px; + color: #000; + } + .card { + margin-right: 20px; + margin-bottom: 20px; + display: flex; + flex-direction: column; + height: 100%; + } + .card-course-btn-wrapper { + display: flex; + justify-content: flex-end; + } + .card-time { + margin: 10px 0; + font-weight: 500; + font-size: 1rem; + color: #000;s + } + + .feature-card-container { + display: flex; +} +.feature-content { + flex-basis: 50%; +} +.feature-card-content { + padding: 2rem; + display: flex; + flex-direction: column; + justify-content: center; +} +.feature-card-content-title { + margin-bottom: 2rem; + font-size: 4vw; + color: #000; + font-weight: 500; +} +.feature-card-btn-container { + display: flex; + gap: 10px; +} +.feature-card-description { + margin-bottom: 2rem; + color: #000; + font-weight: 400; +} +.feature-card-image { + display: flex; + width: 100%; + object-fit: cover; +} +.feature-course-btn { + font-weight: 700; + padding: 15px 40px; + text-decoration: none; +} +.purple { + background: #6e27c5; + color: #fff; +} +.header-catalog { + font-weight: 500; + font-size: 1.5rem; + color: #000; + } +.note-desc { + font-size: 1rem; +} +.purple-link { + color: #6e27c5; + } + .home-link { + text-decoration: none; + } +.yellow { + background: #ffb619; + color: #000; +} +.row { + margin-left: 0; + margin-right: 0; +} +.section-headline { + font-size: 1.5rem; + font-weight: 900; + color: #000; + margin: 1rem 0; + } + +.np-footer { + background: #e7e6e6; +} +.course-categories-container { + flex-wrap: wrap; +} +.np-content-categories-content-item { + margin-bottom: 10px; +} + +.slick-track { + margin-left: 0 !important; + margin-right: 0 !important; +} + +.section { + margin: 0 20px; +} + +.hamburger-menu { + font-size: 1.5rem; + margin-left: 1.5rem; + cursor: pointer; +} +.np-card-container { + z-index: 10; +} + +.np-dashboard { + background: #fff; +} +.np-resource-title, .np-input-label { + color: #000; +} +.zero-state-lp { + width: 100%; + border: 3px solid rgba(0,0,0, 0.35); + display: flex; + justify-content: center; + align-items: center; +} + +.zero-state-message { + font-size: 1.25rem; + font-weight: 600; + color: #000; + opacity: 0.35; +} +.terms-of-service { + display: flex; + gap: 10px; + } +.np-alert { + display: none; +} +.dashboard-content-wrapper { + width: 100%; +} + +.text-underline { + text-decoration: underline; +} + +.np-top-title, .np-card-heading, .np-course-outline-content-section-name { + color: #000; +} + +.recommended-carousel .slick-track { + display: flex; +} +.progress-carousel .slick-track { + display: flex; +} +.carousel-card-container { + height: auto !important; +} +.slick-list { + padding-bottom: 20px !important; +} +.bold-text { + font-weight: 700; +} + +.mb-20 { + margin-bottom: 20px; +} +@media only screen and (max-width: 768px) { + .feature-card-container { + flex-direction: column-reverse; + } + .filter-container { + flex-direction: column; + } + .dropdown { + margin-bottom: 10px; + margin-right: 0px !important; + } + .card { + margin-right: 0px; + } + .footer-wrapper { + flex-direction: column; + } + .footer-content { + margin: 20px 0; + } + .np-header-content { + justify-content: space-between; + } + } + + .np-powered-by { + display: none !important; + } + + .np-color-success, .np-certificate-metadata-title, .np-certificate-metadata-value { + color: #000; + } + + .np-learning-path-completed-banner, .np-learning-path-certificate-content { + background: #fff; + } + + .np-learning-path-banner-action--primary { + background: #000; + } + + .np-certificate-title { + color: #000; + } + .np-certificate-button-secondary { + color: #000 !important; + } + + + @media only screen and (max-width: 1028px) { + .row-catalog { + flex-direction: column; + } + .filter-container, .catalog-container { + width: 100% !important; + } + .filter-container { + padding: 0 !important; + } + +} +@media only screen and (min-width: 1300px) { + .feature-card-description { + font-size: 1.2vw; + } + +} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/training_events.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/training_events.html.liquid new file mode 100644 index 00000000..139717ee --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/training_events.html.liquid @@ -0,0 +1,19 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+
+ {% t .title %} +
+
+ {% t .subtitle %} +
+
+
+ {% include "training_events_filter" %} +
+
+ {% include "training_events_index" %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/training_session.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/training_session.html.liquid new file mode 100644 index 00000000..5b78b834 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/training_session.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
+
+ {% include "training_session_desktop_view" %} +
+
+ {% include "training_session_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/training_session_attendance.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/training_session_attendance.html.liquid new file mode 100644 index 00000000..71bb6119 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/training_session_attendance.html.liquid @@ -0,0 +1,43 @@ +{% include "header" %} +
+
+ {% if token %} + +
+ {{ training_session.title }} +
+
+ {% t .info, + event_name: training_session.title, + session_date: training_session.date, + session_time: training_session.time + %} +
+
+ {% t .question %} +
+
+ {% form_authenticity_token %} + + + +
+
+ {% t .salutation %} +
+
+ {{ current_school.name }} +
+ {% else %} + +
+ {% t .success.response_text %} +
+ +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/transcript.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/transcript.html.liquid new file mode 100644 index 00000000..6e18e74a --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/transcript.html.liquid @@ -0,0 +1,33 @@ +{% include "header" %} +{% include "account_tabs" %} + +
+ {% transcript %} +
+ +{% include "footer" %} + + + diff --git a/Custom_Templates/customer_templates/Chubb-Sandbox/unsubscribe.html.liquid b/Custom_Templates/customer_templates/Chubb-Sandbox/unsubscribe.html.liquid new file mode 100644 index 00000000..69a54028 --- /dev/null +++ b/Custom_Templates/customer_templates/Chubb-Sandbox/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/Chubb/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Chubb/_courses_catalog.html.liquid index 81663cec..13b2c8b6 100644 --- a/Custom_Templates/customer_templates/Chubb/_courses_catalog.html.liquid +++ b/Custom_Templates/customer_templates/Chubb/_courses_catalog.html.liquid @@ -1,6 +1,6 @@
- {% for course in courses.in_catalog %} + {% for course in courses.enrolled %}
{% include "cards_course" with course %}
diff --git a/Custom_Templates/customer_templates/Chubb/_featured_cards_course.html.liquid b/Custom_Templates/customer_templates/Chubb/_featured_cards_course.html.liquid index b456f8e8..4f3f1eb5 100644 --- a/Custom_Templates/customer_templates/Chubb/_featured_cards_course.html.liquid +++ b/Custom_Templates/customer_templates/Chubb/_featured_cards_course.html.liquid @@ -82,6 +82,7 @@
+{% else %}
diff --git a/Custom_Templates/customer_templates/DeepL/_header.html.liquid b/Custom_Templates/customer_templates/DeepL/_header.html.liquid index 8e70c7ea..648dd6be 100644 --- a/Custom_Templates/customer_templates/DeepL/_header.html.liquid +++ b/Custom_Templates/customer_templates/DeepL/_header.html.liquid @@ -87,7 +87,7 @@ data-toggle-outside data-toggle-escape> Language - + - +