-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
81 lines (74 loc) · 2.57 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
<!DOCTYPE html>
<html>
<head>
<title>Backbone.js intro</title>
<link href='css/bootstrap.css' media='all' rel='stylesheet' type='text/css' />
<script type="text/html" id="FanpageTemplate">
<td>{{model.name}}</td>
<td>{{model.category}}</td>
<td>{{model.likes}}</td>
<td>{{model.talking_about_count}}</td>
</script>
<style type="text/css">
body {padding-top: 60px;}
</style>
</head>
<body>
<div class="topbar">
<div class="fill">
<div class="container canvas">
<a class="brand" href="#">Backbone Intro</a>
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#!/search/meetjs">Meetjs</a></li>
<li><a href="#!/search/backbone">Backbone</a></li>
</ul>
<form action="" class="pull-right">
<input id='Search' type='search'/>
</form>
</div>
</div>
</div>
<div class="container canvas">
<div class="content">
<div class="page-header">
<h3>Data sources: Graph API</h3>
<p>
Purpose of our demo is to create an app using RESTful service: <br/>
Facebook pages search API: https://graph.facebook.com/search?q=PageName&type=page<br/>
Object Details API: https://graph.facebook.com/126046920802509
</p>
</div>
<!-- page-header -->
<div class="row">
<div class="span12">
<h2>Fanpages</h2>
<section id="SearchResults">
<table class="zebra-striped">
<thead>
<tr><th>Name</th><th>Category</th><th>Likes</th><th>Talking</th></tr>
</thead>
<tbody>
</tbody>
</table>
</section>
<!-- SearchResults -->
</div>
<!-- span12 -->
</div>
<!-- row -->
</div>
<!-- content -->
<footer>
<a href="http://ckrack.github.com/fbootstrapp/">Facebook Bootstrap CSS</a>
</foter>
</div>
<!-- container -->
</div>
<script src='javascripts/jquery.min.js' type='text/javascript'></script>
<script src='javascripts/underscore-min.js' type='text/javascript'></script>
<script src='javascripts/backbone-min.js' type='text/javascript'></script>
<script src='javascripts/config.js' type='text/javascript'></script>
<script src='javascripts/application.js' type='text/javascript'></script>
</body>
</html>