-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
60 lines (53 loc) · 2.29 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- stuff to make the demo pretty -->
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap.no-icons.min.css" rel="stylesheet">
<link href="http://netdna.bootstrapcdn.com/font-awesome/3.0/css/font-awesome.css" rel="stylesheet">
<link href="demo/demo.css" rel="stylesheet" />
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.3/underscore-min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js"></script>
<!-- important stuff -->
<script type="text/javascript" src="http://static.firebase.com/v0/firebase.js"></script>
<script type="text/javascript" src="FirebaseIndex.js"></script>
<!-- the demo (start here) -->
<script type="text/javascript" src="demo/demo.js"></script>
<title>Test Firebase Index</title>
</head>
<body>
<!-- why does html still exist? -->
<div class="container">
<div class="row">
<div class="span3">
<h4>Data Records</h4>
<ul id="master" class="unstyled"></ul>
</div>
<div class="span3">
<h4>Index</h4>
<ul id="index" class="unstyled"></ul>
</div>
<div class="span6">
<h4>Indexed Data</h4>
<ul id="filtered" class="unstyled"></ul>
</div>
</div>
<div class="row">
<div class="span12">
<div class="alert">
<button type="button" class="close" data-dismiss="alert">×</button>
Add or remove items from the index by clicking on a key. Enter a number to add a sort priority.
</div>
</div>
</div>
<div class="row">
<div class="span12">
<h4>Raw Data <button class="btn" id="reset">reset</button></h4>
<pre id="raw"></pre>
</div>
</div>
</div>
<a href="https://github.com/Zenovations/FirebaseIndex"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png" alt="Fork me on GitHub"></a>
</body>
</html>