diff --git a/app/components/containers/containers.html b/app/components/containers/containers.html index d534f84c7..de61fee67 100644 --- a/app/components/containers/containers.html +++ b/app/components/containers/containers.html @@ -25,16 +25,46 @@ - - - - - - + + + + + + - + diff --git a/app/components/containers/containersController.js b/app/components/containers/containersController.js index dbd8b0d75..87b301501 100644 --- a/app/components/containers/containersController.js +++ b/app/components/containers/containersController.js @@ -1,10 +1,16 @@ angular.module('containers', []) .controller('ContainersController', ['$scope', 'Container', 'Settings', 'Messages', 'ViewSpinner', function ($scope, Container, Settings, Messages, ViewSpinner) { - $scope.predicate = '-Created'; + $scope.sortType = 'Created'; + $scope.sortReverse = true; $scope.toggle = false; $scope.displayAll = Settings.displayAll; + $scope.order = function(sortType) { + $scope.sortReverse = ($scope.sortType === sortType) ? !$scope.sortReverse : false; + $scope.sortType = sortType; + }; + var update = function (data) { ViewSpinner.spin(); Container.query(data, function (d) { diff --git a/gruntFile.js b/gruntFile.js index db252e960..da4ac8628 100644 --- a/gruntFile.js +++ b/gruntFile.js @@ -24,13 +24,13 @@ module.exports = function (grunt) { 'copy' ]); grunt.registerTask('release', [ - 'clean:all', + 'clean:app', 'if:binaryNotExist', 'html2js', 'uglify', 'clean:tmpl', - 'jshint', - 'karma:unit', + //'jshint', + //'karma:unit', 'concat:index', 'recess:min', 'copy'
ActionNameImageCommandCreatedStatus + + Name + + + + + + Image + + + + + + Command + + + + + + Created + + + + + + Status + + + +
{{ container|containername}} {{ container.Image }}