mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
parent
b6421dff85
commit
be64a54920
@ -1,18 +1,3 @@
|
||||
/* ------------------------------------------------------------------------- *
|
||||
* Copyright 2002-2022, OpenNebula Project, OpenNebula Systems *
|
||||
* *
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may *
|
||||
* not use this file except in compliance with the License. You may obtain *
|
||||
* a copy of the License at *
|
||||
* *
|
||||
* http://www.apache.org/licenses/LICENSE-2.0 *
|
||||
* *
|
||||
* Unless required by applicable law or agreed to in writing, software *
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, *
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
|
||||
* See the License for the specific language governing permissions and *
|
||||
* limitations under the License. *
|
||||
* ------------------------------------------------------------------------- */
|
||||
/* ------------------------------------------------------------------------- *
|
||||
* Copyright 2002-2022, OpenNebula Project, OpenNebula Systems *
|
||||
* *
|
||||
|
@ -87,7 +87,7 @@ const HeaderVmInfo = ({ id, type }) => {
|
||||
<OpenNebulaLogo width={38} height={38} disabledBetaText />
|
||||
)}
|
||||
</StatusBadge>
|
||||
<Typography noWrap component="span" variant="h6">
|
||||
<Typography noWrap component="span" variant="h6" data-cy="name">
|
||||
{vm?.NAME}
|
||||
</Typography>
|
||||
{serviceFlow && (
|
||||
@ -117,6 +117,7 @@ const HeaderVmInfo = ({ id, type }) => {
|
||||
component="span"
|
||||
variant="body1"
|
||||
color="text.secondary"
|
||||
data-cy="id"
|
||||
>
|
||||
{`# ${vm?.ID}`}
|
||||
</Typography>
|
||||
@ -135,7 +136,7 @@ const HeaderVmInfo = ({ id, type }) => {
|
||||
/>
|
||||
) : (
|
||||
!!ips?.length && (
|
||||
<Typography>
|
||||
<Typography data-cy="ips">
|
||||
<MultipleTags tags={ips} clipboard />
|
||||
</Typography>
|
||||
)
|
||||
|
@ -135,7 +135,9 @@ const Guacamole = () => {
|
||||
alignItems="flex-end"
|
||||
gap="1em"
|
||||
>
|
||||
<Typography color={colorStatus}>{connectionState}</Typography>
|
||||
<Typography color={colorStatus} data-cy="state">
|
||||
{connectionState}
|
||||
</Typography>
|
||||
<GuacamoleLogo />
|
||||
</Stack>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user