diff --git a/Custom_Templates/customer_templates/.DS_Store b/Custom_Templates/customer_templates/.DS_Store index 97be1ff4..4277853c 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/Magis Center/_cards_course.html.liquid b/Custom_Templates/customer_templates/Magis Center/_cards_course.html.liquid new file mode 100644 index 00000000..a0d64a5f --- /dev/null +++ b/Custom_Templates/customer_templates/Magis Center/_cards_course.html.liquid @@ -0,0 +1,38 @@ +{% capture course_path %}{% route course, id: course.id %}{% endcapture %} +
+ + {% if course.ribbon %} +
+ {{ course.ribbon }} +
+ {% endif %} + {{ course.name }} +
+
+ {{ course.instructor_names }} {% unless course.instructor_names == "" and course.properties.course_length == "none" %}|{% endunless %} {% unless course.properties.course_length == "none" %} 30 Minutes{% endunless %} +
+

+ {{ course.name }} +

+
+ {{course.full_description}} +
+ +
+
+
diff --git a/Custom_Templates/customer_templates/Magis Center/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Magis Center/_courses_catalog.html.liquid new file mode 100644 index 00000000..f4dd4839 --- /dev/null +++ b/Custom_Templates/customer_templates/Magis Center/_courses_catalog.html.liquid @@ -0,0 +1,21 @@ +{% if courses.in_catalog.any? %} +
+ {% for course in courses.in_catalog %} + {% assign course_category_ids = "" %} + + {% for cat in course.categories %} + {% assign course_category_ids = course_category_ids | append: cat.id %} + {% endfor %} +
+ {% include "cards_course" with course %} +
+ {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Magis Center/_head.html.liquid b/Custom_Templates/customer_templates/Magis Center/_head.html.liquid new file mode 100644 index 00000000..3766fc78 --- /dev/null +++ b/Custom_Templates/customer_templates/Magis Center/_head.html.liquid @@ -0,0 +1,7 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Magis Center/_header.html.liquid b/Custom_Templates/customer_templates/Magis Center/_header.html.liquid new file mode 100644 index 00000000..fe038507 --- /dev/null +++ b/Custom_Templates/customer_templates/Magis Center/_header.html.liquid @@ -0,0 +1,239 @@ +
+
+
+ {% if current_person.signed_in? %} + + + {% endif %} +
+ {% if current_school.logo_url %} +

+ + {{ current_school.name }} + +

+ {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +
+ + {% if current_person.signed_in? %} + +
+ + +
+ {% else %} +
+ {% endif %} + +
+ +
+
+
+
+ +{% include "messages" %} + + diff --git a/Custom_Templates/customer_templates/Magis Center/_header_absolute.html.liquid b/Custom_Templates/customer_templates/Magis Center/_header_absolute.html.liquid new file mode 100644 index 00000000..f0f2992c --- /dev/null +++ b/Custom_Templates/customer_templates/Magis Center/_header_absolute.html.liquid @@ -0,0 +1,239 @@ +
+
+
+ {% if current_person.signed_in? %} + + + {% endif %} +
+ {% if current_school.logo_url %} +

+ + {{ current_school.name }} + +

+ {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +
+ + {% if current_person.signed_in? %} + +
+ + +
+ {% else %} +
+ {% endif %} + +
+ +
+
+
+
+ +{% include "messages" %} + + diff --git a/Custom_Templates/customer_templates/Magis Center/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Magis Center/auth_url_email.html.liquid new file mode 100644 index 00000000..5e34b52a --- /dev/null +++ b/Custom_Templates/customer_templates/Magis Center/auth_url_email.html.liquid @@ -0,0 +1,60 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+

Welcome to Magis Institute

+

for Teachers & Catechists

+
+
+ Please fill out the form below to access your courses +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Magis Center/catalog.html.liquid b/Custom_Templates/customer_templates/Magis Center/catalog.html.liquid new file mode 100644 index 00000000..5fb292e5 --- /dev/null +++ b/Custom_Templates/customer_templates/Magis Center/catalog.html.liquid @@ -0,0 +1,80 @@ +{% include "header_absolute" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} +
+
+
{{ catalog.headline }}
+
{{ catalog.subheadline }}
+ +
+
+
+
+
+ +
+
+
+
+ {% include "courses_catalog" %} +
+{% include "footer" %} + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Magis Center/course.html.liquid b/Custom_Templates/customer_templates/Magis Center/course.html.liquid new file mode 100644 index 00000000..1b608a74 --- /dev/null +++ b/Custom_Templates/customer_templates/Magis Center/course.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
+
+ {% include "course_desktop_view" %} +
+
+ {% include "course_mobile_view" %} +
+
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Magis Center/courses.html.liquid b/Custom_Templates/customer_templates/Magis Center/courses.html.liquid new file mode 100644 index 00000000..a8e0dad0 --- /dev/null +++ b/Custom_Templates/customer_templates/Magis Center/courses.html.liquid @@ -0,0 +1,12 @@ +{% include "header_absolute" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} +
+
+
{% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %}
+
{% t .headline, key: current_school.course_vocabulary %}
+
+
+
+ {% include "courses_index", class: "col-xs-12 col-sm-6 col-lg-4 np-stretch-content" %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Magis Center/dashboard.html.liquid b/Custom_Templates/customer_templates/Magis Center/dashboard.html.liquid new file mode 100644 index 00000000..063ae949 --- /dev/null +++ b/Custom_Templates/customer_templates/Magis Center/dashboard.html.liquid @@ -0,0 +1,35 @@ +{% include "header_absolute" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} +
+
+
Discover the intersection of science, reason, and faith
+
Magis Institute for Teachers & Catechists
+
+
+{% comment %} {% include "sub_navigation" %} {% endcomment %} +
+
+
+ {% if features.learning_paths? %} +
+ {% t shared.learning_paths %} +
+ {% include "learning_paths_index", items: learning_paths.enrolled %} + {% endif %} +
+ {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %} +
+ {% include "courses_index", class: "col-xs-12 col-sm-6 np-stretch-content" %} +
+ {% if features.training_events? %} +
+
+ {% t .upcoming_events %} +
+ {% include "training_events_dashboard" %} +
+ {% endif %} +
+
+{% include "footer" %} + diff --git a/Custom_Templates/customer_templates/Magis Center/homepage.html.liquid b/Custom_Templates/customer_templates/Magis Center/homepage.html.liquid new file mode 100644 index 00000000..c675af4c --- /dev/null +++ b/Custom_Templates/customer_templates/Magis Center/homepage.html.liquid @@ -0,0 +1,94 @@ +{% include "header_absolute" %} +{% include "course_version_outdated_alert", courses: courses.featured %} +
+
+ {{ homepage.headline }} +
+
+ {{ homepage.headline }} +
+
+ {{ homepage.subheadline }} +
+ + {% t .discover %} + +
+
+ {% comment %} {% include "sub_navigation" %} {% endcomment %} + +
+{% include "footer" %} + + diff --git a/Custom_Templates/customer_templates/Magis Center/learning_paths.html.liquid b/Custom_Templates/customer_templates/Magis Center/learning_paths.html.liquid new file mode 100644 index 00000000..1a531e8d --- /dev/null +++ b/Custom_Templates/customer_templates/Magis Center/learning_paths.html.liquid @@ -0,0 +1,19 @@ +{% include "header_absolute" %} +
+
+
{% t shared.learning_paths %}
+
{% t .subtitle %}
+
+
+
+
+ {% comment %}
+ {% t shared.learning_paths %} +
+
+ {% t .subtitle %} +
{% endcomment %} + {% include "learning_paths_index", items: learning_paths.available %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Magis Center/styles.css.liquid b/Custom_Templates/customer_templates/Magis Center/styles.css.liquid new file mode 100644 index 00000000..3071321b --- /dev/null +++ b/Custom_Templates/customer_templates/Magis Center/styles.css.liquid @@ -0,0 +1,215 @@ + /* + Put your custom overlay styles in here + You can use your northpass color palette in this file + +{{ color_palette.button_font_color }} +{{ color_palette.button_color }} +{{ color_palette.button_hover_color }} +{{ color_palette.header_font_color }} +{{ color_palette.header_font_hover_color }} +{{ color_palette.header_color }} +*/ + +/* GLOBAL STYLES */ +body, +html { + font-family: 'Poppins', 'Roboto', sans-serif; + background:#fff; +} + +.np-dashboard, +.np-learning-paths { + background: #fff; +} + +.np-button { border-radius:6px; } + +/* CARD STYLES */ +.course-card { box-shadow:none; } + +.course-card .np-card-container { + box-shadow:none; + border-radius:6px; + transition: all 0.4s; + text-decoration:none; +} + +.course-card .np-card-container:hover { + box-shadow: 0 20px 40px rgb(0 0 0 / 20%); +} + +.np-card-image { + border-top-left-radius: 6px; + border-top-right-radius: 6px; +} + +.np-card-content { background-color: #fafafa; } + +.np-card-content { + border-bottom-left-radius: 6px; + border-bottom-right-radius: 6px; +} + +.np-card-content-title { + color:#000; + line-height: 1.8rem; + text-transform: uppercase; + margin-bottom:0; +} + +.card-description { + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + font-size: 14px; + line-height:24px; + flex:1; +} + +.course-card .np-card-content-footer { + margin-top:20px; +} + +.np-card-link { + text-transform: uppercase; + color: #015893; + text-decoration: none; + font-weight: 700; + font-size:14px; +} + +.np-card-link i { + margin-left: 8px; +} + +@media (min-width:768px) { + .course-card { + padding: 0 16px 64px!important; + } + + .row-with-thumbnails { + margin-left:-16px; + margin-right:-16px; + } +} + + +/* BASIC HERO STYLING */ +.basic-hero { + background-color:#eeedeb; + padding:64px 24px; +} + +.basic-hero.has-image { + background-image:url(https://cdn.filestackcontent.com/security=policy:eyJleHBpcnkiOjQ4MzA3OTc4NTIsImNhbGwiOlsicmVhZCIsImNvbnZlcnQiLCJzdG9yZSIsInBpY2siLCJyZW1vdmUiXX0=,signature:ec548cdaa252122149df9f83b63236e888dbe9f59deb76804fe9a7d2da31e35e/QEjCvV4rSOKuUj2quMsY); + background-repeat: no-repeat; + background-size:cover; + background-position:center; +} + +.basic-hero .hero-content { + max-width: 1170px; + width:100%; + margin: auto; +} + +.basic-hero .hero-content .np-resource-title, +.basic-hero .hero-content .np-resource-subtitle { + text-align:center; + color:#264c6f; +} + +.basic-hero.has-image .hero-content .np-resource-title, +.basic-hero.has-image .hero-content .np-resource-subtitle { + color:#fff; +} + +.basic-hero .hero-content .np-resource-title { + font-size: 40px; + line-height:48px; + text-transform: none; +} + +.np-header-search.hero-search { + margin:60px auto 0; + max-width:900px; +} + +.np-header-search-input.hero-search-input { + width: 100%; + background: transparent; + border: 1px solid #fff; + padding: 8px 16px; + border-radius:6px; + height:50px; + opacity:1; +} + +.np-header-search.hero-search .np-header-search-icon { + right:16px; + top: 16px; +} + +@media (min-width:768px) { + .basic-hero { + background-color:rgb(204, 204, 204); + padding:110px 24px 32px; + min-height:430px; + display: flex; + } + + .basic-hero.has-image { + min-height:550px; + } + + .basic-hero .hero-content .np-resource-title { + font-size: 48px; + line-height:56px; + } + + .basic-hero .hero-content .np-resource-subtitle { + font-size: 24px; + margin-top: 32px; + } +} + +@media (min-width:1200px) { + .basic-hero .hero-content .np-resource-title { + font-size: 72px; + line-height:80px; + } + + .basic-hero .hero-content .np-resource-subtitle { + font-size: 30px; + line-height:36px; + margin-top: 40px; + } +} + +/* FOOTER STYLES */ +.np-footer, +.np-footer+.np-powered-by, +.np-powered-by { + background: #264c6f!important; +} + +.np-powered-by .np-powered-by-link { + color:#fff!important; +} + +.np-footer-support-help, +.np-footer-support-item { + color:#fff; +} + +.np-footer-navigation-link { + color: #fff; + font-weight:700; +} + +.np-footer-logo-image { + opacity:1; + filter: grayscale(1) brightness(1) invert(1); +} diff --git a/Custom_Templates/customer_templates/Magis Center/training_events.html.liquid b/Custom_Templates/customer_templates/Magis Center/training_events.html.liquid new file mode 100644 index 00000000..57e47045 --- /dev/null +++ b/Custom_Templates/customer_templates/Magis Center/training_events.html.liquid @@ -0,0 +1,24 @@ +{% include "header_absolute" %} +
+
+
{% t .title %}
+
{% t .subtitle %}
+
+
+
+
+
+ {% comment %}
+ {% t .title %} +
+
+ {% t .subtitle %} +
{% endcomment %} +
+
+ {% include "training_events_filter" %} +
+
+ {% include "training_events_index" %} +
+{% include "footer" %} diff --git a/CustomerNotes/Skuid.md b/CustomerNotes/Skuid.md index ae4579f3..c496be5a 100644 --- a/CustomerNotes/Skuid.md +++ b/CustomerNotes/Skuid.md @@ -155,3 +155,21 @@ Skuid's founder is retiring and joining the board and wants the RTE "beautified" How to use a prop email/secondary email as a recovery email? FEAT: Notifications after a Learning Path - not at the last course! + +## 02/02/2023 + +### Long list from Alexa + +She has Figma file for cert page and will send it to me Friday/Monday for us to build. +TODO: Build Figma in Sandbox - tbd Skuid/Skuad + +Synaps as favorite exam embedding software. They might be an LMS. + +Salesforce no syncing. Support knows about it. All new customers that are coming in are not being synced. +TODO: get update on SFDC integration issue. + +Lots of Skuid Users that try to go to Skuid instead of HR. Now they are resetting their password on Skuid, but not getting emails. +Users sometimes submit tickets others just don't say anything. + +ERROR: Finding it strange that she can pull up a learning path report and everything is fine, but not with course. +She is concerned if someone claims they completed something how can she confirm? diff --git a/CustomerNotes/Walmart.md b/CustomerNotes/Walmart.md index 1268afa9..37906de4 100644 --- a/CustomerNotes/Walmart.md +++ b/CustomerNotes/Walmart.md @@ -369,4 +369,3 @@ TODO: Add first sentence from each description to the "additional information" f Joanna - add arrow on each activity to show the driver that it is clickable. Northpass to wait until we have the official go ahead to make any changes. - diff --git a/Scripts/.DS_Store b/Scripts/.DS_Store index b1f66d91..7ed49bee 100644 Binary files a/Scripts/.DS_Store and b/Scripts/.DS_Store differ diff --git a/Scripts/Walmart_Screenshots/Having Issues Confirming Your Arrival at the Store or Customer Location?_1.png b/Scripts/Walmart_Screenshots/Having Issues Confirming Your Arrival at the Store or Customer Location?_1.png deleted file mode 100644 index 6982051f..00000000 Binary files a/Scripts/Walmart_Screenshots/Having Issues Confirming Your Arrival at the Store or Customer Location?_1.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Having Issues Confirming Your Arrival at the Store or Customer Location?_2.png b/Scripts/Walmart_Screenshots/Having Issues Confirming Your Arrival at the Store or Customer Location?_2.png deleted file mode 100644 index a91f5469..00000000 Binary files a/Scripts/Walmart_Screenshots/Having Issues Confirming Your Arrival at the Store or Customer Location?_2.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Not Receiving App Notifications?_1.png b/Scripts/Walmart_Screenshots/Not Receiving App Notifications?_1.png deleted file mode 100644 index 97d43afe..00000000 Binary files a/Scripts/Walmart_Screenshots/Not Receiving App Notifications?_1.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Not Receiving App Notifications?_2.png b/Scripts/Walmart_Screenshots/Not Receiving App Notifications?_2.png deleted file mode 100644 index 72dd4854..00000000 Binary files a/Scripts/Walmart_Screenshots/Not Receiving App Notifications?_2.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/PDFs/Having Issues Confirming Your Arrival at the Store or Customer Location?_02.01.2023.pdf b/Scripts/Walmart_Screenshots/PDFs/Having Issues Confirming Your Arrival at the Store or Customer Location?_02.01.2023.pdf deleted file mode 100644 index a57c7439..00000000 Binary files a/Scripts/Walmart_Screenshots/PDFs/Having Issues Confirming Your Arrival at the Store or Customer Location?_02.01.2023.pdf and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/PDFs/Not Receiving App Notifications?_02.01.2023.pdf b/Scripts/Walmart_Screenshots/PDFs/Not Receiving App Notifications?_02.01.2023.pdf deleted file mode 100644 index 88545895..00000000 Binary files a/Scripts/Walmart_Screenshots/PDFs/Not Receiving App Notifications?_02.01.2023.pdf and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/PDFs/Pointers on Adding Your Vehicle Details_02.01.2023.pdf b/Scripts/Walmart_Screenshots/PDFs/Pointers on Adding Your Vehicle Details_02.01.2023.pdf deleted file mode 100644 index 76271de3..00000000 Binary files a/Scripts/Walmart_Screenshots/PDFs/Pointers on Adding Your Vehicle Details_02.01.2023.pdf and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/PDFs/Pointers on Creating Your Account_02.01.2023.pdf b/Scripts/Walmart_Screenshots/PDFs/Pointers on Creating Your Account_02.01.2023.pdf deleted file mode 100644 index d0c586ae..00000000 Binary files a/Scripts/Walmart_Screenshots/PDFs/Pointers on Creating Your Account_02.01.2023.pdf and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/PDFs/Pointers on Downloading the Spark Driver™ App & Signing In_02.01.2023.pdf b/Scripts/Walmart_Screenshots/PDFs/Pointers on Downloading the Spark Driver™ App & Signing In_02.01.2023.pdf deleted file mode 100644 index 7a430774..00000000 Binary files a/Scripts/Walmart_Screenshots/PDFs/Pointers on Downloading the Spark Driver™ App & Signing In_02.01.2023.pdf and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/PDFs/Pointers on Reviewing Your Trips_02.01.2023.pdf b/Scripts/Walmart_Screenshots/PDFs/Pointers on Reviewing Your Trips_02.01.2023.pdf deleted file mode 100644 index 97ebfb9a..00000000 Binary files a/Scripts/Walmart_Screenshots/PDFs/Pointers on Reviewing Your Trips_02.01.2023.pdf and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/PDFs/Pointers on Sharing Your Location_02.01.2023.pdf b/Scripts/Walmart_Screenshots/PDFs/Pointers on Sharing Your Location_02.01.2023.pdf deleted file mode 100644 index 2c102f39..00000000 Binary files a/Scripts/Walmart_Screenshots/PDFs/Pointers on Sharing Your Location_02.01.2023.pdf and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/PDFs/Pointers on Turning Off Spark Now_02.01.2023.pdf b/Scripts/Walmart_Screenshots/PDFs/Pointers on Turning Off Spark Now_02.01.2023.pdf deleted file mode 100644 index d2730918..00000000 Binary files a/Scripts/Walmart_Screenshots/PDFs/Pointers on Turning Off Spark Now_02.01.2023.pdf and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/PDFs/Pointers on Updating Your Spark Driver™ App_02.01.2023.pdf b/Scripts/Walmart_Screenshots/PDFs/Pointers on Updating Your Spark Driver™ App_02.01.2023.pdf deleted file mode 100644 index bab4fd9e..00000000 Binary files a/Scripts/Walmart_Screenshots/PDFs/Pointers on Updating Your Spark Driver™ App_02.01.2023.pdf and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/PDFs/Questions About Earnings?_02.01.2023.pdf b/Scripts/Walmart_Screenshots/PDFs/Questions About Earnings?_02.01.2023.pdf deleted file mode 100644 index 6d9aee8b..00000000 Binary files a/Scripts/Walmart_Screenshots/PDFs/Questions About Earnings?_02.01.2023.pdf and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/PDFs/Received a Damaged Order or Item?_02.01.2023.pdf b/Scripts/Walmart_Screenshots/PDFs/Received a Damaged Order or Item?_02.01.2023.pdf deleted file mode 100644 index d4fb4886..00000000 Binary files a/Scripts/Walmart_Screenshots/PDFs/Received a Damaged Order or Item?_02.01.2023.pdf and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/PDFs/Receiving Error Messages & Alerts?_02.01.2023.pdf b/Scripts/Walmart_Screenshots/PDFs/Receiving Error Messages & Alerts?_02.01.2023.pdf deleted file mode 100644 index 9c7376be..00000000 Binary files a/Scripts/Walmart_Screenshots/PDFs/Receiving Error Messages & Alerts?_02.01.2023.pdf and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/PDFs/Tips for Claiming Your Branch Wallet_02.01.2023.pdf b/Scripts/Walmart_Screenshots/PDFs/Tips for Claiming Your Branch Wallet_02.01.2023.pdf deleted file mode 100644 index 5c1bd9e7..00000000 Binary files a/Scripts/Walmart_Screenshots/PDFs/Tips for Claiming Your Branch Wallet_02.01.2023.pdf and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/PDFs/Tips for Receiving Offers_02.01.2023.pdf b/Scripts/Walmart_Screenshots/PDFs/Tips for Receiving Offers_02.01.2023.pdf deleted file mode 100644 index ed589564..00000000 Binary files a/Scripts/Walmart_Screenshots/PDFs/Tips for Receiving Offers_02.01.2023.pdf and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/PDFs/Tips for Setting Your Password & Turning On Notifications_02.01.2023.pdf b/Scripts/Walmart_Screenshots/PDFs/Tips for Setting Your Password & Turning On Notifications_02.01.2023.pdf deleted file mode 100644 index bec62ed8..00000000 Binary files a/Scripts/Walmart_Screenshots/PDFs/Tips for Setting Your Password & Turning On Notifications_02.01.2023.pdf and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/PDFs/Tips for a Smooth Checkout Process_02.02.2023.pdf b/Scripts/Walmart_Screenshots/PDFs/Tips for a Smooth Checkout Process_02.02.2023.pdf new file mode 100644 index 00000000..a552d5de Binary files /dev/null and b/Scripts/Walmart_Screenshots/PDFs/Tips for a Smooth Checkout Process_02.02.2023.pdf differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Adding Your Vehicle Details_1.png b/Scripts/Walmart_Screenshots/Pointers on Adding Your Vehicle Details_1.png deleted file mode 100644 index 7aada3fd..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Adding Your Vehicle Details_1.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Adding Your Vehicle Details_2.png b/Scripts/Walmart_Screenshots/Pointers on Adding Your Vehicle Details_2.png deleted file mode 100644 index 80eb49d5..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Adding Your Vehicle Details_2.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Adding Your Vehicle Details_3.png b/Scripts/Walmart_Screenshots/Pointers on Adding Your Vehicle Details_3.png deleted file mode 100644 index 2ee29592..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Adding Your Vehicle Details_3.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Creating Your Account_1.png b/Scripts/Walmart_Screenshots/Pointers on Creating Your Account_1.png deleted file mode 100644 index 790037a2..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Creating Your Account_1.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Creating Your Account_2.png b/Scripts/Walmart_Screenshots/Pointers on Creating Your Account_2.png deleted file mode 100644 index a81aa8be..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Creating Your Account_2.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Creating Your Account_3.png b/Scripts/Walmart_Screenshots/Pointers on Creating Your Account_3.png deleted file mode 100644 index 7fb7d3e0..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Creating Your Account_3.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Creating Your Account_4.png b/Scripts/Walmart_Screenshots/Pointers on Creating Your Account_4.png deleted file mode 100644 index 4bf5392a..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Creating Your Account_4.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Downloading the Spark Driver™ App & Signing In_1.png b/Scripts/Walmart_Screenshots/Pointers on Downloading the Spark Driver™ App & Signing In_1.png deleted file mode 100644 index 0e778f65..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Downloading the Spark Driver™ App & Signing In_1.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Downloading the Spark Driver™ App & Signing In_2.png b/Scripts/Walmart_Screenshots/Pointers on Downloading the Spark Driver™ App & Signing In_2.png deleted file mode 100644 index 5111fe7d..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Downloading the Spark Driver™ App & Signing In_2.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Reviewing Your Trips_1.png b/Scripts/Walmart_Screenshots/Pointers on Reviewing Your Trips_1.png deleted file mode 100644 index 32275302..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Reviewing Your Trips_1.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Reviewing Your Trips_2.png b/Scripts/Walmart_Screenshots/Pointers on Reviewing Your Trips_2.png deleted file mode 100644 index 38838cde..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Reviewing Your Trips_2.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Reviewing Your Trips_3.png b/Scripts/Walmart_Screenshots/Pointers on Reviewing Your Trips_3.png deleted file mode 100644 index 9005391a..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Reviewing Your Trips_3.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Sharing Your Location_1.png b/Scripts/Walmart_Screenshots/Pointers on Sharing Your Location_1.png deleted file mode 100644 index a4d75347..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Sharing Your Location_1.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Sharing Your Location_2.png b/Scripts/Walmart_Screenshots/Pointers on Sharing Your Location_2.png deleted file mode 100644 index c3e3b566..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Sharing Your Location_2.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Turning Off Spark Now_1.png b/Scripts/Walmart_Screenshots/Pointers on Turning Off Spark Now_1.png deleted file mode 100644 index e7bdb00f..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Turning Off Spark Now_1.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Turning Off Spark Now_2.png b/Scripts/Walmart_Screenshots/Pointers on Turning Off Spark Now_2.png deleted file mode 100644 index 97abeda8..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Turning Off Spark Now_2.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Updating Your Spark Driver™ App_1.png b/Scripts/Walmart_Screenshots/Pointers on Updating Your Spark Driver™ App_1.png deleted file mode 100644 index 215fc47a..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Updating Your Spark Driver™ App_1.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Pointers on Updating Your Spark Driver™ App_2.png b/Scripts/Walmart_Screenshots/Pointers on Updating Your Spark Driver™ App_2.png deleted file mode 100644 index 9ec7643f..00000000 Binary files a/Scripts/Walmart_Screenshots/Pointers on Updating Your Spark Driver™ App_2.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Questions About Earnings?_1.png b/Scripts/Walmart_Screenshots/Questions About Earnings?_1.png deleted file mode 100644 index 870099f8..00000000 Binary files a/Scripts/Walmart_Screenshots/Questions About Earnings?_1.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Questions About Earnings?_2.png b/Scripts/Walmart_Screenshots/Questions About Earnings?_2.png deleted file mode 100644 index c596df6c..00000000 Binary files a/Scripts/Walmart_Screenshots/Questions About Earnings?_2.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Received a Damaged Order or Item?_1.png b/Scripts/Walmart_Screenshots/Received a Damaged Order or Item?_1.png deleted file mode 100644 index 768041e2..00000000 Binary files a/Scripts/Walmart_Screenshots/Received a Damaged Order or Item?_1.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Received a Damaged Order or Item?_2.png b/Scripts/Walmart_Screenshots/Received a Damaged Order or Item?_2.png deleted file mode 100644 index 9dc3bcf2..00000000 Binary files a/Scripts/Walmart_Screenshots/Received a Damaged Order or Item?_2.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Receiving Error Messages & Alerts?_1.png b/Scripts/Walmart_Screenshots/Receiving Error Messages & Alerts?_1.png deleted file mode 100644 index e50803c2..00000000 Binary files a/Scripts/Walmart_Screenshots/Receiving Error Messages & Alerts?_1.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Receiving Error Messages & Alerts?_2.png b/Scripts/Walmart_Screenshots/Receiving Error Messages & Alerts?_2.png deleted file mode 100644 index 32e22e44..00000000 Binary files a/Scripts/Walmart_Screenshots/Receiving Error Messages & Alerts?_2.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Receiving Error Messages & Alerts?_3.png b/Scripts/Walmart_Screenshots/Receiving Error Messages & Alerts?_3.png deleted file mode 100644 index af1bf672..00000000 Binary files a/Scripts/Walmart_Screenshots/Receiving Error Messages & Alerts?_3.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Receiving Error Messages & Alerts?_4.png b/Scripts/Walmart_Screenshots/Receiving Error Messages & Alerts?_4.png deleted file mode 100644 index 432b62fa..00000000 Binary files a/Scripts/Walmart_Screenshots/Receiving Error Messages & Alerts?_4.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Tips for Claiming Your Branch Wallet_1.png b/Scripts/Walmart_Screenshots/Tips for Claiming Your Branch Wallet_1.png deleted file mode 100644 index 32465d2a..00000000 Binary files a/Scripts/Walmart_Screenshots/Tips for Claiming Your Branch Wallet_1.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Tips for Claiming Your Branch Wallet_2.png b/Scripts/Walmart_Screenshots/Tips for Claiming Your Branch Wallet_2.png deleted file mode 100644 index 26846927..00000000 Binary files a/Scripts/Walmart_Screenshots/Tips for Claiming Your Branch Wallet_2.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Tips for Receiving Offers_1.png b/Scripts/Walmart_Screenshots/Tips for Receiving Offers_1.png deleted file mode 100644 index 885572b9..00000000 Binary files a/Scripts/Walmart_Screenshots/Tips for Receiving Offers_1.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Tips for Receiving Offers_2.png b/Scripts/Walmart_Screenshots/Tips for Receiving Offers_2.png deleted file mode 100644 index 65caacc8..00000000 Binary files a/Scripts/Walmart_Screenshots/Tips for Receiving Offers_2.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Tips for Receiving Offers_3.png b/Scripts/Walmart_Screenshots/Tips for Receiving Offers_3.png deleted file mode 100644 index 595cb80a..00000000 Binary files a/Scripts/Walmart_Screenshots/Tips for Receiving Offers_3.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Tips for Receiving Offers_4.png b/Scripts/Walmart_Screenshots/Tips for Receiving Offers_4.png deleted file mode 100644 index 3be7cd8b..00000000 Binary files a/Scripts/Walmart_Screenshots/Tips for Receiving Offers_4.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Tips for Receiving Offers_5.png b/Scripts/Walmart_Screenshots/Tips for Receiving Offers_5.png deleted file mode 100644 index 3c0be768..00000000 Binary files a/Scripts/Walmart_Screenshots/Tips for Receiving Offers_5.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Tips for Setting Your Password & Turning On Notifications_1.png b/Scripts/Walmart_Screenshots/Tips for Setting Your Password & Turning On Notifications_1.png deleted file mode 100644 index 98a47761..00000000 Binary files a/Scripts/Walmart_Screenshots/Tips for Setting Your Password & Turning On Notifications_1.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Tips for Setting Your Password & Turning On Notifications_2.png b/Scripts/Walmart_Screenshots/Tips for Setting Your Password & Turning On Notifications_2.png deleted file mode 100644 index 47591110..00000000 Binary files a/Scripts/Walmart_Screenshots/Tips for Setting Your Password & Turning On Notifications_2.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/Tips for Setting Your Password & Turning On Notifications_3.png b/Scripts/Walmart_Screenshots/Tips for Setting Your Password & Turning On Notifications_3.png deleted file mode 100644 index 21062951..00000000 Binary files a/Scripts/Walmart_Screenshots/Tips for Setting Your Password & Turning On Notifications_3.png and /dev/null differ diff --git a/Scripts/Walmart_Screenshots/combine_to_pdf.py b/Scripts/Walmart_Screenshots/combine_to_pdf.py index 84ee4ded..5e7cf508 100644 --- a/Scripts/Walmart_Screenshots/combine_to_pdf.py +++ b/Scripts/Walmart_Screenshots/combine_to_pdf.py @@ -11,10 +11,10 @@ def find_pictures(): for file in listfiles: files.append(os.path.basename(file)) # Now file will only show the file name, not the entire path - split_resources(files) + split_resources(files, currentdir) -def split_resources(files): +def split_resources(files, currentdir): print(files) try: resource_title = files[0] @@ -26,21 +26,18 @@ def split_resources(files): new_list.append(file) for item in new_list: files.remove(item) - split_resources(files) - print(new_list) - process_pictures(new_list, resource_title) + split_resources(files, currentdir) + process_pictures(new_list, resource_title, currentdir) except IndexError as e: pass finally: pass -def process_pictures(new_list, resource_title): +def process_pictures(new_list, resource_title, currentdir): today = date.today() today = today.strftime("%m.%d.%Y") image_list = [] - print(new_list) - print(resource_title) resource = Image.open(new_list[0]) resource = resource.convert("RGB") for picture in new_list[1:]: @@ -49,35 +46,22 @@ def process_pictures(new_list, resource_title): image_list.append(converted) # image_list.append(image) resource.save( - rf"/Users/normrasmussen/Documents/Northpass/Scripts/Walmart_Screenshots/PDFs/{resource_title}_{today}.pdf", + currentdir + f"/PDFs/{resource_title}_{today}.pdf", save_all=True, append_images=image_list, ) + delete_originals(currentdir) -def notusable(): - image1 = Image.open( - r"/Users/normrasmussen/Documents/Northpass/Scripts/Walmart_Screenshots/Branch Wallet FAQs_1.png" - ) - image2 = Image.open( - r"/Users/normrasmussen/Documents/Northpass/Scripts/Walmart_Screenshots/Branch Wallet FAQs_2.png" - ) - image3 = Image.open( - r"/Users/normrasmussen/Documents/Northpass/Scripts/Walmart_Screenshots/Branch Wallet FAQs_3.png" - ) - - im1 = image1.convert("RGB") - im2 = image2.convert("RGB") - im3 = image3.convert("RGB") - - imagelist = [im1, im2, im3] - - im1.save( - r"/Users/normrasmussen/Documents/Northpass/Scripts/Walmart_Screenshots/mergedImages.pdf", - save_all=True, - append_images=imagelist, - ) - +def delete_originals(currentdir): + path = glob.glob(currentdir + "*.png") + for file in path: + try: + os.remove(file) + except: + print("Error!") + finally: + print("All Done") if __name__ == "__main__": find_pictures() diff --git a/Scripts/Walmart_Screenshots/resources.js b/Scripts/Walmart_Screenshots/resources.js index bc762b8f..37bab373 100644 --- a/Scripts/Walmart_Screenshots/resources.js +++ b/Scripts/Walmart_Screenshots/resources.js @@ -29,6 +29,7 @@ const url = [ ] */ const apiKey = "6hUfJdAartHTHhHc0WIRZYPWe" + const url = process.argv[2]; if (!url) { throw "Please provide a URL as the first argument"; diff --git a/Scripts/Walmart_Screenshots/resources_api.js b/Scripts/Walmart_Screenshots/resources_api.js new file mode 100644 index 00000000..92a6dec0 --- /dev/null +++ b/Scripts/Walmart_Screenshots/resources_api.js @@ -0,0 +1,109 @@ +const puppeteer = require('puppeteer'); +const axios = require('axios') +const path = require('path') + +const apiKey = "6hUfJdAartHTHhHc0WIRZYPWe" +const uid = "/\?uid\=7b84eae4-fb34-4689-9f33-24071c3e5a41"; +const groupIds = [] + +const getAllGroups = async (num) => { + if(num === 1){ + } + + let page = num; + + await axios({ + method: 'get', + url: `https://api.northpass.com/v2/courses?page=${page}&limit=100`, + headers: { + 'accept': '*/*', + 'x-api-key': apiKey, + 'content-type': 'application/json' + } + }) + .then(async (res) => { + if (res.data.links.next != null) { + page++; + for (let i = 0; i < res.data.data.length; i++) { + if (res.data.data[i].attributes.status == "live") { + groupIds.push(res.data.data[i].id) + } + } + await getAllGroups(page); + } else { + for (let i = 0; i < res.data.data.length; i++) { + if (res.data.data[i].attributes.status == "live") { + groupIds.push(res.data.data[i].id) + } + } + } + }) + .catch(err => { + console.log(err); + }) + let i = 0 + loopIds(i) + console.log(groupIds) +} + +function loopIds(i) { + var num = 1 + id = groupIds[i] + courseOverview(id, i, num) +} + +async function courseOverview(id, i, num) { + const activity = new Array(); + const url = "https://walmart.northpass.com/app/courses/"; + const browser = await puppeteer.launch(); + const page = await browser.newPage(); + const course = url+id+uid; + console.log(course) + await page.setViewport({ width:390, height:844 }) + await page.goto(course, { + waitUntil: 'load', + timeout: 0 }); + + await page.title(); + const [getXpath] = await page.$x('/html/body/div[2]/div/div'); + const resourcetitle = await page.evaluate(name => name.innerText, getXpath); + const resource = resourcetitle.trim(); + console.log(resource); + + await page.screenshot({path: `${resource}_1.png`, fullPage:true, headless:false}); + + const hrefs = await page.$$eval('a', as => as.map(a => a.href)); + var links = Object.entries(hrefs); + links.forEach(([key, value]) => { + var link = value; + if (link.includes("activities") && (link.includes(id))) { + console.log(link); + activity.push(link); + } + }); + setTimeout(() => { + + }, 5000); + uniqueLinks = [...new Set(activity)]; + for (const link of uniqueLinks) { + num = num+1 + const newlink = link+uid; + await page.setViewport({ width: 390, height: 844 }) + await page.goto(newlink, { + waitUntil: 'load', + timeout: 0 }); + await page.screenshot({path: `${resource}_${num}.png`, fullPage: true, headless: false}); + //screenshots(newlink, resource, num, i); + } + await browser.close(); + i++; + loopIds(i); +} + +async function screenshots(newlink, resource, num, i) { + const browser = await puppeteer.launch(); + const page = await browser.newPage(); + await browser.close(); +} + +getAllGroups(); diff --git a/Timetagger/_timetagger/users/norm~bm9ybQ==.db b/Timetagger/_timetagger/users/norm~bm9ybQ==.db index f710a51a..70369d65 100644 Binary files a/Timetagger/_timetagger/users/norm~bm9ybQ==.db and b/Timetagger/_timetagger/users/norm~bm9ybQ==.db differ