Initial commit
This commit is contained in:
9
cmd/server/template/layouts/consent.html.tmpl
Normal file
9
cmd/server/template/layouts/consent.html.tmpl
Normal file
@ -0,0 +1,9 @@
|
||||
{{define "title"}}Consent{{end}}
|
||||
{{define "body"}}
|
||||
<section class="home is-fullheight section">
|
||||
<div class="container">
|
||||
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
{{template "base" .}}
|
20
cmd/server/template/layouts/email_sent.html.tmpl
Normal file
20
cmd/server/template/layouts/email_sent.html.tmpl
Normal file
@ -0,0 +1,20 @@
|
||||
{{define "title"}}Connexion{{end}}
|
||||
{{define "body"}}
|
||||
<section class="hero is-fullheight">
|
||||
<div class="hero-body">
|
||||
<div class="container">
|
||||
<div class="columns">
|
||||
<div class="column is-4 is-offset-4">
|
||||
<div class="message is-success">
|
||||
<div class="message-body">
|
||||
<p class="title is-size-4">Un message a été envoyé à votre adresse courriel.</p>
|
||||
<p>Celui ci contient un lien qui vous permettra de vous connecter à l'application.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
{{template "base" .}}
|
11
cmd/server/template/layouts/home.html.tmpl
Normal file
11
cmd/server/template/layouts/home.html.tmpl
Normal file
@ -0,0 +1,11 @@
|
||||
{{define "title"}}Accueil{{end}}
|
||||
{{define "body"}}
|
||||
<section class="home is-fullheight section">
|
||||
<div class="container">
|
||||
{{template "header" .}}
|
||||
<h1>Bienvenue !</h1>
|
||||
{{template "footer" .}}
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
{{template "base" .}}
|
33
cmd/server/template/layouts/login.html.tmpl
Normal file
33
cmd/server/template/layouts/login.html.tmpl
Normal file
@ -0,0 +1,33 @@
|
||||
{{define "title"}}Connexion{{end}}
|
||||
{{define "body"}}
|
||||
<section class="hero is-fullheight">
|
||||
<div class="hero-body">
|
||||
<div class="container has-text-centered">
|
||||
<div class="columns">
|
||||
<div class="column is-4 is-offset-4">
|
||||
<p class="has-text-black title">
|
||||
Connexion
|
||||
</p>
|
||||
<p class="has-text-black subtitle">
|
||||
Veuillez entrer votre adresse courriel.
|
||||
</p>
|
||||
<div class="box">
|
||||
<form action="/login" method="POST">
|
||||
<div class="field">
|
||||
<div class="control">
|
||||
<input class="input is-large" type="email"
|
||||
id="email"
|
||||
name="email" placeholder="john.doe@email.com" />
|
||||
</div>
|
||||
</div>
|
||||
{{ .csrfField }}
|
||||
<button type="submit" class="button is-link is-medium is-block is-fullwidth">Envoyer</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{end}}
|
||||
{{template "base" .}}
|
Reference in New Issue
Block a user