2019-05-13 09:19:33 +02:00
|
|
|
{{define "title"}}LDAP Profile - Votre profil{{end}}
|
|
|
|
{{define "head_style"}}
|
|
|
|
<link rel="stylesheet" href="/css/profile.css" />
|
|
|
|
{{end}}
|
|
|
|
{{define "body"}}
|
|
|
|
<section class="is-fullheight profile">
|
|
|
|
<div class="container">
|
2019-05-22 14:24:53 +02:00
|
|
|
<div class="column is-10 is-offset-1">
|
2019-05-13 09:19:33 +02:00
|
|
|
{{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">
|
2019-05-22 14:24:53 +02:00
|
|
|
<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">
|
2019-05-13 09:19:33 +02:00
|
|
|
</div>
|
2019-05-22 14:24:53 +02:00
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<label class="label">Confirmation du nouveau mot de passe</label>
|
2019-05-13 09:19:33 +02:00
|
|
|
<div class="control">
|
2019-05-22 14:24:53 +02:00
|
|
|
<input class="input" autocomplete="new-password" name="newPasswordConfirm" type="password">
|
2019-05-13 09:19:33 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-22 14:24:53 +02:00
|
|
|
{{ .csrfField }}
|
|
|
|
<div class="has-text-right has-margin-top-small">
|
|
|
|
<button class="button is-normal is-success">Enregistrer</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
2019-05-13 09:19:33 +02:00
|
|
|
</div>
|
2019-05-22 14:24:53 +02:00
|
|
|
</div>
|
2019-05-13 09:19:33 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
{{end}}
|
|
|
|
{{template "base" .}}
|