Luminate templates for the language switcher. Added some items to the screenshot scraper.
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
|
||||
setTimeout(function() {
|
||||
document.querySelector(".info-form-trigger").click()
|
||||
}, 1000)
|
||||
}, 1000)
|
||||
}
|
||||
}
|
||||
});
|
||||
@ -118,10 +118,10 @@
|
||||
key: current_school.course_vocabulary
|
||||
%}
|
||||
{% endcapture %}
|
||||
|
||||
|
||||
{% include "courses_zero_state", message: message %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
</main>
|
||||
{% include "footer" %}
|
||||
|
||||
@ -139,7 +139,7 @@
|
||||
|
||||
let courseName = homepageCourses[i].querySelector('.np-card-content-title').textContent.toLowerCase();
|
||||
|
||||
if(courseName.indexOf(event.target.value) > -1){
|
||||
if(courseName.indexOf(event.target.value.toLowerCase()) > -1){
|
||||
if(!homepageCourses[i].classList.contains('filtered')){
|
||||
homepageCourses[i].style.display = 'block';
|
||||
}
|
||||
@ -205,7 +205,7 @@
|
||||
const learnerTitle = localStorage.getItem("learnerTitle");
|
||||
const learnerPrimaryRole = localStorage.getItem("learnerPrimaryRole");
|
||||
const learnerPrimaryRoleOther = localStorage.getItem("learnerPrimaryRoleOther");
|
||||
|
||||
|
||||
let userData = {
|
||||
learner_uuid: '{{current_person.id}}',
|
||||
learner_name: '{{current_person.first_name}} {{current_person.last_name}}',
|
||||
@ -257,7 +257,7 @@
|
||||
|
||||
.catalog-search-component,
|
||||
.catalog-filter-component{
|
||||
display: flex;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
@ -306,7 +306,7 @@
|
||||
margin: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
.np-subpage-container{
|
||||
padding: 50px 50px 184px;
|
||||
}
|
||||
@ -331,7 +331,7 @@
|
||||
|
||||
.catalog-header-wrapper{
|
||||
margin-top: 300px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 2200px){
|
||||
@ -345,4 +345,4 @@
|
||||
margin-top: 400px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user