-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
86 lines (64 loc) · 3.49 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html>
<head>
<title>Simple API</title>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script src="javascripts/oauth.js" type="text/javascript"></script>
<script src="javascripts/mustache.js" type="text/javascript"></script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div id="container">
<div class="inner">
<header>
<h1><a href="index.html">Simple API</a></h1>
<h2>This is a simple API. <a href="about.html">Learn more...</a></h2>
</header>
<section id="main_content">
<h1>API Gallery</h1>
<script id="apiListingTemplate" type="text/template">
<tr>
<td width="125" valign="top" align="center"><a href="http://simple-api.github.io/{{repo}}"><img src="{{image}}" width="100" align="left" style="padding: 15px;" /></a></td>
<td valign="middle" align="left" style="text-align:left; vertical-align: middle;"><a href="http://simple-api.github.io/{{repo}}" style="color: #000;"><strong>{{name}}</strong></a> - {{description}}</td>
<td valign="middle" align="middle" style="text-align:left; vertical-align: middle;"><a href="build.html?repo={{repo}}" style="color: #000;"><strong>Fork</strong></a></td>
</tr>
</script>
<div class="apiListingContainer">
<table id="apiListing" style="padding-left: 25px;" width="75%"></table>
</div>
<!--API Templates Listing JavaScript--->
<script type="text/javascript">
// Requires Mustache - http://mustache.github.io/
function listAPIs()
{
$.getJSON('templates.json', function(data) {
$.each(data, function(key, val) {
var template = $('#apiListingTemplate').html();
var html = Mustache.to_html(template, val);
$('#apiListing').append(html);
});
});
}
</script>
<script type="text/javascript">
listAPIs();
</script>
</section>
<footer>
Simple-api is maintained by <a href="https://github.com/simple-api">simple-api</a><br>
This page was generated by <a href="http://pages.github.com">GitHub Pages</a>. Tactile theme by <a href="https://twitter.com/jasonlong">Jason Long</a>.
</footer>
</div>
</div>
</body>
</html>