From 867680f4e9deaf1212a4b303738e03430a48ae6e Mon Sep 17 00:00:00 2001 From: Nick Hehr Date: Wed, 20 May 2015 10:31:34 -0400 Subject: [PATCH 1/2] Updates LaunchTest() form text input to be of type "url". Making this change not only adds automatic url validation from modern browsers but enabled special keyboards on mobile devices to make inputing urls much easier. --- front/src/views/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front/src/views/index.html b/front/src/views/index.html index aff58e1..13b0504 100644 --- a/front/src/views/index.html +++ b/front/src/views/index.html @@ -2,7 +2,7 @@

Free and open source!

- +
@@ -90,4 +90,4 @@

JS Profiling

Untangles the JavaScript spaghetti code

-
\ No newline at end of file + From 49f93e660e5080d10db62dfc0afa42dff9d8d892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Fri, 22 May 2015 10:05:41 +0200 Subject: [PATCH 2/2] User agent sniffing --- front/src/js/app.js | 1 + front/src/views/index.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/front/src/js/app.js b/front/src/js/app.js index 6a229fb..4fcfa1a 100644 --- a/front/src/js/app.js +++ b/front/src/js/app.js @@ -19,6 +19,7 @@ var yltApp = angular.module('YellowLabTools', [ ]); yltApp.run(['$rootScope', '$location', function($rootScope, $location) { + $rootScope.isTouchDevice = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent); $rootScope.loadedRunId = null; // Google Analytics diff --git a/front/src/views/index.html b/front/src/views/index.html index 13b0504..f83be65 100644 --- a/front/src/views/index.html +++ b/front/src/views/index.html @@ -2,7 +2,7 @@

Free and open source!

- +