674da96a59
This connects Xterm.js to a Nomad exec websocket so people can interact on clients via live sessions. There are buttons on job, allocation, task group, and task detail pages that open a popup that lets them edit their shell command and start a session. More is to come, as recorded in issues.
16 lines
436 B
Handlebars
16 lines
436 B
Handlebars
<div class="border-and-label">
|
|
<div class="border"></div>
|
|
<div class="task-label">{{task.name}}</div>
|
|
{{#if active}}
|
|
<svg width="20" height="20" class="is-active" data-test-task-active>
|
|
<circle cx="10" cy="10" r="6" />
|
|
</svg>
|
|
{{/if}}
|
|
</div>
|
|
{{#if openInNewWindow}}
|
|
<span class="tooltip" aria-label="Open in a new window">
|
|
{{x-icon "exit" class="show-on-hover"}}
|
|
</span>
|
|
{{else}}
|
|
{{x-icon "exit"}}
|
|
{{/if}} |