aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject [44/50] [abbrv] git commit: Removed search box from job page.
Date Sat, 05 Apr 2014 00:05:30 GMT
Removed search box from job page.


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/e17bacd5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/e17bacd5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/e17bacd5

Branch: refs/heads/mansu/job_page
Commit: e17bacd56f83f36ac2275596f2007e5221752789
Parents: 71a4928
Author: Suman Karumuri <skarumuri@twitter.com>
Authored: Fri Apr 4 11:04:09 2014 -0700
Committer: Suman Karumuri <skarumuri@twitter.com>
Committed: Fri Apr 4 11:04:09 2014 -0700

----------------------------------------------------------------------
 .../apache/aurora/scheduler/http/ui/js/controllers.js   | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/e17bacd5/src/main/resources/org/apache/aurora/scheduler/http/ui/js/controllers.js
----------------------------------------------------------------------
diff --git a/src/main/resources/org/apache/aurora/scheduler/http/ui/js/controllers.js b/src/main/resources/org/apache/aurora/scheduler/http/ui/js/controllers.js
index c400878..2973720 100644
--- a/src/main/resources/org/apache/aurora/scheduler/http/ui/js/controllers.js
+++ b/src/main/resources/org/apache/aurora/scheduler/http/ui/js/controllers.js
@@ -299,8 +299,16 @@ auroraUIControllers.controller('JobController',
       $scope.summaryButtonText = $scope.showSummary ? hideSummary : showSummary;
     };
 
-    $scope.activeTasksTableConfig = infoTableConfig;
-    $scope.completedTasksTableConfig = infoTableConfig;
+    var taskTableConfig = {
+      isGlobalSearchActivated: false,
+      isPaginationEnabled: true,
+      itemsByPage: 50,
+      maxSize: 8,
+      selectionMode: 'single'
+    };
+
+    $scope.activeTasksTableConfig = taskTableConfig;
+    $scope.completedTasksTableConfig = taskTableConfig;
 
     var taskColumns = [
       {label: 'Instance', map: 'instanceId'},


Mime
View raw message