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:
Norm Rasmussen
2024-07-19 16:29:00 -04:00
parent bf0244b2fe
commit da2e0d2c38
108 changed files with 3481 additions and 7 deletions

View File

@ -0,0 +1,24 @@
<div class="np-top-vocabulary np-text-title np-text-muted">
{{ current_school.course_vocabulary }}
<i class="far fa-graduation-cap np-button-color np-learning-path-icon np-hidden-mobile">
</i>
</div>
<div class="np-top-title">
<a href="{% route dashboard %}" class="np-back-button" id="course-header-back-button" aria-label="{% t shared.go_back %}">
<i class="far fa-arrow-left np-hidden-mobile np-icon-back"></i>
</a>
{{ course.name }}
</div>
<img
src="{{ course.image_url }}"
class="np-top-image np-hidden-desktop"
alt="{{ course.name }}"
/>
<script>
if(window.location.href.indexOf('/learning_paths') > -1){
let reroute = '/app' + window.location.href.slice(window.location.href.indexOf('/learning_paths/'),window.location.href.indexOf('/learning_paths/')+52);
document.querySelector('#course-header-back-button').setAttribute('href', reroute);
}
</script>