Skuid Notes. Some new template changes. Added Luminate's GAS to the repo.

This commit is contained in:
Norm Rasmussen
2023-08-03 21:14:43 -04:00
parent c2a6854ae3
commit e5c9674186
11 changed files with 234 additions and 6 deletions

View File

@ -3,10 +3,10 @@
{% for course_activity in course_section.activities %}
{% assign activities_count = activities_count | plus: 1 %}
{% endfor %}
{% endfor %}
{% endfor %}
<div class="np-course-details">
<div class="np-course-detail" id='hideable'>
<div class="np-course-detail" id='hideable'>
<strong>{{ activities_count }}</strong>
<span class="np-details-label">
{% if activities_count == 1 %}Activity{% else %}Activities{% endif %}
@ -33,7 +33,7 @@
{% if course.properties.np_course_rating >= i %}
<svg width="20" height="19" viewBox="0 0 20 19" preserveAspectRatio fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10 0L12.5863 6.44033L19.5106 6.90983L14.1846 11.3597L15.8779 18.0902L10 14.4L4.12215 18.0902L5.81535 11.3597L0.489435 6.90983L7.41374 6.44033L10 0Z" fill="#089FB7"/>
</svg>
</svg>
{% else %}
<svg width="20" height="19" viewBox="0 0 20 19" preserveAspectRatio fill="none" xmlns="http://www.w3.org/2000/svg">
<path opacity="0.25" d="M10 0L12.5863 6.44033L19.5106 6.90983L14.1846 11.3597L15.8779 18.0902L10 14.4L4.12215 18.0902L5.81535 11.3597L0.489435 6.90983L7.41374 6.44033L10 0Z" fill="#089FB7"/>
@ -59,4 +59,4 @@
margin-bottom: 0;
}
}
</style>
</style>

View File

@ -54,9 +54,9 @@
{% include "section_tips_tricks" %}
{% include "section_faqs" %}
</main>
{% include "footer" %}
<script>
$(".np-sub-navigation-content-item-link:contains('Home')").parent().addClass("np-sub-navigation-content-item-active")
</script>
</script>