From 5e898f18785b5a58076d4f8a674e3890a807c69b Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Thu, 14 Aug 2014 14:28:39 -0400 Subject: [PATCH] added label to job status graph filters to address trello card 286 --- awx/ui/static/js/widgets/JobStatusGraph.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/awx/ui/static/js/widgets/JobStatusGraph.js b/awx/ui/static/js/widgets/JobStatusGraph.js index fde2ded0f9..3df95e07b3 100644 --- a/awx/ui/static/js/widgets/JobStatusGraph.js +++ b/awx/ui/static/js/widgets/JobStatusGraph.js @@ -35,8 +35,8 @@ angular.module('JobStatusGraphWidget', ['RestServices', 'Utilities']) html += "
\n"; html += "
\n"; - html += "\n"; - html += "Job Type\n"; + html += "Job Type: \n"; + html += "All\n"; html += " \n"; html += "
    \n"; @@ -51,8 +51,8 @@ angular.module('JobStatusGraphWidget', ['RestServices', 'Utilities']) html += "
    \n"; html += "
    \n"; - html += "\n"; - html += "Period\n"; + html += "Period: \n"; + html += "Past Month\n"; html += " \n"; html += "
      \n"; @@ -185,7 +185,7 @@ angular.module('JobStatusGraphWidget', ['RestServices', 'Utilities']) "src": "url(/static/fonts/OpenSans-Regular.ttf)" }); - //On click, update with new data + // when the Period drop down filter is used, create a new graph based on the d3.selectAll(".n") .on("click", function() { period = this.getAttribute("id");