azkaban-developers

Details

diff --git a/src/java/azkaban/webapp/servlet/velocity/executingflowpage.vm b/src/java/azkaban/webapp/servlet/velocity/executingflowpage.vm
index d944f4c..678c288 100644
--- a/src/java/azkaban/webapp/servlet/velocity/executingflowpage.vm
+++ b/src/java/azkaban/webapp/servlet/velocity/executingflowpage.vm
@@ -122,6 +122,7 @@
 						<thead>
 							<tr>
 								<th>Name</th>
+								<th class="jobtype">Type</th>
 								<th class="timeline">Timeline</th>
 								<th class="date">Start Time</th>
 								<th class="date">End Time</th>
diff --git a/src/less/tables.less b/src/less/tables.less
index 1630692..ba34cb4 100644
--- a/src/less/tables.less
+++ b/src/less/tables.less
@@ -91,6 +91,10 @@ table.table-properties {
       width: 160px;
     }
 
+    &.jobtype {
+      width: 90px;
+    }
+
     &.execid {
       width: 100px;
     }
diff --git a/src/web/js/azkaban/view/flow-execution-list.js b/src/web/js/azkaban/view/flow-execution-list.js
index 69621a3..2a0ce22 100644
--- a/src/web/js/azkaban/view/flow-execution-list.js
+++ b/src/web/js/azkaban/view/flow-execution-list.js
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2014 LinkedIn Corp.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
 var executionListView;
 azkaban.ExecutionListView = Backbone.View.extend({
 	events: {
@@ -241,6 +257,7 @@ azkaban.ExecutionListView = Backbone.View.extend({
 		var self = this;
 		var tr = document.createElement("tr");
 		var tdName = document.createElement("td");
+		var tdType = document.createElement("td");
 		var tdTimeline = document.createElement("td");
 		var tdStart = document.createElement("td");
 		var tdEnd = document.createElement("td");
@@ -252,6 +269,7 @@ azkaban.ExecutionListView = Backbone.View.extend({
 		var padding = 15*$(body)[0].level;
 		
 		$(tr).append(tdName);
+		$(tr).append(tdType);
 		$(tr).append(tdTimeline);
 		$(tr).append(tdStart);
 		$(tr).append(tdEnd);
@@ -261,6 +279,7 @@ azkaban.ExecutionListView = Backbone.View.extend({
 		$(tr).addClass("jobListRow");
 		
 		$(tdName).addClass("jobname");
+		$(tdType).addClass("jobtype");
 		if (padding) {
 			$(tdName).css("padding-left", padding);
 		}
@@ -270,6 +289,8 @@ azkaban.ExecutionListView = Backbone.View.extend({
 		$(tdElapse).addClass("elapsedTime");
 		$(tdStatus).addClass("statustd");
 		$(tdDetails).addClass("details");
+
+		$(tdType).text(node.type);
 		
 		var outerProgressBar = document.createElement("div");
 		//$(outerProgressBar).attr("id", node.id + "-outerprogressbar");
@@ -318,7 +339,7 @@ azkaban.ExecutionListView = Backbone.View.extend({
 		}
 
 		$(body).append(tr);
-		if (node.type=="flow") {
+		if (node.type == "flow") {
 			var subFlowRow = document.createElement("tr");
 			var subFlowCell = document.createElement("td");
 			$(subFlowCell).addClass("subflowrow");