Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
Merge pull request #75 from numiralofe/added-job-direction-and-count-…
Browse files Browse the repository at this point in the history
…to-webui

added job count and direction to webui
  • Loading branch information
jrasell authored Oct 13, 2019
2 parents be871e9 + 7eac568 commit dd946f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/server/endpoints/v1/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ var tmplScaleEvent = template.Must(template.New("scaling-events").Parse(`
var thead = '<thead><tr>';
thead += '<th>ID</th>';
thead += '<th>Job:Group</th>';
thead += '<th>Direction</th>';
thead += '<th>Count</th>';
thead += '<th>Status</th>';
thead += '<th>Time</th>';
thead += '</tr></thead>';
Expand All @@ -93,6 +95,8 @@ var tmplScaleEvent = template.Must(template.New("scaling-events").Parse(`
var $tr = $('<tr />');
$tr.append($('<td />').text(id));
$tr.append($('<td />').text(jbname));
$tr.append($('<td />').text(event.Details.Direction))
$tr.append($('<td />').text(event.Details.Count))
$tr.append($('<td />').text(event.Status));
$tr.append($('<td />').text(timeConverter(event.Time)));
$tr.appendTo($tbody);
Expand Down

0 comments on commit dd946f2

Please sign in to comment.