-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (65 loc) · 2.39 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Instagrid</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--Font Awesome for Icons-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<!--Instagrid Style Sheet-->
<link rel="stylesheet" href="build/css/style.min.css">
</head>
<body ng-app="project3" ng-controller="Instacontroller" >
<header>
<div class="logo-container">
<img src="images/instagrid-logo.svg" class="logo" alt="Instagrid Logo">
</div>
<div class="search-container">
<img src="images/instagrid-icon.svg" alt="Camera Logo">
<form method="get" ng-submit="getPhotos($event)" action="#" id="search-form">
<div class="search-input">
<input ng-model="hashtag" type="text" name="search_words" id="search-words" placeholder="Enter your search..." />
<button type="submit"> <i class="fa fa-search"></i> </button>
</div>
</form>
</div>
</header>
<div class="results-container">
<div class="loading-gif" ng-show="loading">
<img class="loader" src="images/ajax-loader.gif" alt="loading spinner">
</div>
<img ng-hide="posts.length" class="searchLogo" src="images/search-tags.svg" alt="Search # tags to view photos">
<div class = "page-wrap">
<ul class="photo-list">
<li ng-repeat="post in posts" class="photo-container">
<ul>
<a href="{{post.images.standard_resolution.url}}" data-lightbox="image-1" >
<li class="main-image">
<img ng-src="{{post.images.standard_resolution.url}}" />
</li>
</a>
<li class="image-info">
<div class="profile-photo">
<a href="" target="_blank"> <img ng-src="{{post.user.profile_picture}}" /></a>
</div>
<div class="username">
<h1> {{post.user.username}} </h1>
<div class="likes">
<i class="fa fa-comments"></i> {{post.comments.count}} <i class="fa fa-heart"></i>{{post.likes.count}}
</div>
</div>
</li>
</ul>
</li>
</ul>
</div>
</div>
<footer>
<p> © Copyright 2015 <span>Instagrid </span></p>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="build/js/lightbox.min.js"></script>
<script src="build/js/script.min.js"></script>
</body>
</html>