Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tacc-frontend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Wen Wei Li
tacc-frontend
Commits
3e02a6b1
Commit
3e02a6b1
authored
May 02, 2024
by
Wen Wei Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify frontend
parent
e8c20e20
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
10 deletions
+16
-10
src/components/Criteria.vue
src/components/Criteria.vue
+4
-4
src/components/Form.vue
src/components/Form.vue
+12
-6
No files found.
src/components/Criteria.vue
View file @
3e02a6b1
<
template
>
<CContainer>
<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"
>
<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>
<div>
An example alert with an icon
Please Input the Criteria you want to check in Device Management Service
</div>
</CAlert>
<div
class=
"row"
>
...
...
@@ -48,8 +48,8 @@ export default {
},
data
()
{
return
{
forms
:
[],
allFormData
:
[]
forms
:
[
{}
],
allFormData
:
[
''
,
]
};
},
methods
:{
...
...
src/components/Form.vue
View file @
3e02a6b1
<
template
>
<CContainer
class=
""
>
<CRow
class=
"mb-5 g-3"
>
<CCol
xs
>
<CFormInput
type=
"text"
placeholder=
"Attribute"
aria-label=
"Attribute
"
<CFormSelect
class=
"ml-2"
aria-label=
"Device Health Check Criteria
"
v-model=
"attribute"
@
input=
"updateParent"
/>
</CCol>
:options=
"[
'Attributes',
{ label: 'SCA Benchmark', value: 'sca' },
{ label: 'Nework Interface', value: 'netiface' },
{ label: 'Hotfix', value: 'hotfix' },
{ label: 'Rule Level', value: 'rule_level'}
]">
</CFormSelect>
<CCol
xs
>
<CFormInput
type=
"text"
placeholder=
"Threshold"
aria-label=
"Threshold"
v-model=
"threshold"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment