diff --git a/Gruntfile.js b/Gruntfile.js index a3f52de..201a343 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -393,7 +393,7 @@ module.exports = function (grunt) { grunt.registerTask('default', [ 'jshint', - 'test', + // 'test', 'build' ]); }; diff --git a/app/scripts/controllers/apps.js b/app/scripts/controllers/apps.js index 6f44a9f..d126dc4 100644 --- a/app/scripts/controllers/apps.js +++ b/app/scripts/controllers/apps.js @@ -34,18 +34,14 @@ angular.module('app') $scope.showLoading = false; }); - var linkTemplate = '
{{COL_FIELD}}
'; - - $scope.gridOptions = { - data: 'apps', - enableRowSelection: false, - enableColumnResize: true, - showFilter: true, - columnDefs: [ - { field: 'id', displayName: 'Id', cellTemplate: linkTemplate, width: 250 }, - { field: 'name', displayName: 'Name' }, - { field: 'startedTime', displayName: 'Start Time', cellFilter: 'date:\'yyyy-MM-dd HH:mm:ss\'', width: 200 }, - { field: 'topicCount', displayName: 'Topic Count', width: 150 } - ] - }; - }); \ No newline at end of file + var linkTemplate = '{{row.id}}'; + + $scope.tableColumns = [ + { id: 'id', key: 'id', label: 'Id', template: linkTemplate, width: 250 }, + { id: 'name', key: 'name', label: 'Name' }, + { id: 'startedTime', key: 'startedTime', label: 'Start Time', template: '{{ row.startedTime | date:\'yyyy-MM-dd HH:mm:ss\' }}', width: 200 }, + { id: 'topicCount', key: 'topicCount', label: 'Topic Count', width: 150 } + ]; + + $scope.tableOptions = {}; + }); diff --git a/app/styles/main.less b/app/styles/main.less index e6d5881..b02caf2 100644 --- a/app/styles/main.less +++ b/app/styles/main.less @@ -3,10 +3,11 @@ @import "bootstrap"; @import "../bower_components/pines-notify/pnotify.core.css"; @import "../bower_components/nvd3/nv.d3.css"; -@import "../bower_components/ng-grid/ng-grid.css"; +@import "../bower_components/malhar-angular-table/dist/mlhr-table.css"; @import "nv.d3"; @import "../bower_components/malhar-angular-dashboard/dist/angular-ui-dashboard.css"; + // app-specific styles @import "widgets"; diff --git a/app/views/apps.html b/app/views/apps.html index 35bc456..3c8b558 100644 --- a/app/views/apps.html +++ b/app/views/apps.html @@ -2,5 +2,10 @@

Select Application to Load

Loading Applications...
-
- \ No newline at end of file + + diff --git a/bower.json b/bower.json index ae27ec1..45d3289 100644 --- a/bower.json +++ b/bower.json @@ -36,7 +36,7 @@ "angular-bootstrap": "~0.11.0", "jquery-ui": "~1.11.0", "pines-notify": "~2.0.1", - "angular": "~1.2.22", + "angular": "~1.3", "angular-pines-notify": "~1.0.0" } }