2017-10-09 16:35:52 +03:00
|
|
|
#### Card > Headed > Collapsed
|
|
|
|
|
|
|
|
```jsx
|
2017-05-18 21:21:33 +03:00
|
|
|
const {
|
|
|
|
CardDescription,
|
|
|
|
CardHeader,
|
|
|
|
CardMeta,
|
|
|
|
CardOptions,
|
|
|
|
CardOutlet,
|
|
|
|
CardSubTitle,
|
|
|
|
CardTitle,
|
|
|
|
CardView,
|
2017-10-12 23:13:44 +03:00
|
|
|
CardInfo,
|
|
|
|
CardInfoLabel,
|
|
|
|
CardInfoIconContainer
|
2017-05-18 21:21:33 +03:00
|
|
|
} = require('./');
|
2017-10-12 23:13:44 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
const { InstancesIconLight } = require('../icons');
|
2017-05-18 21:21:33 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
<Card collapsed headed>
|
|
|
|
<CardHeader>
|
2017-05-18 21:21:33 +03:00
|
|
|
<CardMeta>
|
2017-10-09 16:35:52 +03:00
|
|
|
<CardTitle>Nginx</CardTitle>
|
|
|
|
<CardDescription>
|
2017-10-12 23:13:44 +03:00
|
|
|
<CardInfo>
|
|
|
|
<CardInfoIconContainer>
|
|
|
|
<InstancesIconLight />
|
|
|
|
</CardInfoIconContainer>
|
|
|
|
<CardInfoLabel left light>4 of 4 instances</CardInfoLabel>
|
|
|
|
</CardInfo>
|
2017-10-12 21:15:51 +03:00
|
|
|
</CardDescription>
|
2017-05-18 21:21:33 +03:00
|
|
|
</CardMeta>
|
2017-10-09 16:35:52 +03:00
|
|
|
<CardOptions />
|
|
|
|
</CardHeader>
|
2017-10-12 21:15:51 +03:00
|
|
|
</Card>;
|
2017-05-18 21:21:33 +03:00
|
|
|
```
|
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
#### Card > Headed
|
2017-05-18 21:21:33 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
```jsx
|
2017-05-18 21:21:33 +03:00
|
|
|
const {
|
|
|
|
CardDescription,
|
|
|
|
CardHeader,
|
|
|
|
CardMeta,
|
|
|
|
CardOptions,
|
|
|
|
CardOutlet,
|
|
|
|
CardSubTitle,
|
|
|
|
CardTitle,
|
|
|
|
CardView,
|
2017-10-12 23:13:44 +03:00
|
|
|
CardInfo,
|
|
|
|
CardInfoLabel,
|
|
|
|
CardInfoIconContainer
|
2017-05-18 21:21:33 +03:00
|
|
|
} = require('./');
|
2017-10-12 23:13:44 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
const { InstancesIconLight, HealthyIcon } = require('../icons');
|
2017-05-18 21:21:33 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
<Card headed>
|
|
|
|
<CardHeader>
|
2017-05-18 21:21:33 +03:00
|
|
|
<CardMeta>
|
2017-10-09 16:35:52 +03:00
|
|
|
<CardTitle>Nginx</CardTitle>
|
|
|
|
<CardDescription>
|
2017-10-12 23:13:44 +03:00
|
|
|
<CardInfo>
|
|
|
|
<CardInfoIconContainer>
|
|
|
|
<InstancesIconLight />
|
|
|
|
</CardInfoIconContainer>
|
|
|
|
<CardInfoLabel left light>4 of 4 instances</CardInfoLabel>
|
|
|
|
</CardInfo>
|
2017-10-12 21:15:51 +03:00
|
|
|
</CardDescription>
|
2017-05-18 21:21:33 +03:00
|
|
|
</CardMeta>
|
2017-10-09 16:35:52 +03:00
|
|
|
<CardOptions />
|
|
|
|
</CardHeader>
|
|
|
|
<CardView>
|
|
|
|
<CardDescription>
|
|
|
|
<CardInfo
|
2017-10-12 21:15:51 +03:00
|
|
|
icon={<HealthyIcon healthy="HEALTHY" />}
|
|
|
|
iconPosition="left"
|
|
|
|
label="Healthy"
|
|
|
|
color="dark"
|
|
|
|
/>
|
2017-10-09 16:35:52 +03:00
|
|
|
</CardDescription>
|
2017-05-18 21:21:33 +03:00
|
|
|
</CardView>
|
2017-10-12 21:15:51 +03:00
|
|
|
</Card>;
|
2017-05-18 21:21:33 +03:00
|
|
|
```
|
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
#### Card > Single state
|
|
|
|
|
|
|
|
```jsx
|
2017-09-14 14:26:57 +03:00
|
|
|
const {
|
|
|
|
CardDescription,
|
|
|
|
CardHeader,
|
|
|
|
CardMeta,
|
|
|
|
CardOptions,
|
|
|
|
CardOutlet,
|
|
|
|
CardSubTitle,
|
|
|
|
CardTitle,
|
|
|
|
CardView,
|
2017-10-12 23:13:44 +03:00
|
|
|
CardInfo,
|
|
|
|
CardInfoLabel,
|
|
|
|
CardInfoIconContainer
|
2017-09-14 14:26:57 +03:00
|
|
|
} = require('./');
|
2017-10-12 23:13:44 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
const { InstancesIconLight, HealthyIcon } = require('../icons');
|
2017-09-14 14:26:57 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
<Card headed>
|
|
|
|
<CardHeader>
|
2017-09-14 14:26:57 +03:00
|
|
|
<CardMeta>
|
2017-10-09 16:35:52 +03:00
|
|
|
<CardTitle>Nginx</CardTitle>
|
|
|
|
<CardDescription>
|
2017-10-12 23:13:44 +03:00
|
|
|
<CardInfo>
|
|
|
|
<CardInfoIconContainer>
|
|
|
|
<InstancesIconLight />
|
|
|
|
</CardInfoIconContainer>
|
|
|
|
<CardInfoLabel left light>4 of 4 instances</CardInfoLabel>
|
|
|
|
</CardInfo>
|
2017-10-12 21:15:51 +03:00
|
|
|
</CardDescription>
|
2017-09-14 14:26:57 +03:00
|
|
|
</CardMeta>
|
2017-10-09 16:35:52 +03:00
|
|
|
<CardOptions />
|
|
|
|
</CardHeader>
|
|
|
|
<CardView>
|
|
|
|
<CardDescription>
|
2017-10-12 21:15:51 +03:00
|
|
|
1 instance paused <br />
|
|
|
|
1 instances stopped <br />
|
|
|
|
1 instance not responding <br />
|
2017-10-09 16:35:52 +03:00
|
|
|
</CardDescription>
|
2017-09-14 14:26:57 +03:00
|
|
|
</CardView>
|
2017-10-12 21:15:51 +03:00
|
|
|
</Card>;
|
2017-09-14 14:26:57 +03:00
|
|
|
```
|
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
#### Card > Metrics
|
|
|
|
|
|
|
|
```jsx
|
2017-09-18 17:08:55 +03:00
|
|
|
const {
|
|
|
|
CardDescription,
|
|
|
|
CardHeader,
|
|
|
|
CardMeta,
|
|
|
|
CardOptions,
|
|
|
|
CardOutlet,
|
|
|
|
CardSubTitle,
|
|
|
|
CardTitle,
|
|
|
|
CardView,
|
2017-10-12 23:13:44 +03:00
|
|
|
CardInfo,
|
|
|
|
CardInfoLabel,
|
|
|
|
CardInfoIconContainer
|
2017-09-18 17:08:55 +03:00
|
|
|
} = require('./');
|
2017-10-12 23:13:44 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
const { MetricGraph, GraphContainer, GraphTitle } = require('../metrics');
|
|
|
|
const { Row } = require('react-styled-flexboxgrid');
|
|
|
|
const metrics = require('./metrics.json');
|
|
|
|
const { InstancesIconLight, HealthyIcon } = require('../icons');
|
2017-09-18 17:08:55 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
<Card headed>
|
|
|
|
<CardHeader>
|
2017-09-18 17:08:55 +03:00
|
|
|
<CardMeta>
|
2017-10-09 16:35:52 +03:00
|
|
|
<CardTitle>Nginx</CardTitle>
|
|
|
|
<CardDescription>
|
2017-10-12 23:13:44 +03:00
|
|
|
<CardInfo>
|
|
|
|
<CardInfoIconContainer>
|
|
|
|
<InstancesIconLight />
|
|
|
|
</CardInfoIconContainer>
|
|
|
|
<CardInfoLabel left light>4 of 4 instances</CardInfoLabel>
|
|
|
|
</CardInfo>
|
2017-10-12 21:15:51 +03:00
|
|
|
</CardDescription>
|
2017-09-18 17:08:55 +03:00
|
|
|
</CardMeta>
|
2017-10-09 16:35:52 +03:00
|
|
|
<CardOptions />
|
|
|
|
</CardHeader>
|
|
|
|
<CardView>
|
|
|
|
<CardDescription>
|
2017-10-12 21:15:51 +03:00
|
|
|
<span>Scaling from 1 to 4: finished</span>
|
2017-10-12 23:13:44 +03:00
|
|
|
<CardInfo>
|
|
|
|
<CardInfoIconContainer>
|
|
|
|
<HealthyIcon />
|
|
|
|
</CardInfoIconContainer>
|
|
|
|
<CardInfoLabel left>Healthy</CardInfoLabel>
|
|
|
|
</CardInfo>
|
2017-10-09 16:35:52 +03:00
|
|
|
</CardDescription>
|
|
|
|
<CardDescription>
|
2017-10-12 21:15:51 +03:00
|
|
|
<Row>
|
|
|
|
<GraphContainer xs={4}>
|
|
|
|
<GraphTitle>Memory usage</GraphTitle>
|
|
|
|
<MetricGraph metricsData={metrics} graphDurationSeconds={90} />
|
|
|
|
</GraphContainer>
|
|
|
|
<GraphContainer xs={4}>
|
|
|
|
<GraphTitle>CPU usage</GraphTitle>
|
|
|
|
<MetricGraph metricsData={metrics} graphDurationSeconds={90} />
|
|
|
|
</GraphContainer>
|
|
|
|
<GraphContainer xs={4}>
|
|
|
|
<GraphTitle>CPU wait time</GraphTitle>
|
|
|
|
<MetricGraph metricsData={metrics} graphDurationSeconds={90} />
|
|
|
|
</GraphContainer>
|
|
|
|
</Row>
|
2017-10-09 16:35:52 +03:00
|
|
|
</CardDescription>
|
2017-09-18 17:08:55 +03:00
|
|
|
</CardView>
|
2017-10-12 21:15:51 +03:00
|
|
|
</Card>;
|
2017-09-18 17:08:55 +03:00
|
|
|
```
|
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
#### Card > Provisioning
|
2017-05-18 21:21:33 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
```jsx
|
2017-05-18 21:21:33 +03:00
|
|
|
const {
|
|
|
|
CardDescription,
|
|
|
|
CardHeader,
|
|
|
|
CardMeta,
|
|
|
|
CardOptions,
|
|
|
|
CardOutlet,
|
|
|
|
CardSubTitle,
|
|
|
|
CardTitle,
|
|
|
|
CardView,
|
2017-10-12 23:13:44 +03:00
|
|
|
CardInfo,
|
|
|
|
CardInfoLabel,
|
|
|
|
CardInfoIconContainer
|
2017-05-18 21:21:33 +03:00
|
|
|
} = require('./');
|
2017-10-12 23:13:44 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
const StatusLoader = require('../status-loader').default;
|
|
|
|
const { InstancesIconLight, HealthyIcon } = require('../icons');
|
2017-05-18 21:21:33 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
<Card collapsed headed disabled>
|
|
|
|
<CardHeader disabled>
|
2017-05-18 21:21:33 +03:00
|
|
|
<CardMeta>
|
2017-10-09 16:35:52 +03:00
|
|
|
<CardTitle disabled>
|
|
|
|
<span>Nginx</span>
|
2017-10-12 21:15:51 +03:00
|
|
|
<StatusLoader inline row msg="Provisioning" />
|
2017-10-09 16:35:52 +03:00
|
|
|
</CardTitle>
|
2017-05-18 21:21:33 +03:00
|
|
|
</CardMeta>
|
2017-10-12 21:15:51 +03:00
|
|
|
<CardOptions disabled />
|
2017-05-18 21:21:33 +03:00
|
|
|
</CardHeader>
|
2017-10-12 21:15:51 +03:00
|
|
|
</Card>;
|
2017-05-18 21:21:33 +03:00
|
|
|
```
|
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
```jsx
|
2017-05-18 21:21:33 +03:00
|
|
|
const {
|
|
|
|
CardDescription,
|
|
|
|
CardHeader,
|
|
|
|
CardMeta,
|
|
|
|
CardOptions,
|
|
|
|
CardOutlet,
|
|
|
|
CardSubTitle,
|
|
|
|
CardTitle,
|
|
|
|
CardView,
|
2017-10-12 23:13:44 +03:00
|
|
|
CardInfo,
|
|
|
|
CardInfoLabel,
|
|
|
|
CardInfoIconContainer
|
2017-05-18 21:21:33 +03:00
|
|
|
} = require('./');
|
2017-10-12 23:13:44 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
const { MetricGraph, GraphContainer, GraphTitle } = require('../metrics');
|
|
|
|
const StatusLoader = require('../status-loader').default;
|
|
|
|
const { InstancesIconLight, HealthyIcon } = require('../icons');
|
2017-05-18 21:21:33 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
<Card headed>
|
2017-05-18 21:21:33 +03:00
|
|
|
<CardHeader>
|
|
|
|
<CardMeta>
|
2017-10-09 16:35:52 +03:00
|
|
|
<CardTitle>Nginx</CardTitle>
|
|
|
|
<CardDescription>
|
2017-10-12 23:13:44 +03:00
|
|
|
<CardInfo>
|
|
|
|
<CardInfoIconContainer>
|
|
|
|
<InstancesIconLight />
|
|
|
|
</CardInfoIconContainer>
|
|
|
|
<CardInfoLabel left light>4 of 4 instances</CardInfoLabel>
|
|
|
|
</CardInfo>
|
2017-10-12 21:15:51 +03:00
|
|
|
</CardDescription>
|
2017-05-18 21:21:33 +03:00
|
|
|
</CardMeta>
|
|
|
|
<CardOptions />
|
|
|
|
</CardHeader>
|
|
|
|
<CardView>
|
2017-10-09 16:35:52 +03:00
|
|
|
<CardDescription>
|
2017-10-12 21:15:51 +03:00
|
|
|
<StatusLoader row msg="Provisioning 3 instances" />
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<br />
|
2017-10-12 23:13:44 +03:00
|
|
|
<CardInfo>
|
|
|
|
<CardInfoIconContainer>
|
|
|
|
<HealthyIcon />
|
|
|
|
</CardInfoIconContainer>
|
|
|
|
<CardInfoLabel left>Healthy</CardInfoLabel>
|
|
|
|
</CardInfo>
|
2017-10-09 16:35:52 +03:00
|
|
|
</CardDescription>
|
2017-05-18 21:21:33 +03:00
|
|
|
</CardView>
|
2017-10-12 21:15:51 +03:00
|
|
|
</Card>;
|
2017-05-18 21:21:33 +03:00
|
|
|
```
|
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
#### Card > Disabled
|
2017-05-18 21:21:33 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
```jsx
|
2017-05-18 21:21:33 +03:00
|
|
|
const {
|
|
|
|
CardDescription,
|
|
|
|
CardHeader,
|
|
|
|
CardMeta,
|
|
|
|
CardOptions,
|
|
|
|
CardOutlet,
|
|
|
|
CardSubTitle,
|
|
|
|
CardTitle,
|
|
|
|
CardView,
|
2017-10-12 23:13:44 +03:00
|
|
|
CardInfo,
|
|
|
|
CardInfoLabel,
|
|
|
|
CardInfoIconContainer
|
2017-05-18 21:21:33 +03:00
|
|
|
} = require('./');
|
2017-10-12 23:13:44 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
const { InstancesIcon, HealthyIcon } = require('../icons');
|
|
|
|
const StatusLoader = require('../status-loader').default;
|
2017-05-18 21:21:33 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
<Card headed disabled>
|
|
|
|
<CardHeader disabled>
|
2017-05-18 21:21:33 +03:00
|
|
|
<CardMeta>
|
2017-10-09 16:35:52 +03:00
|
|
|
<CardTitle disabled>Nginx</CardTitle>
|
|
|
|
<CardDescription disabled>
|
2017-10-12 23:13:44 +03:00
|
|
|
<CardInfo>
|
|
|
|
<CardInfoIconContainer>
|
|
|
|
<InstancesIcon />
|
|
|
|
</CardInfoIconContainer>
|
|
|
|
<CardInfoLabel left>4 of 4 instances</CardInfoLabel>
|
|
|
|
</CardInfo>
|
2017-10-12 21:15:51 +03:00
|
|
|
</CardDescription>
|
2017-05-18 21:21:33 +03:00
|
|
|
</CardMeta>
|
2017-10-12 21:15:51 +03:00
|
|
|
<CardOptions disabled />
|
2017-10-09 16:35:52 +03:00
|
|
|
</CardHeader>
|
|
|
|
<CardView>
|
|
|
|
<CardDescription>
|
2017-10-12 21:15:51 +03:00
|
|
|
<StatusLoader row msg="Provisioning 3 instances" />
|
2017-10-09 16:35:52 +03:00
|
|
|
</CardDescription>
|
2017-05-18 21:21:33 +03:00
|
|
|
</CardView>
|
2017-10-12 21:15:51 +03:00
|
|
|
</Card>;
|
2017-05-18 21:21:33 +03:00
|
|
|
```
|
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
#### Card > Instance
|
|
|
|
|
|
|
|
```jsx
|
|
|
|
const {
|
|
|
|
CardDescription,
|
|
|
|
CardOutlet,
|
|
|
|
CardTitle,
|
|
|
|
CardView,
|
2017-10-12 23:13:44 +03:00
|
|
|
CardInfo,
|
|
|
|
CardInfoLabel,
|
|
|
|
CardInfoIconContainer
|
2017-10-09 16:35:52 +03:00
|
|
|
} = require('./');
|
2017-10-12 23:13:44 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
const { MetricGraph, GraphContainer, GraphTitle } = require('../metrics');
|
|
|
|
const { Row } = require('react-styled-flexboxgrid');
|
|
|
|
const metrics = require('./metrics.json');
|
|
|
|
const { InstancesIconLight, HealthyIcon } = require('../icons');
|
2017-05-18 21:21:33 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
<Card>
|
|
|
|
<CardView>
|
|
|
|
<CardDescription>
|
2017-10-12 21:15:51 +03:00
|
|
|
<b>percona_primary</b>
|
2017-10-12 23:13:44 +03:00
|
|
|
<CardInfo>
|
|
|
|
<CardInfoIconContainer>
|
|
|
|
<HealthyIcon />
|
|
|
|
</CardInfoIconContainer>
|
|
|
|
<CardInfoLabel left>Healthy</CardInfoLabel>
|
|
|
|
</CardInfo>
|
2017-10-09 16:35:52 +03:00
|
|
|
</CardDescription>
|
|
|
|
</CardView>
|
2017-10-12 21:15:51 +03:00
|
|
|
</Card>;
|
2017-05-18 21:21:33 +03:00
|
|
|
```
|
2017-10-09 16:35:52 +03:00
|
|
|
|
|
|
|
#### Card > Instance > Stacked
|
|
|
|
|
|
|
|
```jsx
|
2017-05-18 21:21:33 +03:00
|
|
|
const {
|
|
|
|
CardDescription,
|
|
|
|
CardOutlet,
|
|
|
|
CardTitle,
|
|
|
|
CardView,
|
2017-10-12 23:13:44 +03:00
|
|
|
CardInfo,
|
|
|
|
CardInfoLabel,
|
|
|
|
CardInfoIconContainer
|
2017-05-18 21:21:33 +03:00
|
|
|
} = require('./');
|
2017-10-12 23:13:44 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
const { MetricGraph, GraphContainer, GraphTitle } = require('../metrics');
|
|
|
|
const { Row } = require('react-styled-flexboxgrid');
|
|
|
|
const { InstancesIconLight, HealthyIcon } = require('../icons');
|
2017-05-18 21:21:33 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
<Card stacked>
|
|
|
|
<CardView>
|
|
|
|
<CardDescription>
|
2017-10-12 21:15:51 +03:00
|
|
|
<b>percona_primary</b>
|
|
|
|
<span>4 instances</span>
|
2017-10-12 23:13:44 +03:00
|
|
|
<CardInfo>
|
|
|
|
<CardInfoIconContainer>
|
|
|
|
<HealthyIcon />
|
|
|
|
</CardInfoIconContainer>
|
|
|
|
<CardInfoLabel left>Healthy</CardInfoLabel>
|
|
|
|
</CardInfo>
|
2017-10-09 16:35:52 +03:00
|
|
|
</CardDescription>
|
|
|
|
</CardView>
|
2017-10-12 21:15:51 +03:00
|
|
|
</Card>;
|
2017-05-18 21:21:33 +03:00
|
|
|
```
|
2017-07-27 20:44:29 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
#### Card > Instance > Group
|
|
|
|
|
|
|
|
```jsx
|
|
|
|
const {
|
|
|
|
CardDescription,
|
|
|
|
CardOutlet,
|
|
|
|
CardTitle,
|
|
|
|
CardView,
|
2017-10-12 23:13:44 +03:00
|
|
|
CardInfo,
|
|
|
|
CardInfoLabel,
|
|
|
|
CardInfoIconContainer
|
2017-10-09 16:35:52 +03:00
|
|
|
} = require('./');
|
2017-10-12 23:13:44 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
const { MetricGraph, GraphContainer, GraphTitle } = require('../metrics');
|
|
|
|
const { Row } = require('react-styled-flexboxgrid');
|
|
|
|
const { InstancesIconLight, HealthyIcon } = require('../icons');
|
2017-07-27 20:44:29 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
<div>
|
|
|
|
<Card>
|
|
|
|
<CardView>
|
|
|
|
<CardDescription>
|
2017-10-12 21:15:51 +03:00
|
|
|
<b>percona_primary</b>
|
2017-10-12 23:13:44 +03:00
|
|
|
<CardInfo>
|
|
|
|
<CardInfoIconContainer>
|
|
|
|
<HealthyIcon />
|
|
|
|
</CardInfoIconContainer>
|
|
|
|
<CardInfoLabel left>Healthy</CardInfoLabel>
|
|
|
|
</CardInfo>
|
2017-10-09 16:35:52 +03:00
|
|
|
</CardDescription>
|
|
|
|
</CardView>
|
|
|
|
</Card>
|
|
|
|
<Card>
|
|
|
|
<CardView>
|
|
|
|
<CardDescription>
|
2017-10-12 21:15:51 +03:00
|
|
|
<b>percona_primary</b>
|
2017-10-12 23:13:44 +03:00
|
|
|
<CardInfo>
|
|
|
|
<CardInfoIconContainer>
|
|
|
|
<HealthyIcon />
|
|
|
|
</CardInfoIconContainer>
|
|
|
|
<CardInfoLabel left>Healthy</CardInfoLabel>
|
|
|
|
</CardInfo>
|
2017-10-09 16:35:52 +03:00
|
|
|
</CardDescription>
|
|
|
|
</CardView>
|
|
|
|
</Card>
|
|
|
|
<Card stacked>
|
|
|
|
<CardView>
|
|
|
|
<CardDescription>
|
2017-10-12 21:15:51 +03:00
|
|
|
<b>percona_primary</b>
|
|
|
|
<span>4 instances</span>
|
2017-10-12 23:13:44 +03:00
|
|
|
<CardInfo>
|
|
|
|
<CardInfoIconContainer>
|
|
|
|
<HealthyIcon />
|
|
|
|
</CardInfoIconContainer>
|
|
|
|
<CardInfoLabel left>Healthy</CardInfoLabel>
|
|
|
|
</CardInfo>
|
2017-10-09 16:35:52 +03:00
|
|
|
</CardDescription>
|
|
|
|
</CardView>
|
|
|
|
</Card>
|
2017-10-12 21:15:51 +03:00
|
|
|
</div>;
|
2017-07-27 20:44:29 +03:00
|
|
|
```
|
2017-10-09 16:35:52 +03:00
|
|
|
|
|
|
|
#### Card > Instance > List
|
|
|
|
|
|
|
|
```jsx
|
|
|
|
const {
|
|
|
|
Card,
|
|
|
|
CardInfo,
|
2017-10-12 23:13:44 +03:00
|
|
|
CardInfoLabel,
|
|
|
|
CardInfoIconContainer,
|
2017-10-09 16:35:52 +03:00
|
|
|
CardView,
|
|
|
|
CardTitle,
|
|
|
|
CardDescription,
|
|
|
|
CardOptions
|
|
|
|
} = require('./');
|
2017-10-12 23:13:44 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
const { HealthyIcon, DataCenterIcon } = require('../icons');
|
|
|
|
|
|
|
|
<Card collapsed>
|
|
|
|
<CardView>
|
2017-10-12 21:15:51 +03:00
|
|
|
<CardTitle>WordPress_01</CardTitle>
|
|
|
|
<CardDescription>
|
2017-10-12 23:13:44 +03:00
|
|
|
<CardInfo>
|
|
|
|
<CardInfoIconContainer>
|
|
|
|
<HealthyIcon />
|
|
|
|
</CardInfoIconContainer>
|
|
|
|
<CardInfoLabel left>Healthy</CardInfoLabel>
|
|
|
|
</CardInfo>
|
2017-10-12 21:15:51 +03:00
|
|
|
</CardDescription>
|
|
|
|
<CardDescription>
|
2017-10-12 23:13:44 +03:00
|
|
|
<CardInfo>
|
|
|
|
<CardInfoIconContainer>
|
|
|
|
<HealthyIcon />
|
|
|
|
</CardInfoIconContainer>
|
|
|
|
<CardInfoLabel left>Healthy</CardInfoLabel>
|
|
|
|
</CardInfo>
|
2017-10-12 21:15:51 +03:00
|
|
|
</CardDescription>
|
|
|
|
<CardOptions />
|
2017-10-09 16:35:52 +03:00
|
|
|
</CardView>
|
2017-10-12 21:15:51 +03:00
|
|
|
</Card>;
|
2017-10-09 16:35:52 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
#### Card > Secondary
|
|
|
|
|
|
|
|
```jsx
|
2017-07-27 20:44:29 +03:00
|
|
|
const {
|
|
|
|
CardDescription,
|
|
|
|
CardHeader,
|
|
|
|
CardMeta,
|
|
|
|
CardOptions,
|
|
|
|
CardOutlet,
|
|
|
|
CardSubTitle,
|
|
|
|
CardTitle,
|
|
|
|
CardView,
|
2017-10-09 16:35:52 +03:00
|
|
|
CardGroupView,
|
|
|
|
CardFooter
|
2017-07-27 20:44:29 +03:00
|
|
|
} = require('./');
|
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
<Card transparent>
|
2017-07-27 20:44:29 +03:00
|
|
|
<CardView>
|
|
|
|
<CardMeta>
|
2017-10-09 16:35:52 +03:00
|
|
|
<CardTitle>$0.016 per hour</CardTitle>
|
|
|
|
<CardSubTitle>0.256 GB RAM</CardSubTitle>
|
|
|
|
<CardSubTitle>0.25 vCPUs</CardSubTitle>
|
|
|
|
<CardSubTitle>0.01 TB disk</CardSubTitle>
|
|
|
|
<CardSubTitle>SSD</CardSubTitle>
|
|
|
|
|
|
|
|
<CardFooter>Compute Optimise</CardFooter>
|
2017-07-27 20:44:29 +03:00
|
|
|
</CardMeta>
|
|
|
|
</CardView>
|
2017-10-12 21:15:51 +03:00
|
|
|
</Card>;
|
2017-07-27 20:44:29 +03:00
|
|
|
```
|
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
#### Card > Secondary > Active
|
2017-07-27 20:44:29 +03:00
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
```jsx
|
2017-07-27 20:44:29 +03:00
|
|
|
const {
|
|
|
|
CardDescription,
|
|
|
|
CardHeader,
|
|
|
|
CardMeta,
|
|
|
|
CardOptions,
|
|
|
|
CardOutlet,
|
|
|
|
CardSubTitle,
|
|
|
|
CardTitle,
|
|
|
|
CardView,
|
2017-10-09 16:35:52 +03:00
|
|
|
CardGroupView,
|
|
|
|
CardFooter
|
2017-07-27 20:44:29 +03:00
|
|
|
} = require('./');
|
|
|
|
|
2017-10-09 16:35:52 +03:00
|
|
|
<Card transparent selected>
|
|
|
|
<CardView>
|
2017-07-27 20:44:29 +03:00
|
|
|
<CardMeta>
|
2017-10-09 16:35:52 +03:00
|
|
|
<CardTitle selected>$0.016 per hour</CardTitle>
|
|
|
|
<CardSubTitle selected>0.256 GB RAM</CardSubTitle>
|
|
|
|
<CardSubTitle selected>0.25 vCPUs</CardSubTitle>
|
|
|
|
<CardSubTitle selected>0.01 TB disk</CardSubTitle>
|
|
|
|
<CardSubTitle selected>SSD</CardSubTitle>
|
|
|
|
|
|
|
|
<CardFooter selected>Compute Optimise</CardFooter>
|
2017-07-27 20:44:29 +03:00
|
|
|
</CardMeta>
|
2017-10-09 16:35:52 +03:00
|
|
|
</CardView>
|
2017-10-12 21:15:51 +03:00
|
|
|
</Card>;
|
|
|
|
```
|