|
|
|
@ -295,8 +295,8 @@ class Cluster extends React.Component {
|
|
|
|
|
}
|
|
|
|
|
return (
|
|
|
|
|
<div className="product">
|
|
|
|
|
{this.props.hasPermissionToManage && (
|
|
|
|
|
<div className="arrow">
|
|
|
|
|
{this.props.hasPermissionToManage && (
|
|
|
|
|
<button
|
|
|
|
|
disabled={index === 0}
|
|
|
|
|
className="btn"
|
|
|
|
@ -306,8 +306,8 @@ class Cluster extends React.Component {
|
|
|
|
|
>
|
|
|
|
|
<Icon type="caret-left" theme="filled" />
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</div>
|
|
|
|
|
<div className="product-icon">
|
|
|
|
|
<img src={imageSrc} />
|
|
|
|
|
<Tooltip title={packageId}>
|
|
|
|
@ -348,9 +348,14 @@ class Cluster extends React.Component {
|
|
|
|
|
<Spin spinning={loading}>
|
|
|
|
|
<Row>
|
|
|
|
|
<Col span={16}>
|
|
|
|
|
{this.props.hasPermissionToManage && (
|
|
|
|
|
<Title editable={{ onChange: this.handleNameChange }} level={4}>
|
|
|
|
|
{name}
|
|
|
|
|
</Title>
|
|
|
|
|
)}
|
|
|
|
|
{!this.props.hasPermissionToManage && (
|
|
|
|
|
<Title level={4}>{name}</Title>
|
|
|
|
|
)}
|
|
|
|
|
</Col>
|
|
|
|
|
<Col span={8}>
|
|
|
|
|
{!isTemporary && this.props.hasPermissionToManage && (
|
|
|
|
@ -413,11 +418,14 @@ class Cluster extends React.Component {
|
|
|
|
|
);
|
|
|
|
|
})}
|
|
|
|
|
</div>
|
|
|
|
|
{this.props.hasPermissionToManage && (
|
|
|
|
|
<Row>
|
|
|
|
|
<Col>
|
|
|
|
|
{isTemporary && (
|
|
|
|
|
<div>
|
|
|
|
|
<Button onClick={this.cancelAddingNewCluster}>Cancel</Button>
|
|
|
|
|
<Button onClick={this.cancelAddingNewCluster}>
|
|
|
|
|
Cancel
|
|
|
|
|
</Button>
|
|
|
|
|
<Divider type="vertical" />
|
|
|
|
|
<Tooltip
|
|
|
|
|
title={
|
|
|
|
@ -458,6 +466,7 @@ class Cluster extends React.Component {
|
|
|
|
|
)}
|
|
|
|
|
</Col>
|
|
|
|
|
</Row>
|
|
|
|
|
)}
|
|
|
|
|
</Spin>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|