-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
54 lines (51 loc) · 2.04 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HackLend</title>
<meta property="og:description" content="HackLend is a community-curated list of items which organizers are happy to lend to one another.">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
<link rel="stylesheet" href="//cdn.rawgit.com/necolas/normalize.css/master/normalize.css">
<link rel="stylesheet" href="//cdn.rawgit.com/milligram/milligram/master/dist/milligram.min.css">
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:image" content="http://hacklend.com/opengraph.png">
</head>
<body>
<header>
<h1>HackLend</h1>
<h2>Run hackathons and have useful one-off purchases or spares that you'd be willing to lend to other events?</h2>
<div class="buttons">
<a href="https://github.com/phazonoverload/hacklend" class="button">Add your kit</a>
<a href="/disclaimers.html">Rules & disclaimers</a>
</div>
</header>
<div id="list-container">
<table id="app">
<input type="text" class="search" placeholder="Filter items by item, owner or location">
<thead>
<tr>
<th>Item</th>
<th>Owner</th>
<th>Location</th>
<th>Contact</th>
</tr>
</thead>
<tbody class="list">
</tbody>
</table>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/list.js/1.5.0/list.min.js"></script>
<script src="data.js"></script>
<script>
$(items).each(function(k, v) {
$("#app tbody").append("<tr><td class='name'><a href='"+v.link+"'</a>"+v.name+"</td><td class='owner'>"+v.owner+"</td><td class='location'>"+v.location+"</td><td class='contact '>"+v.contact+"</td></tr>")
});
var options = {
valueNames: ['name', 'owner', 'location', 'contact']
};
var list = new List('list-container', options);
</script>
</body>
</html>