Small Luminate templates.
This commit is contained in:
@ -170,6 +170,7 @@
|
|||||||
{% include "homepage_ongoing_training", items: catalog_courses %}
|
{% include "homepage_ongoing_training", items: catalog_courses %}
|
||||||
|
|
||||||
{% include "homepage_topics" %}
|
{% include "homepage_topics" %}
|
||||||
|
{%- comment -%}
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="popup-trigger"
|
class="popup-trigger"
|
||||||
@ -190,6 +191,7 @@
|
|||||||
Click
|
Click
|
||||||
</button>
|
</button>
|
||||||
</main>
|
</main>
|
||||||
|
{%- endcomment -%}
|
||||||
{% include "footer" %}
|
{% include "footer" %}
|
||||||
|
|
||||||
<div
|
<div
|
||||||
@ -200,6 +202,8 @@
|
|||||||
aria-describedby="dialogContent"
|
aria-describedby="dialogContent"
|
||||||
aria-hidden="true">
|
aria-hidden="true">
|
||||||
<section class="first-time-user-popup-container">
|
<section class="first-time-user-popup-container">
|
||||||
|
<a href="javascript:setPopupSeenProperty('/app/dashboard')"
|
||||||
|
class="secondary" data-toggle-trigger-off style="display: block; color:black; padding: 14px 0 0 15px"> <i class="fa fa-times"></i></a>
|
||||||
<div id="dialogContent" class="first-time-user-popup-content">
|
<div id="dialogContent" class="first-time-user-popup-content">
|
||||||
<div class="modal-headline">
|
<div class="modal-headline">
|
||||||
{% if current_person.first_name %}👋 Hi, {{ current_person.first_name }}!{% endif %}
|
{% if current_person.first_name %}👋 Hi, {{ current_person.first_name }}!{% endif %}
|
||||||
@ -231,6 +235,8 @@
|
|||||||
aria-describedby="dialogContent"
|
aria-describedby="dialogContent"
|
||||||
aria-hidden="true">
|
aria-hidden="true">
|
||||||
<section class="survey-popup-container">
|
<section class="survey-popup-container">
|
||||||
|
<a href="javascript:setPopupSeenProperty('/app/dashboard')"
|
||||||
|
class="secondary" data-toggle-trigger-off style="display: block; color: black; padding: 14px 0 0 15px"> <i class="fa fa-times"></i></a>
|
||||||
<div id="dialogContent" class="survey-popup-content">
|
<div id="dialogContent" class="survey-popup-content">
|
||||||
<div class="modal-headline">Help us improve your experience!</div>
|
<div class="modal-headline">Help us improve your experience!</div>
|
||||||
<div class="modal-links">
|
<div class="modal-links">
|
||||||
|
|||||||
@ -6,13 +6,13 @@ import pandas as pd
|
|||||||
import Apikeys
|
import Apikeys
|
||||||
|
|
||||||
pp = pprint.PrettyPrinter(indent=4)
|
pp = pprint.PrettyPrinter(indent=4)
|
||||||
APIKEY = Apikeys.SANDATA
|
APIKEY = Apikeys.CHUBB
|
||||||
HEADERS = {
|
HEADERS = {
|
||||||
"accept": "application/json",
|
"accept": "application/json",
|
||||||
"X-Api-Key": APIKEY,
|
"X-Api-Key": APIKEY,
|
||||||
}
|
}
|
||||||
BASEURL = "https://api.northpass.com/v2/"
|
BASEURL = "https://api.northpass.com/v2/"
|
||||||
IMPORTFILE = "/Users/normrasmussen/Downloads/sandata-employees.csv"
|
IMPORTFILE = "/Users/normrasmussen/Downloads/chubb.csv"
|
||||||
|
|
||||||
|
|
||||||
def bulk_invite_and_group():
|
def bulk_invite_and_group():
|
||||||
@ -66,9 +66,9 @@ def add_props():
|
|||||||
df = pd.DataFrame()
|
df = pd.DataFrame()
|
||||||
data = pd.read_csv(IMPORTFILE)
|
data = pd.read_csv(IMPORTFILE)
|
||||||
for dat in data.iterrows():
|
for dat in data.iterrows():
|
||||||
# agency_name = dat[1][3]
|
agency_name = dat[1][3]
|
||||||
agency_name = "EMPLOYEE"
|
# agency_name = "EMPLOYEE"
|
||||||
learner_email = dat[1][1]
|
learner_email = dat[1][2]
|
||||||
print(learner_email)
|
print(learner_email)
|
||||||
ppl_search = f"{BASEURL}people?filter[email][eq]={learner_email}"
|
ppl_search = f"{BASEURL}people?filter[email][eq]={learner_email}"
|
||||||
ppl_response = requests.get(ppl_search, headers=HEADERS)
|
ppl_response = requests.get(ppl_search, headers=HEADERS)
|
||||||
@ -82,7 +82,7 @@ def add_props():
|
|||||||
payload = {
|
payload = {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"attributes": {"properties": {"medicaid_id": agency_name }},
|
"attributes": {"properties": {"agency_name": agency_name }},
|
||||||
"id": learner_uuid,
|
"id": learner_uuid,
|
||||||
"type": "person_properties",
|
"type": "person_properties",
|
||||||
}
|
}
|
||||||
|
|||||||
4
Todos.md
4
Todos.md
@ -336,8 +336,8 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th
|
|||||||
## 06-06-2024
|
## 06-06-2024
|
||||||
|
|
||||||
- [ ] DataSnipper - People & Groups Report
|
- [ ] DataSnipper - People & Groups Report
|
||||||
- [ ] Sandata - If someone selects Caregiver role, place them in the caregiver group according to their state
|
- [X] Sandata - If someone selects Caregiver role, place them in the caregiver group according to their state
|
||||||
- [ ] Sandata - Do not place a user in the Admin group if they select the state: Ohio.
|
- [X] Sandata - Do not place a user in the Admin group if they select the state: Ohio.
|
||||||
- [X] Walmart Luminate - Mass delete from file.
|
- [X] Walmart Luminate - Mass delete from file.
|
||||||
- [X] Chubb - Add props to all users from file.
|
- [X] Chubb - Add props to all users from file.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user