-
Notifications
You must be signed in to change notification settings - Fork 1
/
training_opportunities.html
51 lines (48 loc) · 1.65 KB
/
training_opportunities.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
layout: page
title: CI CoE Pilot - Training Opportunities
permalink: /training_opportunities/
---
<section id="intro">
<div class="container">
<div class="row">
<div class="col-md-12 col-sm-12">
<div class="section-title">
<h2>CI Training Opportunities</h2>
</div>
</div>
{% if site.data.training_opportunities.size > 0 %}
{% for n in site.data.training_opportunities %}
<div class="col-md-6 col-sm-12">
<div class="event">
<div class="collapsible">
<h4>{{ n.title }}</h4>
{{ n.date }}
<div class="event-category">{{ n.category }}</div>
</div>
<div class="event-content">
<p><a href="{{ n.website }}" target="_blank"><i class="icon ion-link"></i> Website</a></p>
<div>{{ n.description }}</div>
</div>
</div>
</div>
{% endfor %}
{% endif %}
</div>
</div>
</section>
<script type="text/javascript">
var coll = document.getElementsByClassName("collapsible");
var i;
for (i = 0; i < coll.length; i++) {
coll[i].addEventListener("click", function() {
this.classList.toggle("active");
var content = this.nextElementSibling;
if (content.style.display === "block") {
content.style.display = "none";
} else {
content.style.display = "block";
}
});
}
</script>