-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpublications.html
More file actions
executable file
·87 lines (75 loc) · 3.84 KB
/
publications.html
File metadata and controls
executable file
·87 lines (75 loc) · 3.84 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Publications | FuTURES³ Lab</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="FuTURES Lab publications - Research papers on software security, testing, program analysis, and automated bug repair.">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<!-- CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jpswalsh/academicons/css/academicons.min.css">
<link rel="stylesheet" href="css/main.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css?family=Work+Sans&display=swap" rel="stylesheet">
<!-- JavaScript -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="includes/load-includes.js"></script>
</head>
<body>
<div id="navbar-placeholder"></div>
<main id="main-content" role="main">
<div class="container main-container" style="margin-top:1.15em">
<div class="col-md-12">
<h2 id="publications">Publications</h2>
<p><small>Names of FuTURES³ Lab student researchers are <u>underlined</u>.</small></p>
<div class="row"><div class="col-sm-12" style="border-bottom: 1px solid #eee; margin-top: 0.5em; margin-bottom: 0;"></div></div>
<div id="publications-list"></div>
</div>
</div>
</main>
<script>
const linkIcons = {
video: '<i class="fa-solid fa-video"></i> Video',
slides: '<i class="fa-solid fa-display"></i> Slides',
code: '<i class="fa-brands fa-github"></i> Code'
};
fetch('papers.json')
.then(response => response.json())
.then(papers => {
const container = document.getElementById('publications-list');
papers.forEach(paper => {
const linksHtml = paper.links.length > 0
? `<div class="pub-links">
${paper.links.map(link =>
`<a href="${link.url}" class="pub-link" aria-label="${link.type} for ${paper.title}">${linkIcons[link.type]}</a>`
).join('')}
</div>`
: '';
const html = `
<article class="row publication" role="article">
<div class="col-sm-1">
<span class="pub-year"><b>${paper.year}</b></span>
</div>
<div class="col-sm-11">
<div class="pub-content">
<p class="pub-title"><a href="${paper.url}">${paper.title}</a>.</p>
<p class="pub-authors"><small>${paper.authors}.</small></p>
<p class="pub-venue"><small>${paper.venue}.</small></p>
</div>
${linksHtml}
</div>
</article>
`;
container.insertAdjacentHTML('beforeend', html);
});
})
.catch(err => console.error('Error loading papers:', err));
</script>
<br>
<div id="footer-placeholder"></div>
</body>
</html>