File tree Expand file tree Collapse file tree
streampark-console/streampark-console-webapp/src/views/flink/project Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 </a-card >
5555 <BasicTable @register =" registerTable " >
5656 <template #bodyCell =" { column , record } " >
57+ <template v-if =" column .dataIndex === ' name' " >
58+ {{ record.name }}
59+ <a-badge
60+ class =" build-badge"
61+ v-if ="
62+ record.buildState == BuildStateEnum.NEED_REBUILD ||
63+ record.buildState == BuildStateEnum.BUILDING
64+ "
65+ count =" NEW"
66+ title =" this project has changed, need rebuild"
67+ />
68+ </template >
5769 <template v-if =" column .dataIndex === ' branches' " >
5870 <a-tag
5971 v-if =" record.refs.startsWith('refs/tags/')"
6779 </a-tag >
6880 </template >
6981 <template v-if =" column .dataIndex === ' type' " >
70- <a-badge
71- class =" build-badge"
72- v-if =" record.buildState == BuildStateEnum.NEED_REBUILD"
73- count =" NEW"
74- title =" this project has changed, need rebuild"
75- >
76- <svg-icon class =" avatar" :name =" projectMap[record.type]" :size =" 20" />
77- </a-badge >
78- <svg-icon v-else class =" avatar" :name =" projectMap[record.type]" :size =" 20" />
82+ <svg-icon class =" avatar" :name =" projectMap[record.type]" :size =" 20" />
7983 {{ projectMap[record.type].toUpperCase() }}
8084 </template >
8185 <template v-if =" column .dataIndex === ' buildState' " >
360364 .status-processing-running {
361365 animation : running- color 800ms ease-out infinite alternate ;
362366 }
367+
368+ .build-badge {
369+ float : right ;
370+ margin-right : 5px ;
371+ font-size : 12px ;
372+ transform : scale (0.7 , 0.7 );
373+
374+ .ant-badge-count {
375+ padding : 0 5px 1px ;
376+ }
377+ }
363378 </style >
You can’t perform that action at this time.
0 commit comments