WilliamSonoma templates. Chubb CISA script. Cloning for Anthology Partners.
This commit is contained in:
BIN
Custom_Templates/customer_templates/WSGC - New Hire/.DS_Store
vendored
Normal file
BIN
Custom_Templates/customer_templates/WSGC - New Hire/.DS_Store
vendored
Normal file
Binary file not shown.
@ -36,4 +36,4 @@
|
||||
text-decoration: none;
|
||||
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
@ -15,7 +15,19 @@
|
||||
Supplementals
|
||||
</a>
|
||||
<div class="np-sub-navigation-content-item-bar np-button-background-color"></div>
|
||||
</div>
|
||||
</div>
|
||||
{% for course in courses.enrolled %}
|
||||
{% for category in course.categories %}
|
||||
{% if category.name == "Instructor-Led" %}
|
||||
<div class="np-sub-navigation-content-item ilt-link">
|
||||
<a class="np-sub-navigation-content-item-link" href="/app/instructor-led-training">
|
||||
Instructor-Led Training
|
||||
</a>
|
||||
<div class="np-sub-navigation-content-item-bar np-button-background-color"></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@ -44,4 +56,7 @@
|
||||
if (window.location.pathname == "/app/supplementals") {
|
||||
document.querySelector(".supplementals-link").classList.add("active")
|
||||
}
|
||||
if (window.location.pathname == "/app/instructor-led-training") {
|
||||
document.querySelector(".ilt-link").classList.add("active")
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -0,0 +1,25 @@
|
||||
{% include "header" %}
|
||||
<div class="np-homepage-hero">
|
||||
<img class="np-homepage-hero-image" src="{{ homepage.artwork_url }}" />
|
||||
</div>
|
||||
{% include "course_version_outdated_alert", courses: courses.in_catalog %}
|
||||
{% include "sub_navigation" %}
|
||||
<main class="np-main np-catalog np-subpage-container np-max-width">
|
||||
<div class="np-catalog-header-wrapper">
|
||||
<div class="np-catalog-header">
|
||||
<div class="np-resource-title">{{ custom_page.headline }}</div>
|
||||
<div class="np-resource-subtitle">{{ custom_page.subheadline }}</div>
|
||||
</div>
|
||||
</div>
|
||||
{% for course in courses.enrolled %}
|
||||
{% for category in course.categories %}
|
||||
{% if category.name == "Instructor-Led" %}
|
||||
<div class="row row-with-thumbnails">
|
||||
{% include "cards_course" with course %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</main>
|
||||
{% include "footer" %}
|
||||
Reference in New Issue
Block a user