|
@@ -34,7 +34,6 @@ const ProvisionerStatus: React.FC<Props> = () => {
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
<StyledProvisionerStatus>
|
|
<StyledProvisionerStatus>
|
|
|
- <InfraWrapper>
|
|
|
|
|
<InfraObject>
|
|
<InfraObject>
|
|
|
<InfraHeader>
|
|
<InfraHeader>
|
|
|
{renderStatus("successful")}
|
|
{renderStatus("successful")}
|
|
@@ -44,8 +43,6 @@ const ProvisionerStatus: React.FC<Props> = () => {
|
|
|
<LoadingFill status="successful" width="100%" />
|
|
<LoadingFill status="successful" width="100%" />
|
|
|
</LoadingBar>
|
|
</LoadingBar>
|
|
|
</InfraObject>
|
|
</InfraObject>
|
|
|
- </InfraWrapper>
|
|
|
|
|
- <InfraWrapper>
|
|
|
|
|
<InfraObject>
|
|
<InfraObject>
|
|
|
<InfraHeader>
|
|
<InfraHeader>
|
|
|
{renderStatus("loading")}
|
|
{renderStatus("loading")}
|
|
@@ -55,8 +52,6 @@ const ProvisionerStatus: React.FC<Props> = () => {
|
|
|
<LoadingFill status="loading" width="90%" />
|
|
<LoadingFill status="loading" width="90%" />
|
|
|
</LoadingBar>
|
|
</LoadingBar>
|
|
|
</InfraObject>
|
|
</InfraObject>
|
|
|
- </InfraWrapper>
|
|
|
|
|
- <InfraWrapper>
|
|
|
|
|
<InfraObject>
|
|
<InfraObject>
|
|
|
<InfraHeader>
|
|
<InfraHeader>
|
|
|
{renderStatus("error")}
|
|
{renderStatus("error")}
|
|
@@ -65,11 +60,10 @@ const ProvisionerStatus: React.FC<Props> = () => {
|
|
|
<LoadingBar>
|
|
<LoadingBar>
|
|
|
<LoadingFill status="error" width="10%" />
|
|
<LoadingFill status="error" width="10%" />
|
|
|
</LoadingBar>
|
|
</LoadingBar>
|
|
|
|
|
+ <ExpandedError>
|
|
|
|
|
+ 422 validation error: autoscaling failed because sometimes infrastructure is a bit mysterious and hard to predict.
|
|
|
|
|
+ </ExpandedError>
|
|
|
</InfraObject>
|
|
</InfraObject>
|
|
|
- <ExpandedError>
|
|
|
|
|
- 422 validation error: autoscaling failed because sometimes infrastructure is a bit mysterious and hard to predict.
|
|
|
|
|
- </ExpandedError>
|
|
|
|
|
- </InfraWrapper>
|
|
|
|
|
</StyledProvisionerStatus>
|
|
</StyledProvisionerStatus>
|
|
|
);
|
|
);
|
|
|
};
|
|
};
|
|
@@ -78,11 +72,12 @@ export default ProvisionerStatus;
|
|
|
|
|
|
|
|
const ExpandedError = styled.div`
|
|
const ExpandedError = styled.div`
|
|
|
background: #ffffff22;
|
|
background: #ffffff22;
|
|
|
- border-bottom-left-radius: 5px;
|
|
|
|
|
- border-bottom-right-radius: 5px;
|
|
|
|
|
|
|
+ border-radius: 5px;
|
|
|
padding: 15px;
|
|
padding: 15px;
|
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
|
font-family: monospace;
|
|
font-family: monospace;
|
|
|
|
|
+ border: 1px solid #aaaabb;
|
|
|
|
|
+ margin-top: 17px;
|
|
|
`;
|
|
`;
|
|
|
|
|
|
|
|
const LoadingFill = styled.div<{ width: string, status: string }>`
|
|
const LoadingFill = styled.div<{ width: string, status: string }>`
|
|
@@ -151,9 +146,6 @@ const InfraObject = styled.div`
|
|
|
padding: 15px 15px 17px;
|
|
padding: 15px 15px 17px;
|
|
|
border: 1px solid #aaaabb;
|
|
border: 1px solid #aaaabb;
|
|
|
border-radius: 5px;
|
|
border-radius: 5px;
|
|
|
-`;
|
|
|
|
|
-
|
|
|
|
|
-const InfraWrapper = styled.div`
|
|
|
|
|
margin-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
|
`;
|
|
`;
|
|
|
|
|
|