Merge "feat: add instance info"
This commit is contained in:
commit
c5ec056cda
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
features:
|
||||
- |
|
||||
Support instance info for the openstack service monitor in the administrator:
|
||||
|
||||
* Add the instance info below the host of the openstack services.
|
|
@ -61,7 +61,10 @@ const Services = (props) => {
|
|||
)}
|
||||
</Col>
|
||||
<Col className={styles.title} span={6}>
|
||||
{it.hostname || it.host}
|
||||
<div>{it.hostname || it.host}</div>
|
||||
{it.instance && (
|
||||
<div className={styles.instance}>{it.instance}</div>
|
||||
)}
|
||||
</Col>
|
||||
<Col className={styles.status} span={6}>
|
||||
<span>{t('Current Status')}</span>
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
.title {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: rgba(0, 0, 0, 65%);
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
|
@ -26,6 +27,11 @@
|
|||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.instance {
|
||||
color: rgba(0, 0, 0, 65%);
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue