-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve(Import fichiers): Ajout d'une modale pour informer l'utilisat…
…eur sur la validation de son import et qu'il lui reste à le télédéclarer (#4860)
- Loading branch information
1 parent
03f9920
commit 9648800
Showing
4 changed files
with
124 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<template> | ||
<v-dialog v-model="showDialog" max-width="600"> | ||
<v-card> | ||
<div class="pa-4 d-flex align-center" style="background-color: #F5F5F5"> | ||
<v-spacer></v-spacer> | ||
<v-btn color="primary" outlined @click="showDialog = false"> | ||
Fermer | ||
</v-btn> | ||
</div> | ||
<div class="pa-6"> | ||
<v-card-title class="mb-6"> | ||
<img src="/static/images/picto-dsfr/success.svg" width="50px" /> | ||
<h1 class="fr-h5 mb-0 ml-2"> | ||
Le fichier a été importé avec succès | ||
</h1> | ||
</v-card-title> | ||
<v-card-text class="text-left"> | ||
<v-row class="mb-4 ml-0 mr-0"> | ||
<p class="font-weight-bold">{{ description }}</p> | ||
<p> | ||
Depuis votre tableau de bord, vous devez télédéclarer vos données, lorsque la campagne de télédéclaration | ||
est ouverte. | ||
</p> | ||
</v-row> | ||
<v-row> | ||
<v-spacer></v-spacer> | ||
<router-link :to="{ name: 'ManagementPage' }"> | ||
<v-btn color="primary" class="px-4"> | ||
Aller sur mon tableau de bord | ||
</v-btn> | ||
</router-link> | ||
</v-row> | ||
</v-card-text> | ||
</div> | ||
</v-card> | ||
</v-dialog> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "ImporterSuccessDialog", | ||
props: { | ||
description: String, | ||
isOpen: Boolean, | ||
}, | ||
data() { | ||
return { | ||
showDialog: this.isOpen, | ||
} | ||
}, | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.