-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
62 lines (48 loc) · 2.18 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
<!0;276;0c0;276;0c>
<!DOCTYPE html>
<meta http-equiv='cache-control' content='no-cache'>
<meta http-equiv='expires' content='0'>
<meta http-equiv='pragma' content='nocache'>
<html lang="en">
<head>
<meta charset="utf-8">
<title>MSU Coffee Papers</title>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<!-- <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/jvshields/coffeepapers/papers.js"></script> -->
<script type="text/javascript" src="papers.js"></script>
<script>
var obj = JSON.parse(data);
$(document).ready(function () {
obj.forEach((article, index) => {
var title = article.title;
var authors = article.authors;
var link = article.url;
var pdf = article.pdf;
var template = '<div class="article"><big><p><strong><li>' + title + '</strong></big><br> Author(s): ' + authors + '<br>Link: <a target="_blank" href="' + link + '">' + link + '</a>  PDF: <a download target="_blank" href="' + pdf + '"> ' + pdf + '</p></div>';
var element = document.querySelector('.article-container');
element.insertAdjacentHTML('beforeend', template);
})
});
</script>
</head>
<body>
<p>
<center>
<h1>MSU Astro Coffee</h1>
<strong>Now at 10:30 am, Tuesdays and Thursdays!</strong> <br>
<big><a
href="https://docs.google.com/spreadsheets/d/1DmYRK39GvEcRS8M9j1d9eULotRglOFGE_c5twBYK8eM/edit#gid=0">Sign
up to present here </a></big> <br>
<big><a href="archive.html">Past Papers </a></big><br><br>
<strong><big><big>Papers for discussion</big></big></strong><br>
<hr>
</center>
<ul>
<div class="article-container">
</div>
</ul>
<hr>
<strong><big>Extra links</big></strong><br>
<big><a href="dei-resources.html">DEI Resources</a></big>
</body>
</html>