diff --git a/.DS_Store b/.DS_Store index 1ce872fe..05ee83bd 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/Custom_Templates/customer_templates/.DS_Store b/Custom_Templates/customer_templates/.DS_Store index e835a410..619957ff 100644 Binary files a/Custom_Templates/customer_templates/.DS_Store and b/Custom_Templates/customer_templates/.DS_Store differ diff --git a/Custom_Templates/customer_templates/G2/.DS_Store b/Custom_Templates/customer_templates/G2/.DS_Store deleted file mode 100644 index 5008ddfc..00000000 Binary files a/Custom_Templates/customer_templates/G2/.DS_Store and /dev/null differ diff --git a/Custom_Templates/customer_templates/G2/_badges.html.liquid b/Custom_Templates/customer_templates/G2/_badges.html.liquid new file mode 100644 index 00000000..dcb4c367 --- /dev/null +++ b/Custom_Templates/customer_templates/G2/_badges.html.liquid @@ -0,0 +1,68 @@ +
+
+ {% assign number_of_badges = 0 %} + {% assign max_number_of_badges = 5 %} + {% for course in courses.enrolled %} + {% if number_of_badges < max_number_of_badges %} + {% if course.completed? %} + {% unless course.properties.points == "missing property: points" or course.properties.points == null %} +
+ +
+ {% assign number_of_badges = number_of_badges | plus: 1 %} + {% endunless %} + {% endif %} + {% endif %} + {% endfor %} + +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ +{% if number_of_badges == 0 %} + +{% endif %} + + diff --git a/Custom_Templates/customer_templates/G2/_head.html.liquid b/Custom_Templates/customer_templates/G2/_head.html.liquid index 2c46e4a1..90b55cda 100644 --- a/Custom_Templates/customer_templates/G2/_head.html.liquid +++ b/Custom_Templates/customer_templates/G2/_head.html.liquid @@ -25,6 +25,12 @@ } + +{% include "style_extension_col_5th" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/G2/_header_minimal.html.liquid b/Custom_Templates/customer_templates/G2/_header_minimal.html.liquid new file mode 100644 index 00000000..75c21804 --- /dev/null +++ b/Custom_Templates/customer_templates/G2/_header_minimal.html.liquid @@ -0,0 +1,23 @@ +
+ + {% if current_school.logo_url %} + + {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +{% include "messages" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/G2/_style_extension_col_5th.html.liquid b/Custom_Templates/customer_templates/G2/_style_extension_col_5th.html.liquid new file mode 100644 index 00000000..c48c8dce --- /dev/null +++ b/Custom_Templates/customer_templates/G2/_style_extension_col_5th.html.liquid @@ -0,0 +1,55 @@ + diff --git a/Custom_Templates/customer_templates/G2/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/G2/_sub_navigation.html.liquid index 13218208..8210f179 100644 --- a/Custom_Templates/customer_templates/G2/_sub_navigation.html.liquid +++ b/Custom_Templates/customer_templates/G2/_sub_navigation.html.liquid @@ -13,3 +13,5 @@ {% endfor %} + +{% include "badges" %} diff --git a/Custom_Templates/customer_templates/G2/auth_url_email.html.liquid b/Custom_Templates/customer_templates/G2/auth_url_email.html.liquid new file mode 100644 index 00000000..953db320 --- /dev/null +++ b/Custom_Templates/customer_templates/G2/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/G2/auth_url_employee.html.liquid b/Custom_Templates/customer_templates/G2/auth_url_employee.html.liquid new file mode 100644 index 00000000..b062f800 --- /dev/null +++ b/Custom_Templates/customer_templates/G2/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/G2/auth_url_phone_number.html.liquid b/Custom_Templates/customer_templates/G2/auth_url_phone_number.html.liquid new file mode 100644 index 00000000..de17c956 --- /dev/null +++ b/Custom_Templates/customer_templates/G2/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/G2/auth_url_terms.html.liquid b/Custom_Templates/customer_templates/G2/auth_url_terms.html.liquid new file mode 100644 index 00000000..f390b29b --- /dev/null +++ b/Custom_Templates/customer_templates/G2/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/G2/homepage.html.liquid b/Custom_Templates/customer_templates/G2/homepage.html.liquid index b9fb71ea..90220ae4 100644 --- a/Custom_Templates/customer_templates/G2/homepage.html.liquid +++ b/Custom_Templates/customer_templates/G2/homepage.html.liquid @@ -21,7 +21,7 @@ {% include "sub_navigation" %} {% include 'courses_catalog' %} {% include 'modal_popup' %} -{% include "footer" %} + {% include "footer" %}