SSOwat/portal/edit.html
2014-05-14 13:21:38 +02:00

61 lines
2.7 KiB
HTML

<div class="wrapper user">
<ul class="ul-reset user-menu">
<li><a class="icon icon-connexion" href="?action=logout">{{t_logout}}</a></li>
</ul>
<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="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 id="uid" type="text" name="uid" class="form-control 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-control form-text" value="{{givenName}}" placeholder="{{t_firstname}}" required>
<input type="text" name="sn" class="form-control 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>
<a class="help-link" href="#">?</a>
<input type="email" name="mail" class="form-control form-text" value="{{mail}}" placeholder="{{t_new_mail}}" required>
{{#mailalias}}
<input type="email" name="mailalias[]" class="form-control form-text" value="{{.}}">
{{/mailalias}}
<input id="mail" type="email" name="mailalias[]" class="form-control 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>
<a class="help-link" href="#">?</a>
{{#maildrop}}
<input type="email" name="maildrop[]" class="form-control form-text" value="{{.}}">
{{/maildrop}}
<input id="mailforward" type="email" name="maildrop[]" class="form-control 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 href="info.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 href="password.html" class="btn validate-btn large-btn">{{t_change_password}}</a>
</div>
</form>
</div>