Merge "feat: add instance info"

This commit is contained in:
Zuul 2024-05-09 07:28:16 +00:00 committed by Gerrit Code Review
commit c5ec056cda
3 changed files with 16 additions and 1 deletions

View File

@ -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.

View File

@ -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>

View File

@ -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;
}
}
}