SSOwat/portal/edit.html

60 lines
2.5 KiB
HTML
Raw Normal View History

<div class="ynh-wrapper user">
2014-11-13 18:50:40 +01:00
<ul class="user-menu">
<li><a id="ynh-logout" class="icon icon-connexion" href="?action=logout">{{t_logout}}</a></li>
</ul>
2014-05-14 13:21:38 +02:00
<a class="user-container user-container-edit" href="info.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>
2014-11-13 18:50:40 +01:00
<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>
2014-11-13 18:50:40 +01:00
<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>
2013-10-21 20:43:12 +02:00
</div>
<div class="form-section">
<div class="form-group" id="form-add-mail-alias">
<label for="mail" class="control-label">{{t_mail_addresses}}</label>
2014-11-13 18:50:40 +01:00
<input type="email" name="mail" class="form-text" value="{{mail}}" placeholder="{{t_new_mail}}" required>
{{#mailalias}}
2014-11-13 18:50:40 +01:00
<input type="email" name="mailalias[]" class="form-text" value="{{.}}">
{{/mailalias}}
2014-11-13 18:50:40 +01:00
<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>
2014-05-14 12:49:47 +02:00
<div class="form-group" id="form-add-mail-drop">
<label for="mailforward" class="control-label">{{t_mail_forward}}</label>
{{#maildrop}}
2014-11-13 18:50:40 +01:00
<input type="email" name="maildrop[]" class="form-text" value="{{.}}">
2014-05-14 12:49:47 +02:00
{{/maildrop}}
2014-11-13 18:50:40 +01:00
<input id="mailforward" type="email" name="maildrop[]" class="maildrop-input form-text" placeholder="{{t_new_forward}}">
2014-05-14 12:49:47 +02:00
<a class="btn link-btn" id="add-maildrop">{{t_add_forward}}</a>
</div>
</div>
2014-05-14 12:49:47 +02:00
<div class="btn-group">
<a role="button" href="info.html" class="btn large-btn">{{t_cancel}}</a>
2014-05-14 12:49:47 +02:00
<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>
2014-05-14 12:49:47 +02:00
</div>
</form>
</div>