New script for getting everyone who is in each group and export to CSV. Skan templates. A few other small things
This commit is contained in:
39
Custom_Templates/customer_templates/Skan/course.html.liquid
Normal file
39
Custom_Templates/customer_templates/Skan/course.html.liquid
Normal file
@ -0,0 +1,39 @@
|
||||
{% include "header" %}
|
||||
<main class="np-main np-max-width np-page-container">
|
||||
<div class="np-hidden-mobile" id="course-desktop">
|
||||
{% include "course_desktop_view" %}
|
||||
</div>
|
||||
<div class="np-hidden-desktop" id="course-mobile">
|
||||
{% include "course_mobile_view" %}
|
||||
</div>
|
||||
</main>
|
||||
{% include "footer" %}
|
||||
|
||||
<style>
|
||||
body{
|
||||
background: url('https://s3.amazonaws.com/static.northpass.com/skan_ai/background.png');
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.np-page-container{
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px){
|
||||
.np-page-container{
|
||||
margin: calc(8.25rem + 75px) auto 8.25rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
if (window.location.pathname.includes('/learning_paths')) {
|
||||
addEventListener('DOMContentLoaded', () => {
|
||||
document.querySelectorAll('h3.np-card-heading').forEach(x => {
|
||||
if (x.innerText.toLowerCase().includes('course')) {
|
||||
x.innerText = x.innerText.replaceAll('course', 'certificate').replaceAll('Course', 'Certificate');
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user