From a237470d599c122c2ca3e14f433bdfda849a9f0e Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Tue, 4 Feb 2025 10:24:50 +0100
Subject: [PATCH] add user message datacenter outage

---
 frontend/components/Main.vue | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/frontend/components/Main.vue b/frontend/components/Main.vue
index 7664303..08a360b 100644
--- a/frontend/components/Main.vue
+++ b/frontend/components/Main.vue
@@ -42,6 +42,11 @@ function onScroll() {
             <v-col cols="auto">
               <v-card flat color="transparent" :min-width="computedMinWidth"
                 :max-width="props.fluid ? undefined : maxWidth">
+                <v-alert v-if="runtimeConfig.public.displayMessage" class="my-5" type="warning" variant="tonal" border="start" prominent>
+                  Following an electric maintenance in the datacenter, our web application is currently experiencing technical difficulties and may not be functioning as expected.
+
+Our technical team is working diligently to resolve the issue as soon as possible. We apologize for any inconvenience this may cause and appreciate your patience and understanding.
+                </v-alert>
                 <slot />
               </v-card>
             </v-col>
@@ -49,7 +54,7 @@ function onScroll() {
         </v-container>
       </v-main>
       <Footer>
-      </Footer>
+      </Footer> 
     </VApp>
   </v-card>
 </template>
-- 
GitLab