File tree Expand file tree Collapse file tree 1 file changed +21
-10
lines changed
src/Frontend/src/components/configuration Expand file tree Collapse file tree 1 file changed +21
-10
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,9 @@ 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+ <div :title =" queue.ingesting ? 'Ok' : 'Not ingesting'" class =" status" :class =" queue.ingesting ? 'ok-status' : 'error-status'" />
24+ <div >{{ queue.name }}</div >
2625 </div >
2726 </div >
2827 </div >
@@ -55,18 +54,30 @@ function formatDate(date: string) {
5554}
5655
5756.queues-container {
58- max-width : 100% ;
59- width : fit-content ;
6057 padding : 0.75rem ;
6158}
62- .queues-container .row {
63- display : grid ;
64- grid-template-columns : 5fr minmax (10em , 1fr );
59+ .queues-container > div {
60+ display : flex ;
61+ align-items : center ;
62+ gap : 0.5em ;
6563}
66- .queues-container .row div {
64+ .queues-container > div div {
6765 overflow-wrap : anywhere;
6866}
6967
68+ .status {
69+ width : 1em ;
70+ height : 1em ;
71+ border-radius : 0.5em ;
72+ flex-shrink : 0 ;
73+ }
74+ .error-status {
75+ background-color : var (--bs-danger );
76+ }
77+ .ok-status {
78+ background-color : var (--bs-success );
79+ }
80+
7081.logs-container {
7182 padding : 0.75rem ;
7283}
You can’t perform that action at this time.
0 commit comments