[config_tool] Real time vCPU checkbox is confusing to users

add tooltip to explain "Real-time vCPU"
use the one generated from the XSD files to generate tooltip infomation.

Signed-off-by: Chuang-Ke <chuangx.ke@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
Tracked-On: #8000
This commit is contained in:
Chuang Ke 2022-08-16 14:30:38 +08:00 committed by acrnsi-robot
parent 9f0998af3e
commit 731d2171c7
1 changed files with 15 additions and 5 deletions

View File

@ -7,7 +7,16 @@
<b-col></b-col>
<b-col></b-col>
<b-col>Virtual CPU ID</b-col>
<b-col class="ps-5">Real-time vCPU:</b-col>
<b-col class="ps-5">
<label>
<n-popover trigger="hover" placement="top-start" style="width: 500px">
<template #trigger>
<IconInfo/>
</template>
<span v-html="this.CPUAffinityConfiguration.properties.real_time_vcpu.description"> </span>
</n-popover>
Real-time vCPU:</label>
</b-col>
<b-col></b-col>
</b-row>
<b-row class="align-items-center"
@ -16,11 +25,12 @@
<label class="requiredField" v-if="index===0"></label>
<label>
<n-popover trigger="hover" placement="top-start">
<template #trigger>
<IconInfo/>
</template>
<template #trigger>
<IconInfo/>
</template>
<span v-html="this.CPUAffinityConfiguration.properties.pcpu_id.description"></span>
</n-popover>pCPU ID
</n-popover>
pCPU ID
</label>
</b-col>
<b-col>