forked from pramodiisc/ppalcx.github.io
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpublications.html
More file actions
175 lines (160 loc) · 4.81 KB
/
publications.html
File metadata and controls
175 lines (160 loc) · 4.81 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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
---
layout: default
title: Publications
authors: [manan, ashirwat]
---
<!-- <p>
<a href="{{ site.base }}/bib/pubs.bib">Download BibTeX.</a>
</p> -->
<!-- For Table -->
<style>
.collapsible {
background-color: #f2f2f2;
cursor: pointer;
padding: 10px 15px;
width: 100%;
border: none;
text-align: left;
font-weight: bold;
outline: none;
font-size: 20px;
margin-top: 10px;
position: relative;
}
.collapsible::after {
content: "\25BC"; /* ▼ down arrow */
font-size: 15px;
position: absolute;
right: 20px;
top: 15px;
transition: transform 0.3s ease;
}
.collapsible.active::after {
transform: rotate(-90deg); /* points up when active */
}
.content {
padding: 0 15px;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-out;
background-color: #fafafa;
border-left: 3px solid #ccc;
border-right: 3px solid #ccc;
border-bottom: 3px solid #ccc;
}
</style>
<br>
<button type="button" class="collapsible">Conference Papers</button>
<div class="content">
<p>* - The authors have contributed equally</p>
<table class="table">
<tbody>
{% assign pubs_sorted = site.data.pubs | sort: "date" | reverse %}
{% assign prev_year = 1000 %}
{% for pub in pubs_sorted %}
{% if pub.pub-type == "conference" %}
{% include pub_entry.html pub=pub prev_year=prev_year %}
{% assign prev_year = pub.date | date: "%Y" | plus: 0 %}
{% endif %}
{% endfor %}
</tbody>
</table>
</div>
<br>
<button type="button" class="collapsible">Pre-Prints</button>
<div class="content">
<p>* - The authors have contributed equally</p>
<table class="table">
<tbody>
{% assign pubs_sorted = site.data.pubs | sort: "date" | reverse %}
{% assign prev_year = 1000 %}
{% for pub in pubs_sorted %}
{% if pub.pub-type == "preprint" %}
{% include pub_entry.html pub=pub prev_year=prev_year %}
{% assign prev_year = pub.date | date: "%Y" | plus: 0 %}
{% endif %}
{% endfor %}
</tbody>
</table>
</div>
<br>
<button type="button" class="collapsible">Patents</button>
<div class="content">
<p>* - The authors have contributed equally</p>
<table class="table">
<tbody>
{% assign pubs_sorted = site.data.pubs | sort: "date" | reverse %}
{% assign prev_year = 1000 %}
{% for pub in pubs_sorted %}
{% if pub.pub-type == "patent" %}
{% include pub_entry.html pub=pub prev_year=prev_year %}
{% assign prev_year = pub.date | date: "%Y" | plus: 0 %}
{% endif %}
{% endfor %}
</tbody>
</table>
</div>
<br>
<button type="button" class="collapsible">Journal</button>
<div class="content">
<p>* - The authors have contributed equally</p>
<table class="table">
<tbody>
{% assign pubs_sorted = site.data.pubs | sort: "date" | reverse %}
{% assign prev_year = 1000 %}
{% for pub in pubs_sorted %}
{% if pub.pub-type == "journal" %}
{% include pub_entry.html pub=pub prev_year=prev_year %}
{% assign prev_year = pub.date | date: "%Y" | plus: 0 %}
{% endif %}
{% endfor %}
</tbody>
</table>
</div>
<br>
<button type="button" class="collapsible">Workshop/Symposium Papers</button>
<div class="content">
<p>* - The authors have contributed equally</p>
<table class="table">
<tbody>
{% assign pubs_sorted = site.data.pubs | sort: "date" | reverse %}
{% assign prev_year = 1000 %}
{% for pub in pubs_sorted %}
{% if pub.pub-type == "workshop" %}
{% include pub_entry.html pub=pub prev_year=prev_year %}
{% assign prev_year = pub.date | date: "%Y" | plus: 0 %}
{% endif %}
{% endfor %}
</tbody>
</table>
</div>
<!-- <h4> Theses</h4>
{% assign prev_year = 1000 %}
{% assign pubs = site.data.pubs | sort: "date" | reverse %}
<table class="table">
<tbody>
{% for pub in pubs %}
{% if pub.pub-type == "Thesis"%}
{% include pub_entry.html pub=pub prev_year=prev_year%}
{% assign prev_year = pub.date | date: "%Y" | to_integer %}
{% endif %}
{% endfor %}
</tbody>
</table> -->
<!-- For collapsable table -->
<script>
document.addEventListener("DOMContentLoaded", function () {
const collapsibles = document.querySelectorAll(".collapsible");
collapsibles.forEach((btn) => {
btn.addEventListener("click", function () {
this.classList.toggle("active");
const content = this.nextElementSibling;
if (content.style.maxHeight) {
content.style.maxHeight = null;
} else {
content.style.maxHeight = content.scrollHeight + "px";
}
});
});
});
</script>