@@ -225,6 +225,20 @@ export default {
225225 OK : " ok-status"
226226 }[type] || " " ;
227227 },
228+ getTableTd (type ) {
229+ return {
230+ Verify: " verify-td" ,
231+ Problem: " problem-td" ,
232+ OK : " ok-td"
233+ }[type] || " " ;
234+ },
235+ getTable1Td (type ) {
236+ return {
237+ Verify: " verify-1td" ,
238+ Problem: " problem-1td" ,
239+ OK : " ok-1td"
240+ }[type] || " " ;
241+ },
228242 goBack () {
229243 this .closeModal ();
230244 this .$router .push (" /" );
@@ -323,6 +337,28 @@ export default {
323337 </tr >
324338 </thead >
325339 <transition-group name =" fade" tag =" tbody" >
340+
341+ <!-- New UI Design -->
342+ <!-- <tr v-for="(item) in transactionsList" :key="item.id">-->
343+ <!-- <td :class="[getTable1Td(item.response_type)]">-->
344+ <!-- {{ item.id }}-->
345+ <!-- </td>-->
346+ <!-- <td :class="[getTableTd(item.response_type)]">-->
347+ <!-- {{ item.assetId }}-->
348+ <!-- </td>-->
349+ <!-- <td :class="[getTableTd(item.response_type)]">-->
350+ <!-- {{ item.message }}-->
351+ <!-- </td>-->
352+ <!-- <td :class="[getTableTd(item.response_type)]">-->
353+ <!-- <button v-if="item.response_type === 'Verify'" class="btn btn-secondary"-->
354+ <!-- style="min-width: 66px;" @click="forceAsset(item)">-->
355+ <!-- <span v-if="item.isForcing" class="spinner-border spinner-border-sm"></span>-->
356+ <!-- <span v-else>Force</span>-->
357+ <!-- </button>-->
358+ <!-- </td>-->
359+ <!-- </tr>-->
360+
361+
326362 <tr v-for =" (item, index) in transactionsList" :key =" item.id" >
327363 <td :style =" { backgroundColor: index === 0 ? 'rgba(07, 59, 76, 0.05)' : 'transparent' }" >
328364 {{ item.id }}
@@ -534,4 +570,26 @@ thead {
534570 background-color : #075976 ;
535571 color : #fff ;
536572}
573+
574+ .verify-1td {
575+ background : rgba (255 , 193 , 7 , 0.2 );
576+ border-left : 2px solid rgba (255 , 193 , 7 , 1 );
577+ }
578+ .problem-1td {
579+ background : rgba (220 , 53 , 69 , 0.2 );
580+ border-left : 2px solid rgba (220 , 53 , 69 , 1 );
581+ }
582+ .ok-1td {
583+ background : rgba (25 , 135 , 84 , 0.2 );
584+ border-left : 2px solid rgba (25 , 135 , 84 , 1 );
585+ }
586+ .verify-td {
587+ background : rgba (255 , 193 , 7 , 0.2 );
588+ }
589+ .problem-td {
590+ background : rgba (220 , 53 , 69 , 0.2 );
591+ }
592+ .ok-td {
593+ background : rgba (25 , 135 , 84 , 0.2 );
594+ }
537595 </style >
0 commit comments