-
Notifications
You must be signed in to change notification settings - Fork 22
/
index_template.html
54 lines (48 loc) · 2.47 KB
/
index_template.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
52
53
54
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Binary Kitchen Solering Tutorials">
<meta name="author" content="Thomas Schmid">
<link rel="icon" href="/docs/4.0/assets/img/favicons/favicon.ico">
<title>Binary Kitchen Soldering Tutorials</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
</head>
<body>
<main role="main">
<div class="container">
<div class="row">
{% for (name, project) in projects.items() %}
<div class="col-md-6 col-lg-4 col-xl-3 py-2">
<div class="card h-100">
<img class="card-img-top img-fluid" src="{{ project["thumbnail"] }}" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">{{name}}</h5>
{% if not project["manuals"] %}
<span class="card-text"><small class="text-muted">No manuals yet</small></span>
{% else %}
{% for language, link in project["manuals"].items() %}
<a class="btn btn-info mb-2" href="{{ link }}" role="button">PDF Manual {{ language }}</a><br>
{% endfor %}
{% endif %}
{% if project["ibom"] is not none %}
<a class="btn btn-info" href="{{ project["ibom"] }}" role="button">Interactive Board</a>
{% endif %}
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</main>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
<script src="../../assets/js/vendor/popper.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>