diff --git a/Gruntfile.js b/Gruntfile.js index 90ca0b9..cb63a7c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -85,7 +85,7 @@ module.exports = function (grunt) { uglify: { compress: { files: [{ - '<%= project.build %>/js/adagios.js' : [ + '<%= project.build %>/js/adagios.min.js' : [ '<%= project.app %>/app.js', '<%= project.app %>/components/config/config.js', '<%= project.app %>/components/live/live.js', @@ -99,6 +99,7 @@ module.exports = function (grunt) { '<%= project.app %>/components/tactical/status_overview/status_overview.js', '<%= project.app %>/components/tactical/current_health/current_health.js', '<%= project.app %>/components/tactical/top_alert_producers/top_alert_producers.js', + '<%= project.app %>/components/table/actionbar/actionbar.js', '<%= project.app %>/components/table/table.js', '<%= project.app %>/components/table/cell_duration/cell_duration.js', '<%= project.app %>/components/table/cell_host/cell_host.js', diff --git a/app/components/table/actionbar/actionbar.html b/app/components/table/actionbar/actionbar.html new file mode 100644 index 0000000..85fa451 --- /dev/null +++ b/app/components/table/actionbar/actionbar.html @@ -0,0 +1,96 @@ + + + diff --git a/app/components/table/actionbar/actionbar.js b/app/components/table/actionbar/actionbar.js new file mode 100644 index 0000000..5d46904 --- /dev/null +++ b/app/components/table/actionbar/actionbar.js @@ -0,0 +1,12 @@ +angular.module('adagios.table.actionbar', []) + + .controller('TableActionbarCtrl', [function () { + angular.noop(); + }]) + + .directive('adgTableActionbar', function () { + return { + restrict: 'E', + templateUrl: 'components/table/actionbar/actionbar.html' + }; + }); diff --git a/app/components/table/cell_host/cell_host.js b/app/components/table/cell_host/cell_host.js index 5ec23c2..0497256 100644 --- a/app/components/table/cell_host/cell_host.js +++ b/app/components/table/cell_host/cell_host.js @@ -14,5 +14,4 @@ angular.module('adagios.table.cell_host', ['adagios.table']) .run(['tableConfig', function (tableConfig) { tableConfig.cellToFieldsMap.host = [ 'host_state', 'host_name' ]; - }]); diff --git a/app/dashboard/dashboard.html b/app/dashboard/dashboard.html index 2727493..6300083 100644 --- a/app/dashboard/dashboard.html +++ b/app/dashboard/dashboard.html @@ -31,103 +31,8 @@ - - - - + +
diff --git a/app/index.html b/app/index.html index 2b64ad2..f8481fd 100644 --- a/app/index.html +++ b/app/index.html @@ -19,7 +19,7 @@ - +