Notes from SPS,Keystone,Walmart, and Glassdoor. Changed some templates in my sandbox.

This commit is contained in:
Norm Rasmussen
2023-04-25 18:19:08 -04:00
parent 9c723283ff
commit c78cf84753
12 changed files with 317 additions and 86 deletions

Binary file not shown.

View File

@ -9,3 +9,10 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js" type="text/javascript"></script>
<script>
if ( window.location !== window.parent.location ) {
console.log("The page is in an iframe - don't show header")
} else {
console.log("The page is not in an iframe - show header")
}
</script>

View File

@ -18,8 +18,8 @@
<iframe
style= "border: 3px solid #B2D7C7;"
width="100%" height="1000"
src="https://calendar.google.com/calendar/u/0/embed?src=pmtpcalendar@gmail.com&ctz=America/New_York"
title="Wild Health Public Calendar"
src="https://climbingacademy.northpass.com/"
title="Climbing Academy"
>
</iframe>
</div>

View File

@ -0,0 +1,29 @@
<h3 class="np-card-heading">
{% t .header %}
</h3>
<div class="np-flex-column">
{% for event in course.events %}
<div class="np-course-events-content-item">
<div class="np-course-events-content-date np-button-background-color">
<div class="np-course-events-content-month">
{{ event.sessions.first.abbreviated_month }}
</div>
<div class="np-course-events-content-day">
{{ event.sessions.first.day }}
</div>
</div>
<div class="np-course-events-content-details">
<div class="np-course-events-content-name">
{{ event.title }}
</div>
<div class="np-course-events-content-type np-text-light">
{% t shared.event_types, key: event.event_type %}
</div>
<div class="np-course-events-content-time np-button-color">
<a href="{{ event.sessions.first.session_url }}">
Register: {{ event.sessions.first.time_period }} {{ event.sessions.first.time_zone }}</a>
</div>
</div>
</div>
{% endfor %}
</div>