mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
59 lines
2.5 KiB
HTML
59 lines
2.5 KiB
HTML
<div class="ynh-wrapper user">
|
|
<ul class="user-menu">
|
|
<li><a id="ynh-logout" class="icon icon-connexion" href="?action=logout">{{t_logout}}</a></li>
|
|
</ul>
|
|
|
|
<a class="user-container user-container-edit" href="portal.html">
|
|
<h2 class="user-username">{{{uid}}}</h2>
|
|
<small class="user-fullname">{{givenName}} {{sn}}</small>
|
|
<span class="user-mail">{{mail}}</span>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="ynh-wrapper edit">
|
|
<form class="form-edit" role="form" method="POST" action="edit.html">
|
|
|
|
<div class="form-section">
|
|
<div class="form-group">
|
|
<label for="uid" class="control-label">{{t_username}}</label>
|
|
<input type="text" id="uid" name="uid" class="form-text" value="{{uid}}" disabled required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="givenName" class="control-label">{{t_fullname}}</label>
|
|
<input type="text" id="givenName" name="givenName" class="form-text" value="{{givenName}}" placeholder="{{t_firstname}}" required>
|
|
<input type="text" name="sn" class="form-text" value="{{sn}}" placeholder="{{t_lastname}}" required>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-section">
|
|
<div class="form-group" id="form-add-mail-alias">
|
|
<label for="mail" class="control-label">{{t_mail_addresses}}</label>
|
|
<input type="email" name="mail" class="form-text" value="{{mail}}" placeholder="{{t_new_mail}}" required>
|
|
{{#mailalias}}
|
|
<input type="email" name="mailalias[]" class="form-text" value="{{.}}">
|
|
{{/mailalias}}
|
|
<input id="mail" type="email" name="mailalias[]" class="mailalias-input form-text" placeholder="{{t_new_mail}}">
|
|
<a class="btn link-btn" id="add-mailalias">{{t_add_mail}}</a>
|
|
</div>
|
|
|
|
<div class="form-group" id="form-add-mail-drop">
|
|
<label for="mailforward" class="control-label">{{t_mail_forward}}</label>
|
|
{{#maildrop}}
|
|
<input type="email" name="maildrop[]" class="form-text" value="{{.}}">
|
|
{{/maildrop}}
|
|
<input id="mailforward" type="email" name="maildrop[]" class="maildrop-input form-text" placeholder="{{t_new_forward}}">
|
|
<a class="btn link-btn" id="add-maildrop">{{t_add_forward}}</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="btn-group">
|
|
<a role="button" href="portal.html" class="btn large-btn">{{t_cancel}}</a>
|
|
<input type="submit" class="btn classic-btn large-btn" value="{{t_ok}}">
|
|
</div>
|
|
|
|
<div class="btn-group">
|
|
<a role="button" href="password.html" class="btn validate-btn large-btn">{{t_change_password}}</a>
|
|
</div>
|
|
|
|
</form>
|
|
</div>
|