diff options
| author | Yuval Adam <yuval@y3xz.com> | 2015-06-28 14:47:08 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2015-06-28 14:47:08 +0300 |
| commit | 0d55aa1a4eddd05c5e649836ec51812b9efd6a60 (patch) | |
| tree | 3619de05bfcd7a149247cd198b4b380c3aebe668 /client | |
| parent | 871b89cdf5e0506842236b75947fd2df4747bb2f (diff) | |
Update step names
Diffstat (limited to 'client')
| -rw-r--r-- | client/button.js | 14 | ||||
| -rw-r--r-- | client/templates/photos.html | 2 |
2 files changed, 9 insertions, 7 deletions
diff --git a/client/button.js b/client/button.js index cdeed52..bda2afc 100644 --- a/client/button.js +++ b/client/button.js @@ -102,9 +102,6 @@ function animate2() { delay += 2000; _.delay(function() { - $('li#step6').removeClass('active'); - $('li#step7').addClass('active'); - Effects.drawFinalIcon(); }, delay + 2000); @@ -112,8 +109,6 @@ function animate2() { delay += 2000; _.delay(function() { - $('li#step7').removeClass('active'); - $('li#step8').addClass('active'); $('h2.title').html('Done!<div class="sec">This is your icon!</div>'); $('div.final div.final-dominants').hide(); $('div.final div.share').show(); @@ -207,7 +202,14 @@ Template.photos.events({ Template.photos.helpers({ steps: function () { - return _.range(1,9); + return [ + {val: 1, name: 'Downloading'}, + {val: 2, name: 'Pixelate'}, + {val: 3, name: 'Composition'}, + {val: 4, name: 'Dominant Color'}, + {val: 5, name: 'Average'}, + {val: 6, name: 'Summing'} + ] }, photos: function () { return Session.get('photos'); diff --git a/client/templates/photos.html b/client/templates/photos.html index fae6e20..6a9b9c6 100644 --- a/client/templates/photos.html +++ b/client/templates/photos.html @@ -55,7 +55,7 @@ </template> <template name="step"> - <li id="step{{this}}" class="step">Step {{this}}</li> + <li id="step{{val}}" class="step">{{name}}</li> </template> <template name="photo"> |
