-
Notifications
You must be signed in to change notification settings - Fork 10
/
seminars.html
87 lines (83 loc) · 3.1 KB
/
seminars.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
80
81
82
83
84
85
86
87
---
title: All Seminars
order: 2
permalink: /seminars/
layout: seminar
match_collection: seminars
---
<div id="papers">
<p>As applicable, papers and presentations that were evaluated by the faculty as deserving a distinction are marked with ⭐.</p>
<input class="search form-control input-block" id="search-box" type="text" placeholder="Search" style="display: none;" />
<br>
<table class="all-seminar-table">
<thead>
<tr>
<th class="seminar-cell">Seminar</th>
<th>Author</th>
<th>Title</th>
<th>Slides</th>
</tr>
</thead>
<tbody class="list">
{% assign grouped_seminars = site.seminars | group_by:"year" | reverse %}
{% for group in grouped_seminars %}
{% assign sorted_seminars = group.items | where_exp:"item", "item.papers" | sort:"semester" %}
{% for sem in sorted_seminars %}
{% assign pageurl = sem.url | replace: 'index.html', '' | relative_url %}
{% assign sorted_papers = sem.papers | where_exp:"item", "item.break != true" | sort: 'time' %}
{% for paper in sorted_papers %}
<tr>
<td class="seminar-title seminar-cell"><a href="{{ pageurl }}">{{ sem.title }}</a></td>
<td class="author">{{ paper.author }}</td>
<td class="title">
<div class="paper-title">
{% if paper.pdf %}
<a href="{{ pageurl }}{{ paper.pdf }}">
{% endif %}
{{ paper.title }}
{% if paper.pdf %}
</a>
{% endif %}
{% if paper.distinctionpaper %}
⭐
{% endif %}
</div>
{% if paper.tags %}
<div class="paper-tags">
{% for tag in paper.tags %}
<a href="{{ '/seminars/tags' | relative_url }}#tag-{{tag}}" class="Label Label--gray">{{tag}}</a>
{% endfor %}
</div>
{% endif %}
</td>
<td>
{% if paper.slides %}
<a href="{{ pageurl }}{{ paper.slides }}">Slides</a>
{% elsif paper.slidesurl %}
<a href="{{ paper.slidesurl }}">Slides</a>
{% endif %}
{% if paper.distinctionslides %}
⭐
{% endif %}
</td>
</tr>
{% endfor %}
{% endfor %}
{% endfor %}
</tbody>
</table>
<nav class="paginate-container" aria-label="Pagination">
<ul class="pagination"></ul>
</nav>
</div>
<script type="text/javascript">
document.getElementById("papers").style.display = "none";
document.getElementById("search-box").style.display = "block";
var options = {
valueNames: [ 'seminar-title', 'author', 'paper-title', 'paper-tags' ],
page: 10,
pagination: {outerWindow: 1,
innerWindow: 1}
};
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/list.js/1.5.0/list.min.js" integrity="sha256-YqOIp4MygNx9/lcWr5lpcR88Ki/MNMWvJJkH0eK+fHM=" crossorigin="anonymous" onload="var semList = new List('papers', options); document.getElementById('papers').style.display = 'block';"></script>