-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.html
53 lines (51 loc) · 1.49 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 ng-app="metrogram">
<head>
<!--
Created by Kaspars Dambis
http://konstruktors.com
-->
<meta charset="utf-8" />
<title>Metrogram</title>
<link rel="stylesheet" href="assets/style.css" />
<script src="assets/angular.min.js"></script>
<script src="assets/metrogram.js"></script>
</head>
<body ng-controller="slideshow" ng-class="loadingClass">
<h1>
<img src="assets/instagram-logo.png" />
#<input type="text" ng-model="tag" ng-change="tagChange()" ng-init="tag = 'metronetlife'" size="{{ tag.length }}" />
</h1>
<ul id="slides">
<li ng-repeat="image in images" class="slide" ng-class="{ active : image.isActive }">
<figure>
<img ng-src="{{ image.images.standard_resolution.url }}" class="image" />
</figure>
<div class="meta">
<p class="qr">
<img ng-src="http://qrfree.kaywa.com/?s=8&d={{ image.link | escape }}" />
<p>
<p class="caption">
<cite class="author">
<img ng-src="{{ image.user.profile_picture }}" width="40" height="40" />
{{ image.user.username }}
</cite>
{{ image.caption.text }}
</p>
<p class="likes">
♥ {{ image.likes.count }} likes
</p>
<ul class="comments">
<li class="comment" ng-repeat="comment in image.comments.data">
<cite class="author">
<img ng-src="{{ comment.from.profile_picture }}" width="40" height="40" />
{{ comment.from.username }}
</cite>
{{ comment.text }}
</li>
</ul>
</div>
</li>
</ul>
</body>
</html>