Skip to content

Commit 6ec7910

Browse files
Merge branch 'release'
2 parents 74fc934 + 8229eeb commit 6ec7910

File tree

5 files changed

+74
-0
lines changed

5 files changed

+74
-0
lines changed

_includes/filter-difficulty.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<p>
2+
You can filter the items on this page to show only
3+
<a href="#" onclick="filterCards('Easy')">Easy</a>,
4+
<a href="#" onclick="filterCards('Medium')">Medium</a>, or
5+
<a href="#" onclick="filterCards('Hard')">Hard</a> cards.
6+
If you want to, you can
7+
<a href="#" onclick="resetCards()">reset the cards</a> to
8+
show them all again.
9+
</p>

_includes/scripts.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,34 @@
3838
}
3939
</script>
4040

41+
<script type="text/javascript">
42+
if ("{{page.title}}" === "Activities" || "{{page.title}}" === "Resources") {
43+
allCards = $('div.align-items-stretch:has(span.badge)');
44+
45+
function resetCards() {
46+
$.each(allCards, function() {
47+
var card = $(this);
48+
if (!card.hasClass('d-flex')) {
49+
card.toggleClass('d-flex');
50+
}
51+
$(card).show();
52+
});
53+
}
54+
55+
function filterCards(filterText) {
56+
resetCards();
57+
$.each(allCards, function() {
58+
var card = $(this);
59+
if (card.not(':has(span.badge:contains("' + filterText + '"))').length > 0) {
60+
card.toggleClass('d-flex');
61+
$(card).hide();
62+
}
63+
});
64+
}
65+
}
66+
</script>
67+
68+
4169
<!-- Placeholder for dynamic EventBrite integration script generation -->
4270
<script id="eventBriteWidgets" type="text/javascript">
4371
</script>

activities.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ <h1>{{page.title}}</h1>
2929
quite often we get people attending who are working their way through resources they've found elsewhere on
3030
the web. The following are just a few of the ones we see people on, along with some we recommend you try.
3131
</p>
32+
{% include filter-difficulty.html %}
3233
<p>
3334
Jump to: <a href="#activities-learning">Learning</a> | <a href="#activities-practice">Practice</a>
3435
</p>

pages-resources/resources-soft-skills.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,39 @@ <h4>
4646
</div>
4747
</div>
4848
</div>
49+
<div class="col-lg-4 col-md-6 d-flex align-items-stretch">
50+
<div class="row">
51+
<div class="card">
52+
<h4>
53+
<span class="fab fa-trello"></span>
54+
<a href="https://trello.com/" target="_blank">Trello</a>
55+
<span class="badge badge-success">Easy</span>
56+
</h4>
57+
<p>
58+
Trello is an industry-standard tool for organising projects. You can create cards, that live on
59+
boards, to track outstanding tasks. The cards can then be moved into different lists on the board.
60+
At CodeWith we use Trello to track outstanding actions from committee meetings.
61+
</p>
62+
</div>
63+
</div>
64+
</div>
65+
</div>
66+
67+
<div class="row">
68+
<div class="col-lg-4 col-md-6 d-flex align-items-stretch">
69+
<div class="row">
70+
<div class="card">
71+
<h4>
72+
<span class="fas fa-project-diagram"></span>
73+
<a href="https://code2flow.com/" target="_blank">Code2Flow</a>
74+
<span class="badge badge-warning">Medium</span>
75+
</h4>
76+
<p>
77+
Code2Flow is a tool to transform ideas and workflows into easy to understand diagrams. Using a
78+
psuedocode editor you can generate a flowchart with up to 50 nodes for free. We used Code2Flow to
79+
generate our process flow charts at CodeWith.
80+
</p>
81+
</div>
82+
</div>
83+
</div>
4984
</div>

resources.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ <h1>{{page.title}}</h1>
2727
On top of that, there are lots of places on the Internet which will do jobs that text editors just aren't built for.
2828
We've listed some of those too.
2929
</p>
30+
{% include filter-difficulty.html %}
3031
<p>
3132
Jump to:
3233
<a href="#resources-links">Useful Links</a> |

0 commit comments

Comments
 (0)