Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bkunyun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sunyihao
bkunyun
Commits
96cf9fc3
Commit
96cf9fc3
authored
Jul 07, 2022
by
吴永生#A02208
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: batch运行状态样式修改
parent
a73aec2e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
24 deletions
+34
-24
index.module.css
src/views/Project/components/Flow/index.module.css
+31
-23
index.tsx
src/views/Project/components/Flow/index.tsx
+3
-1
No files found.
src/views/Project/components/Flow/index.module.css
View file @
96cf9fc3
.batchNode
{
background-color
:
#fff
;
border-radius
:
4px
;
/* padding: 12px 20px; */
border
:
1px
solid
#e6e8eb
;
border-left
:
4px
solid
#e6e8eb
;
display
:
flex
;
align-items
:
center
;
background-color
:
#fff
;
border-radius
:
4px
;
/* padding: 12px 20px; */
border
:
1px
solid
#e6e8eb
;
border-left
:
4px
solid
#e6e8eb
;
display
:
flex
;
align-items
:
center
;
}
.selectBatchNode
{
border-left
:
4px
solid
#1370ff
;
.doneBatchNode
{
border-left
:
4px
solid
#0dd09b
;
}
.runBatchNode
{
border-left
:
4px
solid
#1370ff
;
}
.errorBatchNode
{
border-left
:
4px
solid
#ff4e4e
;
}
.batchRotate
{
transform
:
translateX
(
-50%
)
rotate
(
-90deg
);
transform
:
translateX
(
-50%
)
rotate
(
-90deg
);
}
.flowNode
{
background-color
:
#f5f6f7
;
border-radius
:
2px
;
padding
:
6px
12px
;
background-color
:
#f5f6f7
;
border-radius
:
2px
;
padding
:
6px
12px
;
}
.successDot
{
display
:
inline-block
;
line-height
:
22px
;
vertical-align
:
middle
;
width
:
8px
;
height
:
8px
;
background-color
:
#0dd09b
;
border-radius
:
8px
;
margin-left
:
8px
;
display
:
inline-block
;
line-height
:
22px
;
vertical-align
:
middle
;
width
:
8px
;
height
:
8px
;
background-color
:
#0dd09b
;
border-radius
:
8px
;
margin-left
:
8px
;
}
.selectedBatchBox
{
border
:
1px
solid
#1370ff
;
border-left
:
4px
solid
#1370ff
;
border
:
1px
solid
#1370ff
;
border-left
:
4px
solid
#1370ff
;
}
src/views/Project/components/Flow/index.tsx
View file @
96cf9fc3
...
...
@@ -61,7 +61,9 @@ const BatchNode = (props: IBatchNode) => {
className=
{
classNames
({
[
styles
.
batchNode
]:
true
,
[
styles
.
selectedBatchBox
]:
selectedStatus
,
[
styles
.
selectBatchNode
]:
data
.
executionStatus
===
"Done"
,
[
styles
.
runBatchNode
]:
data
.
executionStatus
===
"Running"
,
[
styles
.
doneBatchNode
]:
data
.
executionStatus
===
"Done"
,
[
styles
.
errorBatchNode
]:
data
.
executionStatus
===
"Failed"
,
})
}
style=
{
style
}
>
...
...
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