2018-10-31 02:50:38 +00:00
|
|
|
<div class="btn-group btn-group-xs" role="group" aria-label="..." style="display:inline-flex;">
|
|
|
|
<a
|
|
|
|
ng-if="$ctrl.state.showQuickActionLogs && $ctrl.taskId === undefined"
|
|
|
|
style="margin: 0 2.5px;"
|
|
|
|
ui-sref="docker.containers.container.logs({id: $ctrl.containerId, nodeName: $ctrl.nodeName})"
|
|
|
|
title="Logs">
|
|
|
|
<i class="fa fa-file-alt space-right" aria-hidden="true"></i>
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
ng-if="$ctrl.state.showQuickActionLogs && $ctrl.taskId !== undefined"
|
|
|
|
style="margin: 0 2.5px;"
|
|
|
|
ui-sref="docker.tasks.task.logs({id: $ctrl.taskId})"
|
|
|
|
title="Logs">
|
|
|
|
<i class="fa fa-file-alt space-right" aria-hidden="true"></i>
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
ng-if="$ctrl.state.showQuickActionInspect && $ctrl.taskId === undefined"
|
|
|
|
style="margin: 0 2.5px;"
|
|
|
|
ui-sref="docker.containers.container.inspect({id: $ctrl.containerId, nodeName: $ctrl.nodeName})"
|
|
|
|
title="Inspect">
|
|
|
|
<i class="fa fa-info-circle space-right" aria-hidden="true"></i>
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
ng-if="$ctrl.state.showQuickActionInspect && $ctrl.taskId !== undefined"
|
|
|
|
style="margin: 0 2.5px;"
|
|
|
|
ui-sref="docker.tasks.task({id: $ctrl.taskId})"
|
|
|
|
title="Inspect">
|
|
|
|
<i class="fa fa-info-circle space-right" aria-hidden="true"></i>
|
|
|
|
</a>
|
|
|
|
<a
|
2019-03-11 03:48:00 +00:00
|
|
|
ng-if="$ctrl.state.showQuickActionStats && ['starting', 'running', 'healthy', 'unhealthy'].indexOf($ctrl.status) !== -1 && $ctrl.taskId === undefined"
|
2018-10-31 02:50:38 +00:00
|
|
|
style="margin: 0 2.5px;"
|
|
|
|
ui-sref="docker.containers.container.stats({id: $ctrl.containerId, nodeName: $ctrl.nodeName})"
|
|
|
|
title="Stats">
|
|
|
|
<i class="fa fa-chart-area space-right" aria-hidden="true"></i>
|
|
|
|
</a>
|
2019-05-09 02:04:40 +00:00
|
|
|
<a
|
|
|
|
ng-if="$ctrl.state.showQuickActionConsole && ['starting', 'running', 'healthy', 'unhealthy'].indexOf($ctrl.status) !== -1 && $ctrl.taskId === undefined"
|
|
|
|
style="margin: 0 2.5px;"
|
|
|
|
ui-sref="docker.containers.container.exec({id: $ctrl.containerId, nodeName: $ctrl.nodeName})"
|
|
|
|
title="Exec Console">
|
2018-10-31 02:50:38 +00:00
|
|
|
<i class="fa fa-terminal space-right" aria-hidden="true"></i>
|
|
|
|
</a>
|
2019-05-09 02:04:40 +00:00
|
|
|
<a
|
|
|
|
ng-if="$ctrl.state.showQuickActionConsole && ['starting', 'running', 'healthy', 'unhealthy'].indexOf($ctrl.status) !== -1 && $ctrl.taskId === undefined"
|
|
|
|
style="margin: 0 2.5px;"
|
|
|
|
ui-sref="docker.containers.container.attach({id: $ctrl.containerId, nodeName: $ctrl.nodeName})"
|
|
|
|
title="Attach Console">
|
|
|
|
<i class="fa fa-plug space-right" aria-hidden="true"></i>
|
|
|
|
</a>
|
2018-10-31 02:50:38 +00:00
|
|
|
</div>
|