-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (50 loc) · 2.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Wall Application</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">
<!--[if IE]>
<script src="lib/ie.js"></script>
<![endif]-->
</head>
<body id="ng-app" ng-app="wall">
<div ng-controller="wallAppController" class="appControler">
<form class="search-form" ng-submit="submitSearch()">
<label>SEARCH : <input type="text" ng-model="searchTag"/></label>
<button class="btn" type="submit" value="search">SEARCH</button>
</form>
<div class="searchTagsContainer">
<div ng-repeat="searchTagItem in searchTagItems" class="searchTagElement {{searchTagItem.state}}">
<a href="" ng-click="desactivateTopic(searchTagItem.label)">{{searchTagItem.label}}</a>
<a href="" ng-click="deleteTopic(searchTagItem.label)">X</a>
</div>
</div>
<div class="wallContainer" when-scrolled="submitSearch()">
<div id="container" class="transitions-enabled masonry" >
<div ng-repeat="wallItem in items|desactivateTopic:topic" class="transitions-enabled masonry-item {{wallItem.type}} {{wallItem.searchTag}}">
<div ng-include src="wallItem.template" onload="onLoadTemplate()"></div>
</div>
</div>
</div>
</div>
</body>
<!--[if lt IE 8]>
<script src="//cdnjs.cloudflare.com/ajax/libs/json3/3.2.4/json3.min.js"></script>
<![endif]-->
<script src="//code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="lib/jquery/jquery.masonry.js"></script>
<!--<script src="lib/masonry.pkgd.js"></script>
<script src="lib/imagesloaded.pkgd.js"></script>-->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.10/angular.min.js"></script>
<script src="http://code.angularjs.org/1.2.10/angular-resource.min.js"></script>
<script src="js/controllers/WallCtrl.js"></script>
<script src="js/models/WallModel.js"></script>
<script src="js/directives/MasonryDirective.js"></script>
<script src="js/directives/MasonryItemDirective.js"></script>
<script src="js/directives/AddMasonryImageDirective.js"></script>
<script src="js/directives/WhenScrolledDirective.js"></script>
<script src="js/services/FlickrServices.js"></script>
<script src="js/filters/DesactivateTopicFilter.js"></script>
<script src="js/WallApp.js"></script>
</html>