| {{! |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| }} |
| |
| <div class="row"> |
| {{#if model.container}} |
| <div class="panel panel-default"> |
| <div class="panel-heading"> |
| <div class="panel-title">Component Instance Information</div> |
| </div> |
| <div class=""> |
| <table class="table table-striped table-bordered table-hover"> |
| <tbody> |
| <tr> |
| <td>Component Instance</td> |
| <td>{{check-availability model.container.instanceName}}</td> |
| </tr> |
| <tr> |
| <td>Component</td> |
| <td>{{check-availability model.container.component}}</td> |
| </tr> |
| <tr> |
| <td>Current Container Id</td> |
| <td>{{check-availability model.container.containerId}}</td> |
| </tr> |
| <tr> |
| <td>State</td> |
| <td>{{check-availability model.container.state}}</td> |
| </tr> |
| <tr> |
| <td>Started Time</td> |
| <td>{{check-availability model.container.startedDate}}</td> |
| </tr> |
| <tr> |
| <td>Host</td> |
| <td>{{check-availability model.container.host}}</td> |
| </tr> |
| <tr> |
| <td>Node</td> |
| <td>{{check-availability model.container.node}}</td> |
| </tr> |
| <tr> |
| <td>IP Address</td> |
| <td>{{check-availability model.container.ipAddr}}</td> |
| </tr> |
| <tr> |
| <td>Exposed Ports</td> |
| <td>{{check-availability model.container.exposedPorts}}</td> |
| </tr> |
| <tr> |
| <td>Exit Status Code</td> |
| <td>{{check-availability model.container.exitStatusCode}}</td> |
| </tr> |
| <tr> |
| <td>Logs</td> |
| <td><a href="{{model.container.containerLogURL}}&service={{service}}">Link</a></td> |
| </tr> |
| <tr> |
| <td>Terminal</td> |
| <td><a href="{{model.container.termLink}}&user.name={{model.userInfo.requestedUser}}" target="_blank">Link</a></td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| {{else}} |
| <div class="panel panel-default"> |
| <h4 class="text-center">No component information available!</h4> |
| </div> |
| {{/if}} |
| </div> |