Talkspace no access templates uploaded. CIN7 api key added and new send grid request.

This commit is contained in:
Norm Rasmussen
2023-12-08 17:20:26 -05:00
parent e5b04c594c
commit 1d8a2e6f2b
9 changed files with 131 additions and 55 deletions

View File

@ -5,13 +5,14 @@
<form class="np-form np-box-content" action="{{ form.url }}" method="get" novalidate>
{% form_authenticity_token %}
<div class="np-form-headline">
{% t shared.welcome_to_school, school_name: current_school.name %}
Talkspace Academy
</div>
<div class="np-form-subheadline">
{% t .headline, key: current_school.course_vocabulary %}
<div class="np-form-subheadline">
Thanks for your interesting in Talkspace Education. This training link is no longer valid. If you have any questions or needs please reach out to the People Ops Team here: http://peopleopshelp.talkspace.com/.
</div>
{% comment %}
<div class="np-form-field">
<label class="np-input-label" for="learner_first_name">
<label class="np-input-label" for="learner_first_name">
{% t shared.first_name %}
</label>
<input
@ -20,7 +21,7 @@
type="text"
name="first_name"
id="learner_first_name"
value="{{ form.first_name }}"
value="{{ form.first_name | escape }}"
/>
</div>
<div class="np-form-field">
@ -32,7 +33,7 @@
type="text"
name="last_name"
id="learner_last_name"
value="{{ form.last_name }}"
value="{{ form.last_name | escape }}"
/>
</div>
<div class="np-form-field">
@ -44,7 +45,7 @@
type="text"
name="email"
id="learner_email"
value="{{ form.email }}"
value="{{ form.email | escape }}"
/>
</div>
<input
@ -52,7 +53,7 @@
name="commit"
value="{% t shared.enter %}"
class="np-button np-button-big np-form-action"
/>
/>{% endcomment %}
</form>
</div>
</div>

View File

@ -1,52 +1,59 @@
<main class="np-main np-box-container">
<main class="np-box-container np-open-access">
<div class="np-box">
{% include "header_minimal" %}
<div class="np-box-content-container">
<form class="np-form np-box-content" action="{% route login %}" method="post" novalidate>
{% form_authenticity_token %}
<div class="np-form-headline">
Talkspace-Northpass Academy
</div>
<div class="np-form-subheadline">
Thanks for your interesting in Talkspace Education. This training link is no longer valid. If you have any questions or needs please reach out to the People Ops Team here: http://peopleopshelp.talkspace.com/.
</div>
{% comment %}
<div class="np-form-field">
<label class="np-input-label" for="learner_first_name">
{% t shared.first_name %}
</label>
<input
class="np-input"
autofocus="autofocus"
type="text"
name="first_name"
id="learner_first_name"
value="{{ form.first_name | escape }}"
/>
</div>
<div class="np-form-field">
<label class="np-input-label" for="learner_last_name">
{% t shared.last_name %}
</label>
<input
class="np-input"
type="text"
name="last_name"
id="learner_last_name"
value="{{ form.last_name | escape }}"
/>
</div>
<div class="np-form-field">
<label class="np-input-label" for="learner_email">
{% t shared.email_address %}
</label>
<input
class="np-input"
autofocus="autofocus"
type="email"
name="learner[email]"
type="text"
name="email"
id="learner_email"
>
value="{{ form.email | escape }}"
/>
</div>
<div class="np-form-field">
<label class="np-input-label" for="learner_password">
{% t shared.password %}
</label>
<input
class="np-input"
type="password"
name="learner[password]"
id="learner_password"
>
</div>
<button type="submit" class="np-button np-button-big np-button-large-font np-form-action">
{% t shared.sign_in %}
</button>
<a class="np-form-link np-button-color" href="{% route forgot_password_new %}">
{% t .forgot_password %}
</a>
{% if features.account_creation? %}
<a class="np-form-link np-button-color" href="{% route sign_up %}">
{% t shared.sign_up %}
</a>
{% endif %}
{% if features.request_access? %}
<a
class="np-form-link np-button-color"
target="_blank"
href="{{ current_school.request_access_link }}"
>
{{ current_school.request_access_label }}
</a>
{% endif %}
<input
type="submit"
name="commit"
value="{% t shared.enter %}"
class="np-button np-button-big np-form-action"
/>{% endcomment %}
</form>
</div>
</div>

View File

@ -0,0 +1,60 @@
<main class="np-box-container np-open-access">
<div class="np-box">
{% include "header_minimal" %}
<div class="np-box-content-container">
<form class="np-form np-box-content" action="{{ form.url }}" method="get" novalidate>
{% form_authenticity_token %}
<div class="np-form-headline">
Talkspace-Northpass Academy
</div>
<div class="np-form-subheadline">
Thanks for your interesting in Talkspace Education. This training link is no longer valid. If you have any questions or urgent needs please email training@talkspace.com.
</div>
{% comment %}
<div class="np-form-field">
<label class="np-input-label" for="learner_first_name">
{% t shared.first_name %}
</label>
<input
class="np-input"
autofocus="autofocus"
type="text"
name="first_name"
id="learner_first_name"
value="{{ form.first_name | escape }}"
/>
</div>
<div class="np-form-field">
<label class="np-input-label" for="learner_last_name">
{% t shared.last_name %}
</label>
<input
class="np-input"
type="text"
name="last_name"
id="learner_last_name"
value="{{ form.last_name | escape }}"
/>
</div>
<div class="np-form-field">
<label class="np-input-label" for="learner_email">
{% t shared.email_address %}
</label>
<input
class="np-input"
type="text"
name="email"
id="learner_email"
value="{{ form.email | escape }}"
/>
</div>
<input
type="submit"
name="commit"
value="{% t shared.enter %}"
class="np-button np-button-big np-form-action"
/>{% endcomment %}
</form>
</div>
</div>
</main>

View File

@ -5,13 +5,14 @@
<form class="np-form np-box-content" action="{{ form.url }}" method="get" novalidate>
{% form_authenticity_token %}
<div class="np-form-headline">
{% t shared.welcome_to_school, school_name: current_school.name %}
Talkspace Academy
</div>
<div class="np-form-subheadline">
{% t .headline, key: current_school.course_vocabulary %}
<div class="np-form-subheadline">
Thanks for your interesting in Talkspace Education. This training link is no longer valid. If you have any questions or needs please reach out to the People Ops team at this link: http://providerpeopleopshelp.talkspace.com/.
</div>
{% comment %}
<div class="np-form-field">
<label class="np-input-label" for="learner_first_name">
<label class="np-input-label" for="learner_first_name">
{% t shared.first_name %}
</label>
<input
@ -20,7 +21,7 @@
type="text"
name="first_name"
id="learner_first_name"
value="{{ form.first_name }}"
value="{{ form.first_name | escape }}"
/>
</div>
<div class="np-form-field">
@ -32,7 +33,7 @@
type="text"
name="last_name"
id="learner_last_name"
value="{{ form.last_name }}"
value="{{ form.last_name | escape }}"
/>
</div>
<div class="np-form-field">
@ -44,7 +45,7 @@
type="text"
name="email"
id="learner_email"
value="{{ form.email }}"
value="{{ form.email | escape }}"
/>
</div>
<input
@ -52,7 +53,7 @@
name="commit"
value="{% t shared.enter %}"
class="np-button np-button-big np-form-action"
/>
/>{% endcomment %}
</form>
</div>
</div>

View File

@ -20,3 +20,4 @@ CHUBB = "m6ZEBesXzpWx2vmp11rEHxrMY"
BIRCHSTREET = "WpMV3jF4q9Om5FjUsrzZifduE"
G2 = "JRDpCGQ7vSRiva6t5OkWDr5eJ"
DOUGLASELLIMAN = "Bknf8kidbluRfcKu3m3lKoxS8"
CIN7 = "51BNlRsLYKQxSu1q1UQq7F63j"

View File

@ -1,12 +1,12 @@
import requests
import sys
sys.path.insert(0, "./API_Tests/")
import requests
import Apikeys
apikey = Apikeys.G2
apikey = Apikeys.CIN7
url = "https://api.northpass.com/v2/email_domains"
header = { "x-api-key": apikey, "Content-Type": "application/json" }
payload = {"domain": "g2.com", "custom_dkim_selector": "n"}
payload = {"domain": "cin7.com", "custom_dkim_selector": "n"}
response = requests.post(url, headers=header, json=payload)

3
tmp.css Normal file
View File

@ -0,0 +1,3 @@
#282A36,#44475A,#F8F8F2,#6272A4,#8BE9FD,#50FA7B,#FFB86C,#FF79C6,#BD93F9,#FF5555
#282A36,#44475A,#44475A,#8BE9FD,#6272A4,#FFFFFF,#50FA7B,#FF5555,#44475A,#F1FA8C

3
tmp.md Normal file
View File

@ -0,0 +1,3 @@
#282A36,#44475A,#F8F8F2,#6272A4,#8BE9FD,#50FA7B,#FFB86C,#FF79C6,#BD93F9,#FF5555
#282A36,#44475A,#44475A,#8BE9FD,#6272A4,#FFFFFF,#50FA7B,#FF5555,#44475A,#F1FA8C