LJ Hooker changes. Skuid fix on homepage.
This commit is contained in:
@ -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? %}
|
||||
<nav class="np-tabs np-account-tabs">
|
||||
<div class="np-tabs-content">
|
||||
<div class="np-tab{% if page.path == settings_path %} np-tab-active{% endif %}">
|
||||
<a class="np-tab-link" href="{{ settings_path}}">
|
||||
{% t .profile_settings %}
|
||||
</a>
|
||||
<div class="np-tab-indicator np-button-background-color"></div>
|
||||
</div>
|
||||
<div class="np-tab{% if page.path == transcript_path %} np-tab-active{% endif %}">
|
||||
<a class="np-tab-link" href="{{ transcript_path }}">
|
||||
{% t .transcript %}
|
||||
</a>
|
||||
<div class="np-tab-indicator np-button-background-color"></div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
{% endunless %}
|
||||
{% endif %}
|
||||
@ -173,7 +173,7 @@
|
||||
<div class="carousel-card-container">
|
||||
<img class="featured_instructors_carousel_image" src="https://i.ibb.co/MN7tyz5/Luke-Whitelam-1.png" />
|
||||
<div class="card-content-container">
|
||||
<div class="instructor-heading">Luke Whitelam</div>
|
||||
<div class="instructor-heading">Luke Whitelum</div>
|
||||
{% comment %} <div class="instructor-profession">State Manager (QLD/NT)</div> {% endcomment %}
|
||||
<div class="instructor-profession">Strategic Growth NSW</div>
|
||||
<div class="instructor-desc">
|
||||
|
||||
@ -0,0 +1,6 @@
|
||||
<div class="np-training-session-cta-note np-training-session-tile-badge np-training-session-tile-badge-{{ training_session.status.type }}">
|
||||
{% if training_session.approved? %}
|
||||
<i class="far fa-check np-training-session-icon"></i>
|
||||
{% endif %}
|
||||
{{ training_session.status.label }}
|
||||
</div>
|
||||
@ -44,4 +44,4 @@
|
||||
padding: 0 18px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
</a>
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %} {% endcomment %}
|
||||
</div>
|
||||
|
||||
@ -181,7 +181,7 @@
|
||||
<script>
|
||||
addEventListener('DOMContentLoaded', () => {
|
||||
let categoriesOrder = ['sales', 'property-management', 'leadership', 'systems-and-technology', 'marketing', 'commercial', 'webinars']
|
||||
|
||||
|
||||
let coursesWrapper = document.querySelector('.carousel-order-wrapper');
|
||||
categoriesOrder.forEach(category => {
|
||||
if (category !== 'ALL') {
|
||||
@ -195,4 +195,4 @@
|
||||
coursesWrapper.appendChild(courseSection);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
</div>
|
||||
<div class="coach-image">
|
||||
<div class="coach-description">
|
||||
<div class="coach-name">Luke Whitelam</div>
|
||||
<div class="coach-name">Luke Whitelum</div>
|
||||
<div class="coach-job">Strategic Growth NSW</div>
|
||||
<div class="coach-desc">
|
||||
<div class="specialties">
|
||||
|
||||
@ -0,0 +1,8 @@
|
||||
{% include "header" %}
|
||||
{% include "account_tabs" %}
|
||||
|
||||
<main class="np-main np-subpage-container np-transcript">
|
||||
{% transcript %}
|
||||
</main>
|
||||
|
||||
{% include "footer" %}
|
||||
@ -17,7 +17,7 @@
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@ -41,10 +41,10 @@
|
||||
</div>
|
||||
<div class="see-all-btn-container">
|
||||
<a class="see-all-btn" href="/app/courses-category?category={{category_joined}}">See All</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{%
|
||||
include "categories_carousel",
|
||||
{%
|
||||
include "categories_carousel",
|
||||
items: courses.enrolled,
|
||||
topic: enrolled_category,
|
||||
%}
|
||||
@ -168,4 +168,4 @@
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
@ -92,9 +92,6 @@
|
||||
{% endif%}
|
||||
{% endfor %}
|
||||
|
||||
{{ school.custom_properties.banner_text}}
|
||||
<if></if>
|
||||
|
||||
{% if view_more_counter >= 4%}
|
||||
<button class="np-top-button np-button-font-color np-button np-button-big view-more-button" onclick="viewMore()">View More</button>
|
||||
{% endif %}
|
||||
|
||||
@ -0,0 +1,27 @@
|
||||
import json
|
||||
import requests
|
||||
|
||||
WEBHOOK_ENDPOINT = "https://webhooks.workato.com/webhooks/rest/604b4fc0-fcd9-4f3b-b715-b42d7f740ba6/domains-updated"
|
||||
PAYLOAD = {
|
||||
'domain_to_update': {
|
||||
'domain': "swtc.edu",
|
||||
'group_ids': [
|
||||
"2b5267b2-ce87-4e77-ad88-5cfec80496b9",
|
||||
"59ccfdeb-8a8a-4693-b4fa-27034192071c",
|
||||
"84d32175-8cb8-4fb0-95cc-6ae13d40aaaa",
|
||||
"5f35e542-a8cf-4422-8e87-466cdca62864",
|
||||
"55bae3db-5f62-4be3-823a-bcb429b8a2b2",
|
||||
"4754b85b-e7a6-41a8-b0e9-5e02c58ebc38",
|
||||
"fa8914be-0986-460c-884d-9973a9622045",
|
||||
"b9f734fa-de0d-4a0b-9ce2-c092126e1d8d",
|
||||
"106775db-a00d-4956-bf27-97ea269bb001",
|
||||
"594cd6c0-17db-4241-be56-ad28a8db4f7b",
|
||||
],
|
||||
}
|
||||
}
|
||||
|
||||
HEADERS = {"content-type": "application/json" }
|
||||
|
||||
response = requests.post(WEBHOOK_ENDPOINT, data=json.dumps(PAYLOAD))
|
||||
print(response.status_code)
|
||||
print(response.text)
|
||||
Reference in New Issue
Block a user