-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from datalab-mi/feature/info-error
Feature/info error
- Loading branch information
Showing
9 changed files
with
175 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 |
---|---|---|
|
@@ -30,4 +30,5 @@ | |
#nav a.router-link-exact-active { | ||
color: #42b983; | ||
} | ||
</style> |
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
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
This file was deleted.
Oops, something went wrong.
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,36 @@ | ||
<template> | ||
<div> | ||
<HeaderMain /> | ||
<div class="text-center m-4"> | ||
<h1>Erreur</h1> | ||
<p>Une erreur est survenue dans le traitement de votre requête.</p> | ||
<p>Veuillez réessayer ou <a href="/informations"> nous contacter</a>.</p> | ||
<DsfrButton | ||
:label="labelButton" | ||
@click="homeRedirect" | ||
/> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
// @ is an alias to /src | ||
import HeaderMain from '@/components/HeaderMain.vue'; | ||
export default { | ||
name: 'ErrorPage', | ||
components: { | ||
HeaderMain | ||
}, | ||
data() { | ||
return { | ||
labelButton: "Retour" | ||
} | ||
}, | ||
methods: { | ||
homeRedirect() { | ||
window.location.replace("/") | ||
} | ||
} | ||
} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<template> | ||
<div> | ||
<HeaderMain /> | ||
<div class="content"> | ||
<div class="d-flex align-items-center"> | ||
<a href="/" class="small-link small-text"> Accueil</a> | ||
<span class="fr-fi-arrow-right-s-line" aria-hidden="true"></span> | ||
<p class="small-text">Informations</p> | ||
</div> | ||
<h3 class="title-space">Cadre et limitations</h3> | ||
<p>Basegun est un projet d'application par apprentissage automatique capable d'identifier et de classifier | ||
de manière fiable et rapide une arme à feu.</p> | ||
<p>Le projet a été initié en 2021 et est en cours de développement par le Data Lab du Ministère de l'Intérieur.</p> | ||
<p>A ce jour, Basegun permet de prendre en photo une arme à feu et d'obtenir un | ||
résultat parmi 10 typologies possibles. Ce résultat donne une indication sur la ou les catégories légales | ||
à laquelle l'arme appartient.</p> | ||
<p class="fr-callout"><span class="fr-fi-alert-fill" aria-hidden="true"></span> Basegun ne prend pas encore en compte l'identification des armes non létales (factices, | ||
à air comprimé, à blanc ou neutralisées).</p> | ||
<h3 class="title-space">Equipe et contacts</h3> | ||
<p>Deux personnes travaillent actuellement à temps plein sur ce projet: | ||
<ul class="contact-list"> | ||
<li>Sarah Gross, data scientist ([email protected])</li> | ||
<li>Beryl Koller, développeuse web ([email protected])</li> | ||
</ul> | ||
</p> | ||
<h3 class="title-space">Code source</h3> | ||
<p>Le code source du projet est disponible publiquement à l'adresse <a href="https://github.com/datalab-mi/Basegun" target="blank">https://github.com/datalab-mi/Basegun</a></p> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
// @ is an alias to /src | ||
import HeaderMain from '@/components/HeaderMain.vue'; | ||
export default { | ||
name: 'InformationsPage', | ||
components: { | ||
HeaderMain | ||
} | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
.content { | ||
margin: min(5vw, 10rem); | ||
} | ||
.title-space { | ||
margin-top: 20px; | ||
} | ||
.contact-list { | ||
margin-left: 2rem; | ||
} | ||
.small-text { | ||
font-size: 10pt; | ||
margin-bottom: 0; | ||
} | ||
.small-link { | ||
color: #000091; | ||
} | ||
.small-link:hover { | ||
color: #1212ff | ||
} | ||
</style> |
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,35 @@ | ||
<template> | ||
<div> | ||
<HeaderMain /> | ||
<div class="text-center m-4"> | ||
<h1>Page non trouvée</h1> | ||
<p>Vous avez saisi ou suivi un lien vers une page qui n'existe pas.</p> | ||
<DsfrButton | ||
:label="labelButton" | ||
@click="homeRedirect" | ||
/> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
// @ is an alias to /src | ||
import HeaderMain from '@/components/HeaderMain.vue'; | ||
export default { | ||
name: 'PageNotFound', | ||
components: { | ||
HeaderMain | ||
}, | ||
data() { | ||
return { | ||
labelButton: "Retour" | ||
} | ||
}, | ||
methods: { | ||
homeRedirect() { | ||
window.location.replace("/") | ||
} | ||
} | ||
} | ||
</script> |