forked from mattmakai/fullstackpython.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchapter-choices.html
More file actions
42 lines (42 loc) · 1.45 KB
/
Copy pathchapter-choices.html
File metadata and controls
42 lines (42 loc) · 1.45 KB
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
{% if not page.choice4url == '' %}
{% set colwidth = 3 %}
{% else %}
{% set colwidth = 4 %}
{% endif %}
<div class="row">
<div class="col-md-{{ colwidth }}">
<div class="well select-next">
<a href="{{ page.choice1url }}" class="btn btn-success btn-full"><i class="fa {{ page.choice1icon }} fa-2x"></i></a>
<p class="under-btn">
{{ page.choice1text }}
</p>
</div>
</div>
<div class="col-md-{{ colwidth }}">
<div class="well select-next">
<a href="{{ page.choice2url }}" class="btn btn-success btn-full"><i class="fa {{ page.choice2icon }} fa-2x"></i></a>
</a>
<p class="under-btn">
{{ page.choice2text }}
</p>
</div>
</div>
<div class="col-md-{{ colwidth }}">
<div class="well select-next">
<a href="{{ page.choice3url }}" class="btn btn-success btn-full"><i class="fa {{ page.choice3icon }} fa-2x"></i></a>
<p class="under-btn">
{{ page.choice3text }}
</p>
</div>
</div>
{% if colwidth == 3 %}
<div class="col-md-3">
<div class="well select-next">
<a href="{{ page.choice4url }}" class="btn btn-success btn-full"><i class="fa {{ page.choice4icon }} fa-2x"></i></a>
<p class="under-btn">
{{ page.choice4text }}
</p>
</div>
</div>
{% endif %}
</div>