@@ -3,9 +3,9 @@ import { useConfiguration } from "@/composables/configuration";
33import moment from " moment" ;
44
55const configuration = useConfiguration ();
6- // "Wed, Jan 15th 2025 10:56:21 +10:00",
6+
77function formatDate(date : string ) {
8- return moment (date ).local ().format (" LLLL" ); // .format("ddd, MMM Do YYYY HH:mm:ss Z");
8+ return moment (date ).local ().format (" LLLL" );
99}
1010 </script >
1111
@@ -19,10 +19,10 @@ function formatDate(date: string) {
1919 <div class =" row margin-bottom-10" >
2020 <h4 >List of error queues configured in the connector.</h4 >
2121 <div class =" queues-container" >
22- <div class =" row margin-gap hover-highlight" v-for =" queue in configuration.mass_transit_connector.error_queues" :key =" queue.name" >
23- <div :title =" queue.name " >{{ queue.name }}</ div >
24- <div class =" error-color" v-if = " ! queue.ingesting " >Not ingesting</ div >
25- <div class = " ok-color " v-else >Ok</ div >
22+ <div class =" margin-gap hover-highlight" v-for =" queue in configuration.mass_transit_connector.error_queues" :key =" queue.name" >
23+ <i v-if =" queue.ingesting " class = " fa fa-check info-color " ></ i >
24+ <i v-else class =" fa fa-times error-color" v-tippy = " `Not ingesting from this queue. Check the logs below for more information.` " ></ i >
25+ <span >{{ queue.name }}</ span >
2626 </div >
2727 </div >
2828 </div >
@@ -55,15 +55,14 @@ function formatDate(date: string) {
5555}
5656
5757.queues-container {
58- max-width : 100% ;
59- width : fit-content ;
6058 padding : 0.75rem ;
6159}
62- .queues-container .row {
63- display : grid ;
64- grid-template-columns : 5fr minmax (10em , 1fr );
60+ .queues-container > div {
61+ display : flex ;
62+ align-items : center ;
63+ gap : 0.5em ;
6564}
66- .queues-container .row div {
65+ .queues-container > div div {
6766 overflow-wrap : anywhere;
6867}
6968
@@ -93,7 +92,7 @@ function formatDate(date: string) {
9392.error-color {
9493 color : var (--bs-danger );
9594}
96- .ok -color {
95+ .info -color {
9796 color : var (--bs-success );
9897}
9998 </style >
0 commit comments