Initial commit

This commit is contained in:
2022-11-06 18:19:13 +01:00
commit 7512f2e5ee
69 changed files with 11111 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
{{define "content"}}
<p>Bonjour,</p>
<p>Vous avez demandé à réinitialiser votre mot de passe pour <b>{{.username}}</b></p>
<p>Pour créer votre nouveau mot de passe, cliquez sur le lien suivant : <a href="http://localhost:9000/auth/lost-password/recover?key={{.key}}">http://localhost:9000/auth/lost-password/recover?key={{.key}}</a></p>
{{end}}

62
emails/layout.html Normal file
View File

@@ -0,0 +1,62 @@
{{define "main"}}
<html>
<head>
<style>
@font-face {
font-family: "Bitter";
font-style: normal;
src: url("https://coopgo.fr/fonts/Bitter-Regular.woff") format("woff"); }
html {
font-family: Bitter, serif;
}
.bg-co-blue {
--tw-bg-opacity: 1;
background-color: rgb(36 56 135 / var(--tw-bg-opacity));
}
.text-center {
text-align: center;
}
.w-96 {
width: 24rem/* 384px */;
}
.p-10 {
padding: 2.5rem/* 40px */;
}
.m-10 {
margin: 2.5rem/* 40px */;
}
.max-w-3xl {
max-width: 48rem/* 768px */;
}
.max-w-4xl {
max-width: 56rem/* 896px */;
}
.m-auto {
margin: auto;
}
.text-white {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}
</style>
</head>
<body>
<div class="bg-co-blue text-center text-white p-10">
<img class="w-96" src="https://coopgo.fr/images/coopgo-logo-bluegreen.svg" alt="PARCOURSMOB" />
</div>
<div class="max-w-3xl m-auto">
{{template "content" .}}
</div>
</body>
</html>
{{end}}

View File

@@ -0,0 +1,4 @@
{{define "content"}}
<p>Vous avez été ajouté comme administrateur de l'organisation {{.group}} sur PARCOURSMOB.</p>
<p>Connectez vous sur <a href="http://localhost:9000">http://localhost:9000</a> pour y accéder</p>
{{end}}

View File

@@ -0,0 +1,4 @@
{{define "content"}}
<p>Vous avez été ajouté à l'organisation {{.group}} sur PARCOURSMOB.</p>
<p>Connectez vous sur <a href="http://localhost:9000">http://localhost:9000</a> pour y accéder</p>
{{end}}

View File

@@ -0,0 +1,5 @@
{{define "content"}}
<p>Vous avez été ajouté comme administrateur de l'organisation {{.group}} sur PARCOURSMOB.</p>
<p>Vous devez créer votre compte pour y accéder.</p>
<p>Pour créer votre compte PARCOURSMOB, cliquez sur : <a href="http://localhost:9000/auth/onboarding?key={{.key}}">http://localhost:9000/auth/onboarding?key={{.key}}</a></p>
{{end}}

View File

@@ -0,0 +1,5 @@
{{define "content"}}
<p>Vous avez été ajouté à l'organisation {{.group}} sur PARCOURSMOB.</p>
<p>Vous devez créer votre compte pour y accéder.</p>
<p>Pour créer votre compte PARCOURSMOB, cliquez sur : <a href="http://localhost:9000/auth/onboarding?key={{.key}}">http://localhost:9000/auth/onboarding?key={{.key}}</a></p>
{{end}}

View File

@@ -0,0 +1,4 @@
{{define "content"}}
<p>Vous avez reçu un commentaire sur PARCOURSMOB de la part de <b>{{.user}}</b></p>
<p>{{.key}}</p>
{{end}}