forked from osahyoun/instagram-search
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (43 loc) · 1.8 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
<!DOCTYPE html>
<html>
<head>
<script src='http://code.jquery.com/jquery-1.7.2.min.js' type='text/javascript' charset='utf-8'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min.js'></script>
<script src='javascripts/application.js' type='text/javascript' charset='utf-8'></script>
<link rel='stylesheet' href='http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.1/css/bootstrap.min.css' type='text/css' media='screen'>
<link rel="stylesheet" href="stylesheets/application.css" type="text/css" media="screen" title="no title" charset="utf-8">
<title>Grammy - Search Instagram Images</title>
<meta name="description" content="Search for instagram images online.">
<meta name="author" content="Omar Sahyoun">
</head>
<body>
<div class='container'>
<div class='row'>
<div class='span12'>
<form id='search'>
<div class="input-append">
<input class='search-tag' type='text' tabindex='1' value='cats' />
<button class="btn" id="search-button" dir="ltr" tabindex="2" type="submit">
<i class='icon-search'></i>
</button>
</div>
</form>
<div id='photos-wrap'>
</div>
<div class='paginate'>
<a class='btn' style='display:none;' data-max-tag-id='' href='#'>View More...</a>
</div>
</div>
</div>
</div>
<script type="text/template" id="photo-template">
<div class='photo'>
<a href='<%= url %>' target='_blank'>
<img class='main' src='<%= photo %>' width='250' height='250' style='display:none;' onload='Instagram.App.showPhoto(this);' />
</a>
<img class='avatar' width='40' height='40' src='<%= avatar %>' />
<span class='heart'><strong><%= count %></strong></span>
</div>
</script>
</body>
</html>