Cin7's templates for both internal and external academies. Notes for Cin7 and G2. Wrote a backup script for Anthology in case the CSV workflow fails.

This commit is contained in:
Norm Rasmussen
2024-02-05 17:48:39 -05:00
parent e46883c0f8
commit aa3086c23e
243 changed files with 4494 additions and 50 deletions

View File

@ -0,0 +1,35 @@
{% styles default %}
{% styles colors %}
{% styles custom %}
<script src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js">
</script>
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.css"/>
<!-- Add the slick-theme.css if you want default styling -->
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick-theme.css"/>
<script type="text/javascript" src="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.min.js"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap" rel="stylesheet">
<script>
document.addEventListener('DOMContentLoaded', function() {
function modifyCourseNames() {
var courseElements = document.querySelectorAll('.course-name');
courseElements.forEach(function(courseElement) {
var courseName = courseElement.textContent;
var modifiedCourseName = courseName.replace(/\[[^\]]+\]/g, '');
courseElement.textContent = modifiedCourseName;
});
}
modifyCourseNames();
});
</script>