src/webui/master/static/controllers.js
// attribute value for sorting table columns in the provided scope.
attribute value for sorting table columns in the provided scope.
attribute value for sorting table columns in the provided scope .
function columnClass($scope) {
  return function(table, column) {
    if ($scope.tables[table].selected_column === column) {
      if ($scope.tables[table].reverse) {
        return 'descending';
      } else {
        return 'ascending';
      }
    }
    return 'unselected';
  }
}
function columnClass ( $scope ) { return function ( table , column ) { if ( $scope . tables [ table ] . selected_column === column ) { if ( $scope . tables [ table ] . reverse ) { return 'descending' ; } else { return 'ascending' ; } } return 'unselected' ; } }
attribute value for sorting table columns in the provided scope.
attribute value for sorting table columns in the provided scope .
// For the given table column, this behaves as follows: // Column unselected            : 'unselected' // Column selected / descending : 'descending' // Column selected / ascending  : 'ascending'