Commit 3e02a6b1 authored by Wen Wei Li's avatar Wen Wei Li

modify frontend

parent e8c20e20
<template> <template>
<CContainer> <CContainer>
<div class="container-fluid p-0"> <div class="container-fluid p-0">
<CAlert color="primary" class="d-flex align-items-center"> <CAlert color="info" class="d-flex align-items-center">
<svg class="flex-shrink-0 me-2" width="24" height="24" viewBox="0 0 512 512"> <svg class="flex-shrink-0 me-2" width="24" height="24" viewBox="0 0 512 512">
<rect width="32" height="176" x="240" y="176" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><rect width="32" height="32" x="240" y="384" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><path fill="var(--ci-primary-color, currentColor)" d="M274.014,16H237.986L16,445.174V496H496V445.174ZM464,464H48V452.959L256,50.826,464,452.959Z" class="ci-primary"></path> <rect width="32" height="176" x="240" y="176" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><rect width="32" height="32" x="240" y="384" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><path fill="var(--ci-primary-color, currentColor)" d="M274.014,16H237.986L16,445.174V496H496V445.174ZM464,464H48V452.959L256,50.826,464,452.959Z" class="ci-primary"></path>
</svg> </svg>
<div> <div>
An example alert with an icon Please Input the Criteria you want to check in Device Management Service
</div> </div>
</CAlert> </CAlert>
<div class="row"> <div class="row">
...@@ -48,8 +48,8 @@ export default { ...@@ -48,8 +48,8 @@ export default {
}, },
data() { data() {
return { return {
forms: [], forms: [{}],
allFormData: [] allFormData: ['',]
}; };
}, },
methods:{ methods:{
......
<template> <template>
<CContainer class=""> <CContainer class="">
<CRow class="mb-5 g-3"> <CRow class="mb-5 g-3">
<CCol xs> <CFormSelect class="ml-2"
<CFormInput type="text" placeholder="Attribute" aria-label="Attribute" aria-label="Device Health Check Criteria"
v-model="attribute" v-model="attribute"
@input="updateParent" @input="updateParent"
/> :options="[
</CCol> 'Attributes',
{ label: 'SCA Benchmark', value: 'sca' },
{ label: 'Nework Interface', value: 'netiface' },
{ label: 'Hotfix', value: 'hotfix' },
{ label: 'Rule Level', value: 'rule_level'}
]">
</CFormSelect>
<CCol xs> <CCol xs>
<CFormInput type="text" placeholder="Threshold" aria-label="Threshold" <CFormInput type="text" placeholder="Threshold" aria-label="Threshold"
v-model="threshold" v-model="threshold"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment