mirror of https://github.com/rancher/ui.git
32 lines
941 B
Handlebars
32 lines
941 B
Handlebars
<tr class="group-row">
|
|
<td colspan={{sub fullColspan 2}} class="pl-10">
|
|
{{#if (and model.id model.clusterId)}}
|
|
<a href="{{href-to 'authenticated.cluster.monitoring.node-detail' model.clusterId model.id}}">
|
|
{{t 'nodeGroup.label' name=model.displayName}}
|
|
</a>
|
|
{{else}}
|
|
{{t 'nodeGroup.label' name=nodeId}}
|
|
{{/if}}
|
|
{{node-ip model=model}}
|
|
</td>
|
|
<td data-title="{{dt.instanceState}}" class="{{alignState}}">
|
|
{{#if model}}
|
|
{{badge-state model=model classNames="btn-xs"}}
|
|
{{/if}}
|
|
</td>
|
|
{{#if showActions}}
|
|
<td data-title="{{dt.actions}}" class="actions">
|
|
{{#if model}}
|
|
{{action-menu model=model}}
|
|
{{/if}}
|
|
</td>
|
|
{{/if}}
|
|
</tr>
|
|
{{#if model.showTransitioningMessage}}
|
|
<tr class="group-row group-row-error">
|
|
<td colspan="{{fullColspan}}" class="text-small {{model.stateColor}}">
|
|
{{uc-first model.transitioningMessage}}
|
|
</td>
|
|
</tr>
|
|
{{/if}}
|