-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html.erb
More file actions
48 lines (44 loc) · 1.39 KB
/
index.html.erb
File metadata and controls
48 lines (44 loc) · 1.39 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
<!doctype html>
<head>
<title>Graph database</title>
<link href="ext/style.css" rel="stylesheet">
<link href="ext/graph-sprites.css" rel="stylesheet">
<link href="ext/app-icon.png" rel="apple-touch-icon">
<script type="text/javascript" src="ext/tablefilter.js"></script>
<script type="text/javascript" src="ext/sorttable.js"></script>
<script type="text/javascript" src="ext/querystring.js"></script>
<script type="text/javascript" src="ext/config.js"></script>
</head>
<div id="container">
<h1 id="title">Graph database</h1>
<p id="about-link">(<a href="about.html">about</a>)</p>
<table id="graphdb" class="filterable sortable">
<thead>
<tr>
<th>Name</th>
<th><i>n</i></th>
<th><i>m</i></th>
<th>Vertex degrees</th>
<th class="sorttable_nosort">Graph</th>
</tr>
</thead>
<tbody>
<% GRAPHS.each do |g| %>
<tr>
<td sorttable_customkey="<%= g[:name][1..-1] %>">
<a href="<%= g[:name] %>.html"><%= g[:name] %></a>
</td>
<td><%= g[:n] %></td>
<td><%= g[:m] %></td>
<td>(<%= g[:degrees].join(', ') %>)</td>
<td>
<a class="graph-sprite" id="<%= g[:name] %>" href="<%= g[:name] %>.html"></a>
</td>
</tr>
<% end %>
</tbody>
</table>
</div>
<div id="byline">
<p>By <a href="http://sean.mcgivern.me.uk/">Sean McGivern</a></p>
</div>