summaryrefslogtreecommitdiff
path: root/client/templates
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2015-06-17 15:36:47 +0300
committerYuval Adam <yuval@y3xz.com>2015-06-17 15:36:47 +0300
commit8a88d446be336d0c965c6c4af02fdb3b340f5c89 (patch)
tree6335592f65ba07b1bf2913da3a2a7be534b18dcf /client/templates
parent37b51d09ac21b92b29e73d1c6b3b09c03cccced7 (diff)
Average color is working
Diffstat (limited to 'client/templates')
-rw-r--r--client/templates/photos.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/templates/photos.html b/client/templates/photos.html
index 2d841e5..98f6d99 100644
--- a/client/templates/photos.html
+++ b/client/templates/photos.html
@@ -4,18 +4,20 @@
<h2>Processing...</h2>
<button class="pixelate btn btn-default">Pixelate</button>
<button class="color btn btn-default">Color</button>
+ <button class="average btn btn-default">Average</button>
<div class="photos">
{{#each photos}}
{{> photo}}
{{/each}}
</div>
+ <canvas id="canvas-all" style="height: 150px; width: 150px;"></canvas>
</div>
</template>
<template name="photo">
<div class="photo">
<div class="title">{{date}}</div>
- <img id="img-{{id}}" src="{{proxy images.thumbnail.url}}" crossorigin="anonymous">
+ <img id="img-{{id}}" class="instagram-photo" src="{{proxy images.thumbnail.url}}" crossorigin="anonymous">
<canvas id="canvas-{{id}}" style="height: 150px; width: 150px;"></canvas>
</div>
</template>