Commit 2c85ceda authored by wuyongsheng's avatar wuyongsheng

Merge branch 'feat-20220705-customTemplate' into 'release'

fix: batch运行状态样式修改

See merge request sunyihao/bkunyun!90
parents 825fd8dd 96cf9fc3
...@@ -8,10 +8,18 @@ ...@@ -8,10 +8,18 @@
align-items: center; align-items: center;
} }
.selectBatchNode { .doneBatchNode {
border-left: 4px solid #0dd09b;
}
.runBatchNode {
border-left: 4px solid #1370ff; border-left: 4px solid #1370ff;
} }
.errorBatchNode {
border-left: 4px solid #ff4e4e;
}
.batchRotate { .batchRotate {
transform: translateX(-50%) rotate(-90deg); transform: translateX(-50%) rotate(-90deg);
} }
......
...@@ -61,7 +61,9 @@ const BatchNode = (props: IBatchNode) => { ...@@ -61,7 +61,9 @@ const BatchNode = (props: IBatchNode) => {
className={classNames({ className={classNames({
[styles.batchNode]: true, [styles.batchNode]: true,
[styles.selectedBatchBox]: selectedStatus, [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} style={style}
> >
......
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