forked from NeCTAR-RC/tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (72 loc) · 3.22 KB
/
index.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
layout: default
title: Home
order: 0
---
<div class="container py-4">
<header class="py-3">
<h1 class="display-4">Nectar Research Cloud tutorials</h1>
<div class="row">
<div class="col-md-6">
<p class="lead">Nectar Research Cloud tutorials will help you get the most out of the Nectar Research Cloud. Whether you are getting started, trying to increase your efficiency or you're looking to hone your skills.</p>
<p class="lead">This site may is a trial and demostration only and will help determine whether we publish tutorials in this easy to search, easy to follow format.</p>
</div>
</div>
</header>
<div class="row">
<div class="col-md-6">
<div class="input-group">
<div class="input-group-prepend">
<button id="search-filter-button" class="btn dropdown-toggle border" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">All Topics</button>
<div class="dropdown-menu search-filter-menu">
<a class="dropdown-item" href="#">All Topics</a>
<a class="dropdown-item" href="#">Beginner</a>
<a class="dropdown-item" href="#">Intermediate</a>
<a class="dropdown-item" href="#">Advanced</a>
</div>
</div>
<input id="search-input" type="search" class="form-control" placeholder="Search tutorials" aria-label="Search tutorials">
<div class="input-group-append">
<span id="search-clear" class="input-group-text bg-transparent border border-left-0" style="display:none">
<i id="search-clear" class="fa fa-times"></i>
</span>
<span class="input-group-text border">
<i class="fa fa-search"></i>
</span>
</div>
</div>
</div>
</div>
<div id="tutorial-list" class="card-group pt-3 px-0">
{% assign collections = site.collections | where_exp:"item","item.title != null" %}
{% for tutorial in collections %}
<div class="card-container col-md-6 col-lg-4 m-lg-0 py-3">
<a href="{{ site.baseurl }}/{{ tutorial.label }}">
<div class="card shadow h-100">
<div class="card-header text-light bg-dark">
{{ tutorial.categories }}
<h5 class="card-title mb-0">{{ tutorial.title }}</h5>
</div>
<div class="card-body">
<small class="text-muted">{{ tutorial.published | date: "%-d %B %Y" }}</small>
<p class="card-text">{{ tutorial.summary }}</p>
</div>
<div class="card-footer">
<div class="row no-gutters">
<div class="col-xs-auto">
<small class="text-muted">Difficulty: </small>
<span class="difficulty-indicator difficulty-indicator-{{ tutorial.difficulty }}">
{{ tutorial.difficulty }} out of 5
</span>
</div>
<div class="col text-right">
<small class="text-muted">Duration: {{ tutorial.duration }} minutes</small>
</div>
</div>
</div>
</div>
</a>
</div>
{% endfor %}
</div>
</div>