Adds the host event modal to the standard out feature

Removes old host modal code
This commit is contained in:
Jared Tabor
2018-04-02 11:21:11 -07:00
committed by Jake McDermott
parent 18dc0e9066
commit fe58b74d1e
18 changed files with 352 additions and 240 deletions

View File

@@ -169,7 +169,7 @@ function JobRenderService ($q, $sce, $window) {
}
if (current.isHost) {
tdEvent = `<td class="at-Stdout-event--host" ng-click="vm.showHostDetails('${current.id}')">${content}</td>`;
tdEvent = `<td class="at-Stdout-event--host" ui-sref="jobz.host-event.json({eventId: ${current.id}, taskUuid: '${current.uuid}' })">${content}</td>`;
}
if (current.time && current.line === ln) {
@@ -251,6 +251,7 @@ function JobRenderService ($q, $sce, $window) {
});
this.compile = html => {
html = $(this.el);
this.hooks.compile(html);
return this.requestAnimationFrame();