diff --git a/website/overview/css/main.css b/website/overview/css/main.css index bb26558..b7d6cfc 100644 --- a/website/overview/css/main.css +++ b/website/overview/css/main.css @@ -72,12 +72,17 @@ font-size: 1.4em; margin-top: -0.2em; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/vagrant\/public\/arewefastyet\.firefox\.local\/arewefastyet\/website\/overview\/sass\/utility\/abstractions\/_box\.scss}line{font-family:\0000345}} +@media -sass-debug-info{filename{font-family:file\:\/\/\/vagrant\/public\/arewefastyet\.firefox\.local\/arewefastyet\/website\/overview\/sass\/utility\/abstractions\/_box\.scss}line{font-family:\0000359}} .box .title { text-transform: uppercase; margin-top: 0.4em; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/vagrant\/public\/arewefastyet\.firefox\.local\/arewefastyet\/website\/overview\/sass\/utility\/abstractions\/_box\.scss}line{font-family:\0000350}} +@media -sass-debug-info{filename{font-family:file\:\/\/\/vagrant\/public\/arewefastyet\.firefox\.local\/arewefastyet\/website\/overview\/sass\/utility\/abstractions\/_box\.scss}line{font-family:\0000364}} +.box .stamp { + display: block; + font-size: 12px; +} +@media -sass-debug-info{filename{font-family:file\:\/\/\/vagrant\/public\/arewefastyet\.firefox\.local\/arewefastyet\/website\/overview\/sass\/utility\/abstractions\/_box\.scss}line{font-family:\0000369}} .box progress { width: 100%; height: 6px; diff --git a/website/overview/js/app.js b/website/overview/js/app.js index aaf2f39..3529bb0 100644 --- a/website/overview/js/app.js +++ b/website/overview/js/app.js @@ -92,7 +92,6 @@ awfyApp.controller('pageCtrl', ['$scope', '$http', '$q', '$location', var path = $location.path().split("/"); if(machine != path[2]) { path[2] = machine; - console.log(machine); $location.path(path.join("/")); } }); diff --git a/website/overview/js/controllers.js b/website/overview/js/controllers.js index 5a599e8..d9acad0 100644 --- a/website/overview/js/controllers.js +++ b/website/overview/js/controllers.js @@ -150,11 +150,17 @@ awfyCtrl.controller('overviewCtrl', ['$scope', '$http', '$routeParams', '$q', scoreLabel += "ms"; } + var stamp = false; + if(test["stamp"]*1000 != $scope.$parent.date) { + stamp = test["stamp"]*1000; + } + machine.tests.push({ name: master["modes"][test["modeid"]]["name"], score: Math.round(test["score"]*100)/100, scoreLabel: scoreLabel, ff: isFF(master["modes"][test["modeid"]]["name"]) ? "ff" : "", + stamp: stamp, }); testsuite.maxScore = Math.max(testsuite.maxScore, test["score"]*1); diff --git a/website/overview/partials/overview.html b/website/overview/partials/overview.html index 5bddc8c..1b3cfb6 100644 --- a/website/overview/partials/overview.html +++ b/website/overview/partials/overview.html @@ -39,7 +39,7 @@

{{machine.name}}

{{test.scoreLabel}}
-
{{test.name}}
+
{{test.name}}{{test.stamp | date:'dd MMM yy HH:mm'}}
diff --git a/website/overview/sass/utility/abstractions/_box.scss b/website/overview/sass/utility/abstractions/_box.scss index 4a69b26..36bf1d6 100644 --- a/website/overview/sass/utility/abstractions/_box.scss +++ b/website/overview/sass/utility/abstractions/_box.scss @@ -55,6 +55,11 @@ margin-top: 0.4em; } + .stamp { + display: block; + font-size: $unit*2; + } + progress { width: 100%; height: $unit;