From d2799590420dbe7124d4955c71c2036936129373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Mon, 27 Oct 2014 18:07:30 +0100 Subject: [PATCH] Remove the 'All Metrics' tab --- app/node_controllers/resultsController.js | 5 ---- app/node_views/results.html | 31 ---------------------- app/public/fonts/icons.woff | Bin 2312 -> 2136 bytes app/public/fonts/svg-icons/drawer3.svg | 1 - app/public/scripts/resultsCtrl.js | 14 ---------- app/public/styles/less/icons.less | 31 ++++++++++------------ app/public/styles/less/main.less | 3 --- app/public/styles/main.css | 15 +---------- 8 files changed, 15 insertions(+), 85 deletions(-) delete mode 100755 app/public/fonts/svg-icons/drawer3.svg diff --git a/app/node_controllers/resultsController.js b/app/node_controllers/resultsController.js index 4da4c1c..d1cdb97 100644 --- a/app/node_controllers/resultsController.js +++ b/app/node_controllers/resultsController.js @@ -21,10 +21,6 @@ var resultsController = function(req, res, googleAnalyticsId) { fs.readFile('./app/node_views/results.html', {encoding: 'utf8'}, callback); }, - phantomasMetadata: function(callback) { - fs.readFile('./node_modules/phantomas/lib/metadata/metadata.json', {encoding: 'utf8'}, callback); - }, - phantomasResults: function(callback) { fs.readFile(phantomasResultsPath, {encoding: 'utf8'}, callback); } @@ -40,7 +36,6 @@ var resultsController = function(req, res, googleAnalyticsId) { phantomasResults = phantomasResults.replace(/<\/script>/g, '\\u003c/script>'); var html = results.htmlTemplate; - html = strReplace(html, '%%METADATA%%', results.phantomasMetadata); html = strReplace(html, '%%RESULTS%%', phantomasResults); html = strReplace(html, '%%GA_ID%%', googleAnalyticsId); diff --git a/app/node_views/results.html b/app/node_views/results.html index 3113b2c..65bde25 100644 --- a/app/node_views/results.html +++ b/app/node_views/results.html @@ -23,7 +23,6 @@
New test
-
@@ -854,34 +853,6 @@
- -
-

Metrics from Phantomas report

-

Phantomas is a web performance metrics collector. You can find here the (almost) entire list of metrics from Phantomas.

- -
-

{{moduleName}}

-
-
- {{metricName}}: {{phantomasResults.metrics[metricName] | number: 0}} - {{metric.unit}} -
-
- {{metric.desc}} - (unreliable) -
-
-
Show offenders
-
Hide offenders
-
    -
  • - {{offender}} -
  • -
-
-
-
-