From 72e76cc0a1c8a0389655c9612a061a621a21299f Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Tue, 13 Oct 2015 08:48:48 +0200 Subject: [PATCH] Remove link --- analysis/lib.js | 5 ++--- analysis/loadTables.js | 2 +- views/base.jade | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/analysis/lib.js b/analysis/lib.js index 5bc290b..b425aa9 100644 --- a/analysis/lib.js +++ b/analysis/lib.js @@ -1,8 +1,7 @@ var Lib = module.exports; // http://codereview.stackexchange.com/questions/37028/grouping-elements-in-array-by-multiple-properties -Lib.groupBy = function(array, f) -{ +Lib.groupBy = function(array, f) { var groups = {}; array.forEach(function(o) { var group = JSON.stringify(f(o)); @@ -20,7 +19,7 @@ function letterToInt(letter) { case 'B': return 0; case 'V': return 1; case 'A': return 2; - default: return null; + default : return null; } } diff --git a/analysis/loadTables.js b/analysis/loadTables.js index 9789b00..4e6db3b 100644 --- a/analysis/loadTables.js +++ b/analysis/loadTables.js @@ -17,7 +17,7 @@ function start() { function() { write(" done !\n"); client.query( - 'SELECT * FROM Users', + 'SELECT * FROM Users WHERE valid', function(err, result) { users = result.rows; main(); diff --git a/views/base.jade b/views/base.jade index 8d62811..5c13ab2 100644 --- a/views/base.jade +++ b/views/base.jade @@ -20,7 +20,7 @@ html(lang='fr') span.sr-only Toggle navigation span.icon-bar span.icon-bar - a.navbar-brand(href="#{urls.index}") 3DUI + a.navbar-brand(href="#{urls.index}", style={'pointer-events':'none'}) 3DUI block links