diff --git a/front/src/css/queue.css b/front/src/css/queue.css index 64237d5..e6b9fa2 100644 --- a/front/src/css/queue.css +++ b/front/src/css/queue.css @@ -17,5 +17,5 @@ width: 5%; height: 0.5em; background: #ffa319; - transition: width 2s ease-out; + transition: width 3s ease-out; } diff --git a/front/src/img/favicon-fail.png b/front/src/img/favicon-fail.png index faeba8f..8192c94 100644 Binary files a/front/src/img/favicon-fail.png and b/front/src/img/favicon-fail.png differ diff --git a/front/src/img/favicon-success.png b/front/src/img/favicon-success.png index 168e621..09f498f 100644 Binary files a/front/src/img/favicon-success.png and b/front/src/img/favicon-success.png differ diff --git a/front/src/js/controllers/queueCtrl.js b/front/src/js/controllers/queueCtrl.js index 4c61d2d..938e6d7 100644 --- a/front/src/js/controllers/queueCtrl.js +++ b/front/src/js/controllers/queueCtrl.js @@ -69,7 +69,7 @@ queueCtrl.controller('QueueCtrl', ['$scope', '$routeParams', '$location', 'Runs' faviconCanvasContext.fillStyle = '#212240'; if (!!faviconCanvasContext) { - faviconInterval = window.setInterval(faviconTick, 1000); + faviconInterval = window.setInterval(faviconTick, 300); } }; faviconImage.src = faviconUrl; @@ -81,7 +81,7 @@ queueCtrl.controller('QueueCtrl', ['$scope', '$routeParams', '$location', 'Runs' faviconCanvasContext.save(); faviconCanvasContext.fillRect(0, 0, 32, 32); faviconCanvasContext.translate(16, 16); - faviconCanvasContext.rotate(45 * faviconCounter * Math.PI / 180); + faviconCanvasContext.rotate(22.5 * faviconCounter * Math.PI / 180); faviconCanvasContext.translate(-16, -16); faviconCanvasContext.drawImage(faviconImage, 0, 0, 32, 32); faviconCanvasContext.restore(); @@ -90,6 +90,7 @@ queueCtrl.controller('QueueCtrl', ['$scope', '$routeParams', '$location', 'Runs' function stopFavicon(isSuccess) { window.clearInterval(faviconInterval); + faviconInterval = null; favicon.href = isSuccess ? faviconSuccessUrl : faviconFailUrl; } diff --git a/front/src/js/services/settingsService.js b/front/src/js/services/settingsService.js index 21674d4..741280c 100644 --- a/front/src/js/services/settingsService.js +++ b/front/src/js/services/settingsService.js @@ -6,7 +6,7 @@ settingsService.factory('Settings', ['localStorageService', function(localStorag getMergedSettings: function() { var defaultSettings = { - device: 'mobile', + device: 'phone', showAdvanced: false }; diff --git a/front/src/less/queue.less b/front/src/less/queue.less index 41212c5..266fbee 100644 --- a/front/src/less/queue.less +++ b/front/src/less/queue.less @@ -20,5 +20,5 @@ width: 5%; height: 0.5em; background: #ffa319; - transition: width 2s ease-out; + transition: width 3s ease-out; } \ No newline at end of file diff --git a/front/src/views/index.html b/front/src/views/index.html index 69d503a..80fb6da 100644 --- a/front/src/views/index.html +++ b/front/src/views/index.html @@ -2,7 +2,7 @@

Free and open source!

- +
diff --git a/front/src/views/queue.html b/front/src/views/queue.html index d628768..3910373 100644 --- a/front/src/views/queue.html +++ b/front/src/views/queue.html @@ -26,7 +26,7 @@

(DOM Ready fired)

(page loaded, waiting for late requests)

(now simulating compression, optimization and minification)

-

(calculating score and retreaving screenshot)

+

(calculating score and retrieving screenshot)

Test complete