forked from kasparsd/metrogram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (75 loc) · 2.34 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
82
83
84
<!doctype html>
<html ng-app="metrogram">
<head>
<!--
Created by Kaspars Dambis
http://konstruktors.com
Modified for CODAME by Felipe Brahm
http://codame.com/team
-->
<meta charset="utf-8" />
<title>Metrogram</title>
<link rel="stylesheet" href="assets/style.css" />
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="assets/angular.min.js"></script>
<script src="assets/metrogram.js"></script>
</head>
<body ng-controller="slideshow" ng-class="loadingClass">
<div id="dialog">
<div class="container">
<div class="byob-logo">
<img src="assets/byob-logo.gif" />
</div>
<div class="explanation">
Do you have any project you want to show off?
<br />
Welcome to the BYOB (Bring Your Own Beamer) space.
<br />
Just plug in your projector and share.
</div>
</div>
</div>
<div class="wrapper">
<div class="codame-logo">
<img src="assets/codame-logo.png" />
</div>
<div class="tag-input">
<h1>
<img src="assets/instagram-logo.png" />
#<input type="text" ng-model="tag" ng-change="tagChange()" ng-init="tag = 'codame'" size="{{ tag.length }}" />
</h1>
<div class="message">
Post a picture, tag it and watch it here. Live.
</div>
</div>
<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="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>
</div>
</body>
</html>