summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/button.js9
-rw-r--r--client/templates/login.html2
2 files changed, 10 insertions, 1 deletions
diff --git a/client/button.js b/client/button.js
index adb83a0..542db24 100644
--- a/client/button.js
+++ b/client/button.js
@@ -1,3 +1,12 @@
+$(document).ready(function () {
+ if (window.location.pathname == '/') {
+ var i = 0;
+ setInterval(function() {
+ $('img.home-logo').attr('src', '/img/icons/1_' + ((++i%5)+1) + '.gif');
+ }, 2000);
+ }
+});
+
function prepareDates() {
var month = $('input[name=month]').val();
var year = $('input[name=year]').val();
diff --git a/client/templates/login.html b/client/templates/login.html
index 6826908..5a22eb3 100644
--- a/client/templates/login.html
+++ b/client/templates/login.html
@@ -1,7 +1,7 @@
<template name="login">
<div class="login-wrapper">
<div class="login">
- <h1>m<img src="/img/icons/01.gif">des</h1>
+ <h1>m<img class="home-logo" src="/img/icons/1_1.gif">des</h1>
<h2>Reflect Yourself</h2>
<button class="login">Login with Instagram</button>
</div>