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 *
|
* Copyright 2002-2022, OpenNebula Project, OpenNebula Systems *
|
||||||
* *
|
* *
|
||||||
|
@ -87,7 +87,7 @@ const HeaderVmInfo = ({ id, type }) => {
|
|||||||
<OpenNebulaLogo width={38} height={38} disabledBetaText />
|
<OpenNebulaLogo width={38} height={38} disabledBetaText />
|
||||||
)}
|
)}
|
||||||
</StatusBadge>
|
</StatusBadge>
|
||||||
<Typography noWrap component="span" variant="h6">
|
<Typography noWrap component="span" variant="h6" data-cy="name">
|
||||||
{vm?.NAME}
|
{vm?.NAME}
|
||||||
</Typography>
|
</Typography>
|
||||||
{serviceFlow && (
|
{serviceFlow && (
|
||||||
@ -117,6 +117,7 @@ const HeaderVmInfo = ({ id, type }) => {
|
|||||||
component="span"
|
component="span"
|
||||||
variant="body1"
|
variant="body1"
|
||||||
color="text.secondary"
|
color="text.secondary"
|
||||||
|
data-cy="id"
|
||||||
>
|
>
|
||||||
{`# ${vm?.ID}`}
|
{`# ${vm?.ID}`}
|
||||||
</Typography>
|
</Typography>
|
||||||
@ -135,7 +136,7 @@ const HeaderVmInfo = ({ id, type }) => {
|
|||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
!!ips?.length && (
|
!!ips?.length && (
|
||||||
<Typography>
|
<Typography data-cy="ips">
|
||||||
<MultipleTags tags={ips} clipboard />
|
<MultipleTags tags={ips} clipboard />
|
||||||
</Typography>
|
</Typography>
|
||||||
)
|
)
|
||||||
|
@ -135,7 +135,9 @@ const Guacamole = () => {
|
|||||||
alignItems="flex-end"
|
alignItems="flex-end"
|
||||||
gap="1em"
|
gap="1em"
|
||||||
>
|
>
|
||||||
<Typography color={colorStatus}>{connectionState}</Typography>
|
<Typography color={colorStatus} data-cy="state">
|
||||||
|
{connectionState}
|
||||||
|
</Typography>
|
||||||
<GuacamoleLogo />
|
<GuacamoleLogo />
|
||||||
</Stack>
|
</Stack>
|
||||||
)}
|
)}
|
||||||
|
Loading…
Reference in New Issue
Block a user