61 lines
2.4 KiB
Cheetah
61 lines
2.4 KiB
Cheetah
{{define "title"}}Votre profil - Cadoles{{end}}
|
|
{{define "head_style"}}
|
|
<link rel="stylesheet" href="/css/profile.css" />
|
|
{{end}}
|
|
{{define "body"}}
|
|
<section class="is-fullheight profile">
|
|
<div class="container">
|
|
<div class="column is-10 is-offset-1">
|
|
{{template "flash" .}}
|
|
<div class="has-text-right">
|
|
<a href="/logout" class="button is-warning">Se déconnecter</a>
|
|
</div>
|
|
<div class="has-margin-top-small">
|
|
<div class="box">
|
|
<div class="columns">
|
|
<div class="column">
|
|
<h3 class="title is-3">Informations personnelles</h3>
|
|
<div class="message is-info">
|
|
<div class="message-body">
|
|
Fonctionnalité prochainement disponible :-)
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="column">
|
|
<h3 class="title is-3">Mot de passe</h3>
|
|
<form method="POST" action="/profile/password">
|
|
<div class="field">
|
|
<label class="label">Mot de passe actuel</label>
|
|
<div class="control">
|
|
<input class="input" autocomplete="current-password" name="currentPassword" type="password">
|
|
</div>
|
|
</div>
|
|
<div class="field">
|
|
<label class="label">Nouveau mot de passe</label>
|
|
<div class="control">
|
|
<input class="input" autocomplete="new-password" name="newPassword" type="password">
|
|
</div>
|
|
</div>
|
|
<div class="field">
|
|
<label class="label">Confirmation du nouveau mot de passe</label>
|
|
<div class="control">
|
|
<input class="input" autocomplete="new-password" name="newPasswordConfirm" type="password">
|
|
</div>
|
|
</div>
|
|
{{ .csrfField }}
|
|
<div class="has-text-right has-margin-top-small">
|
|
<button class="button is-normal is-success">Enregistrer</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<p class="has-margin-top-small has-text-centered">
|
|
<strong>Une question, un problème ?</strong> <a href="mailto:{{ .Contact.Email }}?subject={{ .Contact.Subject }}">Contacter le support</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{end}}
|
|
{{template "base" .}} |